Blame SPECS/libconfig.spec

671937
Name:                   libconfig
671937
Summary:                C/C++ configuration file library
671937
Version:                1.4.9
671937
Release:                5%{?dist}
671937
License:                LGPLv2+
671937
Group:                  System Environment/Libraries
671937
Source0:                http://www.hyperrealm.com/libconfig/libconfig-%{version}.tar.gz
671937
URL:                    http://www.hyperrealm.com/libconfig/
671937
BuildRequires:          texinfo-tex
671937
BuildRequires:		bison, flex
671937
671937
%description
671937
Libconfig is a simple library for manipulating structured configuration
671937
files. This file format is more compact and more readable than XML. And
671937
unlike XML, it is type-aware, so it is not necessary to do string parsing
671937
in application code.
671937
671937
%package devel
671937
Summary:                Development files for libconfig
671937
Group:                  Development/Libraries
671937
Requires:               %{name} = %{version}-%{release}
671937
Requires:               pkgconfig
671937
Requires(post):         /sbin/install-info
671937
Requires(preun):        /sbin/install-info
671937
671937
%description devel
671937
Development libraries and headers for developing software against
671937
libconfig.
671937
671937
%prep
671937
%setup -q
671937
iconv -f iso-8859-1 -t utf-8 -o AUTHORS{.utf8,}
671937
mv AUTHORS{.utf8,}
671937
671937
%build
671937
%configure --disable-static
671937
make %{?_smp_mflags}
671937
make pdf
671937
671937
%install
671937
make DESTDIR=$RPM_BUILD_ROOT install install-pdf
671937
rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
671937
rm -rf $RPM_BUILD_ROOT%{_infodir}/dir
671937
# Prevent multilib conflicts
671937
sed -i '/^\/CreationDate/d' $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/libconfig.pdf
671937
sed -i '/^\/ModDate/d' $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/libconfig.pdf
671937
sed -i '/^\/ID /d' $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/libconfig.pdf
671937
671937
%check
671937
./tests/libconfig_tests
671937
671937
%post -p /sbin/ldconfig
671937
671937
%post devel
671937
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
671937
671937
%postun -p /sbin/ldconfig
671937
671937
%preun devel
671937
if [ $1 = 0 ]; then
671937
   /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
671937
fi
671937
671937
%files
671937
%defattr(-,root,root,-)
671937
%doc AUTHORS ChangeLog COPYING.LIB README
671937
%{_libdir}/libconfig*.so.*
671937
671937
671937
%files devel
671937
%defattr(-,root,root,-)
671937
%{_includedir}/libconfig*
671937
%{_libdir}/libconfig*.so
671937
%{_libdir}/pkgconfig/libconfig*.pc
671937
%{_defaultdocdir}/%{name}/
671937
%{_infodir}/libconfig.info*
671937
671937
%changelog
671937
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.4.9-5
671937
- Mass rebuild 2014-01-24
671937
671937
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.4.9-4
671937
- Mass rebuild 2013-12-27
671937
671937
* Fri Jun 21 2013 Pavel Raiskup <praiskup@redhat.com> - 1.4.9-3
671937
- enable simple upstream test-suite during check phase
671937
671937
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.9-2
671937
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
671937
671937
* Mon Oct  1 2012 Tom Callaway <spot@fedoraproject.org> - 1.4.9-1
671937
- update to 1.4.9
671937
671937
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.8-3
671937
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
671937
671937
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.8-2
671937
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
671937
671937
* Fri Aug 12 2011 Tom Callaway <spot@fedoraproject.org> - 1.4.8-1
671937
- update to 1.4.8
671937
671937
* Wed Mar 23 2011 Tom Callaway <spot@fedoraproject.org> - 1.4.7-1
671937
- update to 1.4.7
671937
671937
* Tue Mar  1 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.4.6-1
671937
- Update to 1.4.6
671937
- Install libconfig_tests
671937
- Fix rpmlint warnings
671937
671937
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.5-2
671937
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
671937
671937
* Wed May  5 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 1.4.5-1
671937
- update to 1.4.5
671937
671937
* Wed Aug 19 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.3.2-1
671937
- update to 1.3.2
671937
671937
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-4
671937
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
671937
671937
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-3
671937
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
671937
671937
* Wed Dec 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.3.1-2
671937
- prevent multilib conflicts with the generated pdf
671937
671937
* Fri Sep 12 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.3.1-1
671937
- update to 1.3.1
671937
671937
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.2.1-2
671937
- Autorebuild for GCC 4.3
671937
671937
* Tue Feb 19 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.2.1-1
671937
- bump to 1.2.1
671937
671937
* Fri Nov 30 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.2-4
671937
- nuke %%{_infodir}/dir, we handle it in %%post
671937
671937
* Fri Nov 30 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.2-3
671937
- move all docs to devel
671937
- move scriptlets around to match
671937
- move requires around to match
671937
671937
* Fri Nov 30 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.2-2
671937
- BR: texinfo-tex (not Requires)
671937
671937
* Fri Nov 30 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.2-1
671937
- Initial package for Fedora