2007-12-07 15:43:04 +00:00
|
|
|
Summary: Library for error values used by GnuPG components
|
2004-09-09 07:31:23 +00:00
|
|
|
Name: libgpg-error
|
2011-07-15 12:42:11 +00:00
|
|
|
Version: 1.10
|
|
|
|
Release: 1%{?dist}
|
2005-03-02 06:36:42 +00:00
|
|
|
URL: ftp://ftp.gnupg.org/gcrypt/libgpg-error/
|
2006-05-03 00:59:56 +00:00
|
|
|
Source0: ftp://ftp.gnupg.org/gcrypt/libgpg-error/%{name}-%{version}.tar.bz2
|
|
|
|
Source1: ftp://ftp.gnupg.org/gcrypt/libgpg-error/%{name}-%{version}.tar.bz2.sig
|
2004-09-09 07:31:23 +00:00
|
|
|
Group: System Environment/Libraries
|
2007-08-16 15:25:28 +00:00
|
|
|
License: LGPLv2+
|
2007-07-19 14:27:32 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2010-08-10 19:18:33 +00:00
|
|
|
|
2010-02-25 19:40:18 +00:00
|
|
|
BuildRequires: gawk, gettext, autoconf, automake, gettext-devel, libtool
|
2010-08-10 19:18:33 +00:00
|
|
|
%if 0%{?fedora} > 13
|
|
|
|
BuildRequires: gettext-autopoint
|
|
|
|
%endif
|
2007-12-07 15:48:52 +00:00
|
|
|
Requires(post): /sbin/ldconfig
|
|
|
|
Requires(postun): /sbin/ldconfig
|
2004-09-09 07:31:23 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
This is a library that defines common error values for all GnuPG
|
|
|
|
components. Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt,
|
|
|
|
pinentry, SmartCard Daemon and possibly more in the future.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for the %{name} package
|
|
|
|
Group: Development/Libraries
|
2010-08-10 19:08:37 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2004-09-09 07:31:23 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This is a library that defines common error values for all GnuPG
|
|
|
|
components. Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt,
|
|
|
|
pinentry, SmartCard Daemon and possibly more in the future. This package
|
|
|
|
contains files necessary to develop applications using libgpg-error.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2007-07-19 14:27:32 +00:00
|
|
|
# The config script already suppresses the -L if it's /usr/lib, so cheat and
|
|
|
|
# set it to a value which we know will be suppressed.
|
2006-06-05 17:54:01 +00:00
|
|
|
sed -i -e 's|^libdir=@libdir@$|libdir=@exec_prefix@/lib|g' src/gpg-error-config.in
|
2010-02-25 18:47:29 +00:00
|
|
|
# Recode the changelog into UTF-8 to meet packaging guidelines.
|
2010-02-25 19:27:02 +00:00
|
|
|
iconv -f UTF-8 -t UTF-8 ChangeLog > /dev/null || \
|
2010-02-25 18:47:29 +00:00
|
|
|
( mv ChangeLog ChangeLog.iso-8859-15 && \
|
|
|
|
iconv -f ISO-8859-15 -t UTF-8 ChangeLog.iso-8859-15 > ChangeLog &&
|
|
|
|
touch -r ChangeLog.iso-8859-15 ChangeLog )
|
2010-02-25 19:27:02 +00:00
|
|
|
# We need a version of libtool that won't decide to add an rpath of /usr/lib64
|
|
|
|
# even when we ask it not to.
|
2010-08-10 19:08:37 +00:00
|
|
|
autoreconf -f -i
|
2004-09-09 07:31:23 +00:00
|
|
|
|
|
|
|
%build
|
2010-02-25 19:27:02 +00:00
|
|
|
%configure --disable-static --disable-rpath --disable-languages
|
|
|
|
make %{?_smp_mflags}
|
2004-09-09 07:31:23 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -fr $RPM_BUILD_ROOT
|
2007-12-07 15:43:04 +00:00
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
2004-09-09 07:31:23 +00:00
|
|
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
|
|
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
2007-07-27 13:54:45 +00:00
|
|
|
# Relocate the shared libraries to /%{_lib}.
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_lib}
|
|
|
|
for shlib in $RPM_BUILD_ROOT/%{_libdir}/*.so* ; do
|
|
|
|
if test -L "$shlib" ; then
|
|
|
|
rm "$shlib"
|
|
|
|
else
|
|
|
|
mv "$shlib" $RPM_BUILD_ROOT/%{_lib}/
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
# Figure out where /%{_lib} is relative to %{_libdir}.
|
|
|
|
touch $RPM_BUILD_ROOT/root_marker
|
|
|
|
relroot=..
|
|
|
|
while ! test -f $RPM_BUILD_ROOT/%{_libdir}/$relroot/root_marker ; do
|
|
|
|
relroot=$relroot/..
|
|
|
|
done
|
|
|
|
# Overwrite development symlinks.
|
|
|
|
pushd $RPM_BUILD_ROOT/%{_libdir}
|
|
|
|
for shlib in $relroot/%{_lib}/lib*.so.* ; do
|
|
|
|
shlib=`echo "$shlib" | sed -e 's,//,/,g'`
|
|
|
|
target=`basename "$shlib" | sed -e 's,\.so.*,,g'`.so
|
|
|
|
ln -sf $shlib $target
|
|
|
|
done
|
|
|
|
popd
|
2007-10-15 17:54:58 +00:00
|
|
|
# Add the soname symlink.
|
|
|
|
/sbin/ldconfig -n $RPM_BUILD_ROOT/%{_lib}/
|
2007-07-27 13:54:45 +00:00
|
|
|
rm -f $RPM_BUILD_ROOT/root_marker
|
|
|
|
|
2007-12-07 15:43:04 +00:00
|
|
|
%check
|
|
|
|
make check
|
|
|
|
|
2004-09-09 07:31:23 +00:00
|
|
|
%clean
|
|
|
|
rm -fr $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root)
|
2007-12-07 15:48:52 +00:00
|
|
|
%doc COPYING COPYING.LIB AUTHORS README NEWS ChangeLog
|
2004-09-09 07:31:23 +00:00
|
|
|
%{_bindir}/gpg-error
|
2010-08-10 19:08:37 +00:00
|
|
|
/%{_lib}/libgpg-error.so.0*
|
2004-09-09 07:31:23 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/gpg-error-config
|
|
|
|
%{_libdir}/libgpg-error.so
|
|
|
|
%{_includedir}/gpg-error.h
|
|
|
|
%{_datadir}/aclocal/gpg-error.m4
|
|
|
|
|
|
|
|
%changelog
|
2011-07-15 12:42:11 +00:00
|
|
|
* Fri Jul 15 2011 Tomáš Mráz <tmraz@redhat.com> 1.10-1
|
|
|
|
- new upstream release
|
|
|
|
|
2011-02-08 06:17:22 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-08-10 19:08:37 +00:00
|
|
|
* Fri Jul 23 2010 Rex Dieter <rdieter@fedoraproject.org> 1.9-1
|
|
|
|
- libgpg-error-1.9
|
|
|
|
|
2010-02-25 19:27:02 +00:00
|
|
|
* Thu Feb 25 2010 Nalin Dahyabhai <nalin@redhat.com> - 1.7-3
|
|
|
|
- turn off common lisp bindings the right way
|
|
|
|
- drop finger output
|
|
|
|
- recode the changelog into UTF-8 if it isn't UTF-8 (rpmlint)
|
|
|
|
|
2010-01-11 21:50:23 +00:00
|
|
|
* Mon Jan 11 2010 Nalin Dahyabhai <nalin@redhat.com> - 1.7-2
|
|
|
|
- fix use of macro in changelog (rpmlint)
|
|
|
|
- build with --disable-rpath (rpmlint)
|
|
|
|
- build with %%{?_smp_mflags}
|
|
|
|
|
2009-10-15 14:27:10 +00:00
|
|
|
* Thu Oct 15 2009 Nalin Dahyabhai <nalin@redhat.com> - 1.7-1
|
|
|
|
- long-overdue update to 1.7
|
2009-10-15 14:47:11 +00:00
|
|
|
- add a disttag
|
2009-10-15 14:27:10 +00:00
|
|
|
|
2009-07-25 05:48:54 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-25 15:24:58 +00:00
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-02-19 15:53:52 +00:00
|
|
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.6-2
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2007-12-07 15:48:52 +00:00
|
|
|
* Fri Dec 7 2007 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
- remove the generic install docs (#226021)
|
|
|
|
|
2007-12-07 15:43:04 +00:00
|
|
|
* Fri Dec 7 2007 Nalin Dahyabhai <nalin@redhat.com> - 1.6-1
|
|
|
|
- update to 1.6
|
|
|
|
- add suggested summary, buildrequires, and modify install call as suggested
|
|
|
|
by package review (#226021)
|
|
|
|
|
2007-10-15 17:54:58 +00:00
|
|
|
* Mon Oct 15 2007 Nalin Dahyabhai <nalin@redhat.com> - 1.5-6
|
|
|
|
- use ldconfig to make the soname symlink so that it gets packaged (#331241)
|
|
|
|
|
2007-08-22 20:29:08 +00:00
|
|
|
* Wed Aug 22 2007 Nalin Dahyabhai <nalin@redhat.com> - 1.5-5
|
|
|
|
- add missing gawk buildrequirement
|
|
|
|
|
2007-08-16 15:25:28 +00:00
|
|
|
* Thu Aug 16 2007 Nalin Dahyabhai <nalin@redhat.com> - 1.5-4
|
|
|
|
- clarify license
|
|
|
|
|
2007-07-30 13:40:36 +00:00
|
|
|
* Mon Jul 30 2007 Nalin Dahyabhai <nalin@redhat.com> - 1.5-3
|
|
|
|
- disable static libraries (part of #249815)
|
|
|
|
|
2007-07-27 13:54:45 +00:00
|
|
|
* Fri Jul 27 2007 Nalin Dahyabhai <nalin@redhat.com> - 1.5-2
|
2010-01-11 21:50:23 +00:00
|
|
|
- move libgpg-error shared library to /%%{_lib} (#249816)
|
2007-07-27 13:54:45 +00:00
|
|
|
|
2007-07-19 14:27:32 +00:00
|
|
|
* Thu Jul 19 2007 Nalin Dahyabhai <nalin@redhat.com> - 1.5-1
|
|
|
|
- update to 1.5
|
|
|
|
|
2006-10-01 20:19:52 +00:00
|
|
|
* Sun Oct 01 2006 Jesse Keating <jkeating@redhat.com> - 1.4-2
|
|
|
|
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
|
|
|
|
|
2006-09-18 17:34:23 +00:00
|
|
|
* Mon Sep 18 2006 Bill Nottngham <notting@redhat.com> - 1.4-1
|
|
|
|
- update to 1.4
|
|
|
|
- don't ship lisp bindings
|
|
|
|
|
2006-07-12 06:52:41 +00:00
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.3-3.1
|
|
|
|
- rebuild
|
|
|
|
|
2006-06-05 17:54:01 +00:00
|
|
|
* Mon Jun 5 2006 Nalin Dahyabhai <nalin@redhat.com> 1.3-3
|
|
|
|
- give gpg-error-config libdir=@exec_prefix@/lib instead of @libdir@, so that
|
|
|
|
it agrees on 32- and 64-bit arches (it suppresses the -L argument if @libdir@
|
|
|
|
is /usr/lib, so this should be cleaner than adding a non-standard .pc file
|
|
|
|
which upstream developers might inadvertently think they can depend to be on
|
|
|
|
every system which provides this library)
|
|
|
|
|
2006-05-15 15:34:47 +00:00
|
|
|
* Mon May 15 2006 Karsten Hopp <karsten@redhat.de> 1.3-2
|
|
|
|
- switch to pkgconfig so that gpg-error-config can be the same on
|
|
|
|
32bit and 64bit archs
|
|
|
|
|
2006-05-03 00:59:56 +00:00
|
|
|
* Tue May 2 2006 Nalin Dahyabhai <nalin@redhat.com> - 1.3-1
|
|
|
|
- update to version 1.3
|
|
|
|
|
2006-02-11 04:03:33 +00:00
|
|
|
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.1-1.2.1
|
|
|
|
- bump again for double-long bug on ppc(64)
|
|
|
|
|
2006-02-07 12:39:04 +00:00
|
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.1-1.2
|
|
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
|
|
2005-12-09 22:41:36 +00:00
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2005-11-30 11:29:57 +00:00
|
|
|
* Wed Nov 30 2005 Karsten Hopp <karsten@redhat.de> 1.1-1
|
|
|
|
- update
|
|
|
|
|
2005-03-02 06:36:42 +00:00
|
|
|
* Wed Mar 2 2005 Bill Nottingham <notting@redhat.com> - 1.0-2
|
|
|
|
- we can rebuild it. we have the technology.
|
|
|
|
|
2004-09-09 07:31:45 +00:00
|
|
|
* Tue Aug 31 2004 Bill Nottingham <notting@redhat.com> - 1.0-1
|
|
|
|
- update to 1.0
|
|
|
|
|
2004-09-09 07:31:31 +00:00
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 07:31:45 +00:00
|
|
|
* Fri Apr 16 2004 Bill Nottingham <notting@redhat.com> - 0.7-1
|
2005-11-30 11:29:57 +00:00
|
|
|
- adapt upstream specfile
|