libdotconf/libdotconf.spec

80 lines
2.0 KiB
RPMSpec

Name: libdotconf
Version: 1.4.1
Release: 1mamba
Summary: A configuration file parser library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/williamh/dotconf
Source: https://github.com/williamh/dotconf.git/v%{version}/dotconf-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
%description
Dotconf is a library used to handle configuration files.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
Dotconf is a library used to handle configuration files.
This package contains static libraries and header files needed for development.
%debug_package
%prep
%setup -q -n dotconf-%{version}
autoreconf -f -i
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libdotconf.so.*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%{_includedir}/dotconf.h
%{_libdir}/libdotconf.a
%{_libdir}/libdotconf.so
%{_libdir}/pkgconfig/dotconf.pc
%dir %{_datadir}/doc/dotconf
%{_datadir}/doc/dotconf/*.txt
%dir %{_datadir}/doc/dotconf/examples
%{_datadir}/doc/dotconf/examples/*
%doc README
%changelog
* Fri Jun 28 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.1-1mamba
- update to 1.4.1
* Sat Jul 14 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3-1mamba
- update to 1.3
* Tue Feb 22 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.13-3mamba
- added m4 file patch
* Mon Jan 25 2010 Davide Madrisan <davide.madrisan@gmail.com> 1.0.13-2mamba
- do not own %{_includedir}
* Tue Sep 22 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.13-1mamba
- package created by autospec