new upstream release

This commit is contained in:
Tomas Mraz 2015-01-29 16:46:27 +01:00
parent dd46788e35
commit 42d72f8db9
3 changed files with 25 additions and 3 deletions

2
.gitignore vendored
View File

@ -10,3 +10,5 @@ libgpg-error-1.9.tar.bz2.sig
/libgpg-error-1.13.tar.bz2.sig /libgpg-error-1.13.tar.bz2.sig
/libgpg-error-1.16.tar.bz2 /libgpg-error-1.16.tar.bz2
/libgpg-error-1.16.tar.bz2.sig /libgpg-error-1.16.tar.bz2.sig
/libgpg-error-1.17.tar.bz2
/libgpg-error-1.17.tar.bz2.sig

View File

@ -1,6 +1,6 @@
Summary: Library for error values used by GnuPG components Summary: Library for error values used by GnuPG components
Name: libgpg-error Name: libgpg-error
Version: 1.16 Version: 1.17
Release: 1%{?dist} Release: 1%{?dist}
URL: ftp://ftp.gnupg.org/gcrypt/libgpg-error/ URL: ftp://ftp.gnupg.org/gcrypt/libgpg-error/
Source0: ftp://ftp.gnupg.org/gcrypt/libgpg-error/%{name}-%{version}.tar.bz2 Source0: ftp://ftp.gnupg.org/gcrypt/libgpg-error/%{name}-%{version}.tar.bz2
@ -10,6 +10,7 @@ License: LGPLv2+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gawk, gettext, autoconf, automake, gettext-devel, libtool BuildRequires: gawk, gettext, autoconf, automake, gettext-devel, libtool
BuildRequires: texinfo
%if 0%{?fedora} > 13 %if 0%{?fedora} > 13
BuildRequires: gettext-autopoint BuildRequires: gettext-autopoint
%endif %endif
@ -25,6 +26,8 @@ pinentry, SmartCard Daemon and possibly more in the future.
Summary: Development files for the %{name} package Summary: Development files for the %{name} package
Group: Development/Libraries Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Requires(pre): /sbin/install-info
Requires(post): /sbin/install-info
%description devel %description devel
This is a library that defines common error values for all GnuPG This is a library that defines common error values for all GnuPG
@ -49,6 +52,7 @@ make %{?_smp_mflags}
rm -fr $RPM_BUILD_ROOT rm -fr $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
%find_lang %{name} %find_lang %{name}
@ -62,6 +66,17 @@ rm -fr $RPM_BUILD_ROOT
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%post devel
[ -f %{_infodir}/gpgrt.info.gz ] && \
/sbin/install-info %{_infodir}/gpgrt.info.gz %{_infodir}/dir
exit 0
%preun devel
if [ $1 = 0 -a -f %{_infodir}/gpgrt.info.gz ]; then
/sbin/install-info --delete %{_infodir}/gpgrt.info.gz %{_infodir}/dir
fi
exit 0
%files -f %{name}.lang %files -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
%{!?_licensedir:%global license %%doc} %{!?_licensedir:%global license %%doc}
@ -76,8 +91,13 @@ rm -fr $RPM_BUILD_ROOT
%{_libdir}/libgpg-error.so %{_libdir}/libgpg-error.so
%{_includedir}/gpg-error.h %{_includedir}/gpg-error.h
%{_datadir}/aclocal/gpg-error.m4 %{_datadir}/aclocal/gpg-error.m4
%{_infodir}/gpgrt.info*
%{_mandir}/man1/gpg-error-config.*
%changelog %changelog
* Thu Jan 29 2015 Tomáš Mráz <tmraz@redhat.com> 1.17-1
- new upstream release
* Fri Sep 19 2014 Tomáš Mráz <tmraz@redhat.com> 1.16-1 * Fri Sep 19 2014 Tomáš Mráz <tmraz@redhat.com> 1.16-1
- new upstream release - new upstream release
- move from /lib to /usr/lib - move from /lib to /usr/lib

View File

@ -1,2 +1,2 @@
ec7f82d92329a535a89b06142e625f8c libgpg-error-1.16.tar.bz2 b4f8d8b9ff14aed41f279aa844563539 libgpg-error-1.17.tar.bz2
172bdc9055b1b08aa15a5cf51f4bcdd2 libgpg-error-1.16.tar.bz2.sig c73dc327cca7d993d268fd13680bce6b libgpg-error-1.17.tar.bz2.sig