Update to 1.4.6
- Install libconfig_tests - Fix rpmlint warnings
This commit is contained in:
parent
7f57d785a0
commit
cc8752fa72
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
libconfig-1.4.5.tar.gz
|
||||
/libconfig-1.4.6.tar.gz
|
||||
|
@ -1,30 +1,30 @@
|
||||
Name: libconfig
|
||||
Summary: C/C++ configuration file library
|
||||
Version: 1.4.5
|
||||
Release: 2%{?dist}
|
||||
License: LGPLv2+
|
||||
Group: System Environment/Libraries
|
||||
Source0: http://www.hyperrealm.com/libconfig/libconfig-%{version}.tar.gz
|
||||
URL: http://www.hyperrealm.com/libconfig/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: texinfo-tex
|
||||
Name: libconfig
|
||||
Summary: C/C++ configuration file library
|
||||
Version: 1.4.6
|
||||
Release: 1%{?dist}
|
||||
License: LGPLv2+
|
||||
Group: System Environment/Libraries
|
||||
Source0: http://www.hyperrealm.com/libconfig/libconfig-%{version}.tar.gz
|
||||
URL: http://www.hyperrealm.com/libconfig/
|
||||
BuildRequires: texinfo-tex
|
||||
BuildRequires: chrpath
|
||||
|
||||
%description
|
||||
Libconfig is a simple library for manipulating structured configuration
|
||||
files. This file format is more compact and more readable than XML. And
|
||||
unlike XML, it is type-aware, so it is not necessary to do string parsing
|
||||
Libconfig is a simple library for manipulating structured configuration
|
||||
files. This file format is more compact and more readable than XML. And
|
||||
unlike XML, it is type-aware, so it is not necessary to do string parsing
|
||||
in application code.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for libconfig
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
Requires(post): /sbin/install-info
|
||||
Requires(preun): /sbin/install-info
|
||||
Summary: Development files for libconfig
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
Requires(post): /sbin/install-info
|
||||
Requires(preun): /sbin/install-info
|
||||
|
||||
%description devel
|
||||
Development libraries and headers for developing software against
|
||||
Development libraries and headers for developing software against
|
||||
libconfig.
|
||||
|
||||
%prep
|
||||
@ -38,7 +38,6 @@ make %{?_smp_mflags}
|
||||
make pdf
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make DESTDIR=$RPM_BUILD_ROOT install install-pdf
|
||||
rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
rm -rf $RPM_BUILD_ROOT%{_infodir}/dir
|
||||
@ -47,8 +46,8 @@ sed -i '/^\/CreationDate/d' $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/libconfig.p
|
||||
sed -i '/^\/ModDate/d' $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/libconfig.pdf
|
||||
sed -i '/^\/ID /d' $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/libconfig.pdf
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
# --disable-rpath doesn't work
|
||||
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/%{name}_tests
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
@ -59,7 +58,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%preun devel
|
||||
if [ $1 = 0 ]; then
|
||||
/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
|
||||
/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
|
||||
fi
|
||||
|
||||
%files
|
||||
@ -67,8 +66,10 @@ fi
|
||||
%doc AUTHORS ChangeLog COPYING.LIB README
|
||||
%{_libdir}/libconfig*.so.*
|
||||
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_bindir}/libconfig_tests
|
||||
%{_includedir}/libconfig*
|
||||
%{_libdir}/libconfig*.so
|
||||
%{_libdir}/pkgconfig/libconfig*.pc
|
||||
@ -76,6 +77,11 @@ fi
|
||||
%{_infodir}/libconfig.info*
|
||||
|
||||
%changelog
|
||||
* Tue Mar 1 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.4.6-1
|
||||
- Update to 1.4.6
|
||||
- Install libconfig_tests
|
||||
- Fix rpmlint warnings
|
||||
|
||||
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.5-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user