Name: dotconf Summary: Libraries to parse configuration files Version: 1.3 Release: 1%{?_dist_release} Group: System Environment/Libraries License: LGPLv2 URL: https://github.com/williamh/dotconf Source: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Dotconf is a library used to handle configuration files. %package devel Summary: Development files for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %package docs Summary: Documentation for %{name} Summary(ja): %{name} 用のドキュメント Group: Documentation BuildArch: noarch %description docs This package contains documentation for %{name}. %prep %setup -q %build autoreconf -if %configure --disable-static make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" iconv -f iso-8859-2 -t utf-8 -o iconv.tmp AUTHORS mv iconv.tmp AUTHORS iconv -f iso-8859-2 -t utf-8 -o iconv.tmp doc/dotconf-features.txt mv iconv.tmp doc/dotconf-features.txt find $RPM_BUILD_ROOT -type f -name "*.a" -o -name "*.la" | xargs rm -f %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc README AUTHORS COPYING ChangeLog %{_libdir}/libdotconf*.so.* %files devel %defattr(-,root,root,-) %{_libdir}/libdotconf*.so %{_includedir}/dotconf.h %{_libdir}/pkgconfig/dotconf.pc %files docs %defattr(-,root,root,-) %{_docdir}/%{name} %changelog * Sun Dec 07 2014 Yoji TOYODA - 1.3-1 - update to 1.3 - remove old patches * Sun Sep 26 2010 Ryoichi INAGAKI - 1.0.13-11 - rebuilt with rpm-4.8.1 for pkg-config * Sun Mar 14 2010 Ryoichi INAGAKI - 1.0.13-10 - initial build for Vine Linux * Fri Jul 24 2009 Fedora Release Engineering - 1.0.13-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Tue Feb 24 2009 Fedora Release Engineering - 1.0.13-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Jul 03 2008 Mamoru Tasaka - 1.0.13-7 - Override config.{sub,guess} explicitly due to redhat-rpm-build-config behavior change on F-10+, otherwise build fails on ppc64 * Sun Mar 09 2008 Assim Deodia 1.0.13-6 - fixed m4-underquote error * Fri Feb 29 2008 Assim Deodia 1.0.13-5 - fixed AUTHORS utf-8 - fixed doc/dotconf-features.txt utf-8 * Sat Feb 23 2008 Assim Deodia 1.0.13-4 - Applied patch macro * Sat Feb 23 2008 Assim Deodia 1.0.13-3 - Resolved Multilib issue * Fri Feb 22 2008 Assim Deodia 1.0.13-2 - Inclusion of pkgconfig - Removal of INSTALL file - Proper placement of Library files - Creating devel sub-package - Chaning source URL * Sun Feb 17 2008 Assim Deodia 1.0.13-1 - Initial Commit