!1 add init package and spec
Merge pull request !1 from compile_success/master
This commit is contained in:
commit
c359d9e5ac
BIN
20180701.tar.gz
Normal file
BIN
20180701.tar.gz
Normal file
Binary file not shown.
58
libuninameslist.spec
Normal file
58
libuninameslist.spec
Normal file
@ -0,0 +1,58 @@
|
||||
Name: libuninameslist
|
||||
Version: 20180701
|
||||
Release: 3
|
||||
Summary: Unicode character names and annotations library
|
||||
License: BSD
|
||||
URL: https://github.com/fontforge/libuninameslist
|
||||
Source0: https://github.com/fontforge/libuninameslist/archive/%{version}.tar.gz
|
||||
BuildRequires: autoconf automake libtool
|
||||
|
||||
%description
|
||||
libuninameslist is a Library of Unicode names and annotation data
|
||||
from the official Unicode Character Database.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for libuninameslist
|
||||
Requires: libuninameslist = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
The package is development files contain static libraries and head files for libuninameslist.
|
||||
|
||||
%package help
|
||||
Summary: Documentation for libuninameslist package
|
||||
|
||||
%description help
|
||||
Documentation for libuninameslist package.
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
autoreconf -i
|
||||
automake --foreign -Wall
|
||||
%configure --disable-static
|
||||
%make_build V=1
|
||||
|
||||
|
||||
%install
|
||||
%make_install incdir=$RPM_BUILD_ROOT%{_includedir}
|
||||
%delete_la
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%{_libdir}/*.so.*
|
||||
|
||||
%files devel
|
||||
%{_libdir}/*.so
|
||||
%{_includedir}/*
|
||||
%{_libdir}/pkgconfig/libuninameslist.pc
|
||||
|
||||
%files help
|
||||
%{_mandir}/man3/libuninameslist.3.gz
|
||||
%doc ChangeLog README.md
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Dec 12 2019 zhujunhao <zhujunhao5@huawei.com> - 20180701-3
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user