82 lines
2.2 KiB
RPMSpec
82 lines
2.2 KiB
RPMSpec
|
Name: libdotconf
|
||
|
Version: 1.3
|
||
|
Release: 1mamba
|
||
|
Summary: A configuration file parser library
|
||
|
Group: System/Libraries
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: http://www.azzit.de/dotconf
|
||
|
# Current (1.3) source generated from git:
|
||
|
# git clone git://github.com/williamh/dotconf.git
|
||
|
# cd dotconf && libtoolize && autoconf && automake && make dist
|
||
|
Source: http://www.azzit.de/dotconf/download/v1.0/dotconf-%{version}.tar.gz
|
||
|
Patch0: %{name}-1.0.13-m4.patch
|
||
|
License: LGPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: pkg-config
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%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 need for development.
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n dotconf-%{version}
|
||
|
#%patch0 -p1
|
||
|
|
||
|
%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.la
|
||
|
%{_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
|
||
|
* 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
|