uriparser: Package init
This commit is contained in:
parent
d6796d6e34
commit
4d1e5abcd6
36
README.en.md
36
README.en.md
@ -1,36 +0,0 @@
|
|||||||
# uriparser
|
|
||||||
|
|
||||||
#### Description
|
|
||||||
URI parsing library - RFC 3986.
|
|
||||||
|
|
||||||
#### Software Architecture
|
|
||||||
Software architecture description
|
|
||||||
|
|
||||||
#### Installation
|
|
||||||
|
|
||||||
1. xxxx
|
|
||||||
2. xxxx
|
|
||||||
3. xxxx
|
|
||||||
|
|
||||||
#### Instructions
|
|
||||||
|
|
||||||
1. xxxx
|
|
||||||
2. xxxx
|
|
||||||
3. xxxx
|
|
||||||
|
|
||||||
#### Contribution
|
|
||||||
|
|
||||||
1. Fork the repository
|
|
||||||
2. Create Feat_xxx branch
|
|
||||||
3. Commit your code
|
|
||||||
4. Create Pull Request
|
|
||||||
|
|
||||||
|
|
||||||
#### Gitee Feature
|
|
||||||
|
|
||||||
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
|
|
||||||
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
|
|
||||||
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
|
|
||||||
4. The most valuable open source project [GVP](https://gitee.com/gvp)
|
|
||||||
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
|
|
||||||
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
|
||||||
37
README.md
37
README.md
@ -1,37 +0,0 @@
|
|||||||
# uriparser
|
|
||||||
|
|
||||||
#### 介绍
|
|
||||||
URI parsing library - RFC 3986.
|
|
||||||
|
|
||||||
#### 软件架构
|
|
||||||
软件架构说明
|
|
||||||
|
|
||||||
|
|
||||||
#### 安装教程
|
|
||||||
|
|
||||||
1. xxxx
|
|
||||||
2. xxxx
|
|
||||||
3. xxxx
|
|
||||||
|
|
||||||
#### 使用说明
|
|
||||||
|
|
||||||
1. xxxx
|
|
||||||
2. xxxx
|
|
||||||
3. xxxx
|
|
||||||
|
|
||||||
#### 参与贡献
|
|
||||||
|
|
||||||
1. Fork 本仓库
|
|
||||||
2. 新建 Feat_xxx 分支
|
|
||||||
3. 提交代码
|
|
||||||
4. 新建 Pull Request
|
|
||||||
|
|
||||||
|
|
||||||
#### 码云特技
|
|
||||||
|
|
||||||
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
|
|
||||||
2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com)
|
|
||||||
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目
|
|
||||||
4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
|
|
||||||
5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
|
|
||||||
6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
|
||||||
BIN
uriparser-0.9.3.tar.bz2
Normal file
BIN
uriparser-0.9.3.tar.bz2
Normal file
Binary file not shown.
63
uriparser.spec
Normal file
63
uriparser.spec
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
Name: uriparser
|
||||||
|
Version: 0.9.3
|
||||||
|
Release: 2
|
||||||
|
Summary: A strictly RFC 3986 compliant URI parsing and handling library written in C89
|
||||||
|
License: BSD
|
||||||
|
URL: https://uriparser.github.io/
|
||||||
|
Source0: https://github.com/uriparser/uriparser/releases/download/uriparser-%{version}/uriparser-%{version}.tar.bz2
|
||||||
|
BuildRequires: cmake doxygen gcc-c++ graphviz gtest-devel make
|
||||||
|
|
||||||
|
%description
|
||||||
|
The package is a strictly RFC 3986 compliant URI parsing library written in C89("ANSI C").
|
||||||
|
uriparser is cross-platform, fast, supports Unicode and is licensed under the New BSD license.
|
||||||
|
There are a number of applications, libraries and hardware using uriparser, as well as bindings
|
||||||
|
and 3rd-party wrappers. uriparser is packaged in major distributions.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Files for uriparser development
|
||||||
|
Requires: uriparser = %{version}-%{release}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
The package contains libraries and header files for developing applications that use uriparser.
|
||||||
|
|
||||||
|
%package help
|
||||||
|
Summary: Documentation for uriparser
|
||||||
|
Provides: uriparser-doc = %{version}-%{release}
|
||||||
|
Obsoletes: uriparser-doc < %{version}-%{release}
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description help
|
||||||
|
The package contains HTML documentation files for uriparser.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup
|
||||||
|
sed -i 's/GENERATE_QHP\ =\ yes/GENERATE_QHP\ =\ no/g' doc/Doxyfile.in
|
||||||
|
|
||||||
|
%build
|
||||||
|
%cmake
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
|
||||||
|
%check
|
||||||
|
LD_LIBRARY_PATH=".libs" make check
|
||||||
|
|
||||||
|
%post -p /sbin/ldconfig
|
||||||
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc THANKS AUTHORS ChangeLog COPYING
|
||||||
|
%{_bindir}/uriparse
|
||||||
|
%{_libdir}/{liburiparser.so.1*,cmake/uriparser-%{version}/}
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%{_includedir}/uriparser/
|
||||||
|
%{_libdir}/{liburiparser.so,pkgconfig/liburiparser.pc}
|
||||||
|
|
||||||
|
%files help
|
||||||
|
%doc %{_docdir}/uriparser/html
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Mar 5 2020 Ling Yang <lingyang2@huawei.com> - 0.9.3-2
|
||||||
|
- Package Init
|
||||||
Loading…
x
Reference in New Issue
Block a user