commit
2e83ac842a
BIN
dotconf-1.3.tar.gz
Normal file
BIN
dotconf-1.3.tar.gz
Normal file
Binary file not shown.
67
dotconf.spec
Normal file
67
dotconf.spec
Normal file
@ -0,0 +1,67 @@
|
|||||||
|
Name: dotconf
|
||||||
|
Version: 1.3
|
||||||
|
Release: 22
|
||||||
|
Summary: A configuration file parser
|
||||||
|
License: LGPLv2
|
||||||
|
URL: https://github.com/williamh/dotconf
|
||||||
|
#soure address: https://github.com/williamh/dotconf/archive/v1.3.tar.gz
|
||||||
|
Source: %{name}-%{version}.tar.gz
|
||||||
|
BuildRequires: findutils glibc-common make autoconf automake libtool
|
||||||
|
|
||||||
|
%description
|
||||||
|
The dotconf package contains a library used to handle configuration
|
||||||
|
files.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development files for dotconf
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Requires: pkgconf-pkg-config
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
The dotconf-devel package contains libraries and header files for
|
||||||
|
developing applications that use dotconf.
|
||||||
|
|
||||||
|
%package help
|
||||||
|
Summary: Documents for dotconf
|
||||||
|
|
||||||
|
%description help
|
||||||
|
The dotconf-help package contains related documents.
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n %{name}-%{version} -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
autoreconf -fiv
|
||||||
|
%configure --disable-static
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
|
||||||
|
%delete_la
|
||||||
|
|
||||||
|
mv %{buildroot}/%{_docdir}/%{name} __doc_dir
|
||||||
|
|
||||||
|
%post
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
|
%postun
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc AUTHORS COPYING
|
||||||
|
%{_libdir}/libdotconf*.so.*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%{_libdir}/libdotconf*.so
|
||||||
|
%{_includedir}/dotconf.h
|
||||||
|
%{_libdir}/pkgconfig/dotconf.pc
|
||||||
|
|
||||||
|
%files help
|
||||||
|
%doc README
|
||||||
|
%doc __doc_dir/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Feb 14 2020 Tianfei <tianfei16@huawei.com> - 1.3-22
|
||||||
|
- Package init
|
||||||
Loading…
x
Reference in New Issue
Block a user