updating nettle to 1.15-4 in devel

This commit is contained in:
Ian Weller 2008-03-24 17:52:02 +00:00
parent 0047bb96d9
commit 11d1707de9

View File

@ -1,6 +1,6 @@
Name: nettle
Version: 1.15
Release: 3%{?dist}
Release: 4%{?dist}
Summary: A low-level cryptographic library
Group: Development/Libraries
@ -49,6 +49,7 @@ make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
make install-shared DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
/usr/bin/iconv -f iso8859-1 -t utf-8 README > README.conv && /bin/mv -f README.conv README
/usr/bin/iconv -f iso8859-1 -t utf-8 ChangeLog > ChangeLog.conv && /bin/mv -f ChangeLog.conv ChangeLog
/usr/bin/iconv -f iso8859-1 -t utf-8 nettle.info > nettle.info.conv && /bin/mv -f nettle.info.conv nettle.info
@ -70,24 +71,34 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/nettle-lfib-stream
%{_bindir}/pkcs1-conv
%{_bindir}/sexp-conv
%{_libdir}/libnettle.so.2
%{_libdir}/libnettle.so.2.6
%files devel
%defattr(-,root,root,-)
%doc descore.README nettle.html nettle.pdf
%{_includedir}/nettle
%{_libdir}/libnettle.a
%{_libdir}/libnettle.so
%post
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
/sbin/ldconfig
%preun
if [ $1 = 0 ]; then
/sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir || :
fi
%postun -p /sbin/ldconfig
%changelog
* Mon Mar 24 2008 Ian Weller <ianweller@gmail.com> 1.15-4
- Added libraries and ldconfig
* Mon Feb 18 2008 Ian Weller <ianweller@gmail.com> 1.15-3
- Added provides -static to -devel