- update to 1.5

This commit is contained in:
Nalin Dahyabhai 2007-07-19 14:27:32 +00:00
parent 5761a8ad4a
commit 6c66cae938
6 changed files with 12 additions and 130 deletions

View File

@ -1 +1,3 @@
libgpg-error-1.4.tar.bz2 libgpg-error-1.4.tar.bz2
libgpg-error-1.5.tar.bz2
libgpg-error-1.5.tar.bz2.sig

View File

@ -1,11 +0,0 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: gpg-error
Description: gpg-error Library
Version: @PACKAGE_VERSION@
Cflags: -I${includedir}
Libs: -L${libdir} -lgpg-error

View File

@ -1,108 +0,0 @@
--- libgpg-error-1.3/configure.pkgconfig 2006-05-15 16:12:47.000000000 +0200
+++ libgpg-error-1.3/configure 2006-05-15 16:14:53.000000000 +0200
@@ -27143,7 +27143,7 @@
GPG_ERROR_CONFIG_CFLAGS=""
- ac_config_files="$ac_config_files src/gpg-error-config"
+ ac_config_files="$ac_config_files src/gpg-error-config gpg-error.pc"
@@ -27774,6 +27774,7 @@
"src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
"tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
"src/versioninfo.rc" ) CONFIG_FILES="$CONFIG_FILES src/versioninfo.rc" ;;
+ "gpg-error.pc" ) CONFIG_FILES="$CONFIG_FILES gpg-error.pc" ;;
"depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
"default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
"config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
--- libgpg-error-1.3/configure.ac.pkgconfig 2006-05-15 16:11:41.000000000 +0200
+++ libgpg-error-1.3/configure.ac 2006-05-15 16:12:40.000000000 +0200
@@ -145,4 +145,4 @@
AC_CONFIG_FILES([src/Makefile tests/Makefile])
AC_CONFIG_FILES([src/versioninfo.rc])
-AC_OUTPUT
+AC_OUTPUT([gpg-error.pc])
--- libgpg-error-1.3_save/Makefile.am.pkgconfig 2006-05-15 15:57:00.000000000 +0200
+++ libgpg-error-1.3_save/Makefile.am 2006-05-15 15:58:23.000000000 +0200
@@ -21,8 +21,10 @@
ACLOCAL_AMFLAGS = -I m4
AUTOMAKE_OPTIONS = dist-bzip2
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = gpg-error.pc
-EXTRA_DIST = autogen.sh config.rpath libgpg-error.spec.in
+EXTRA_DIST = autogen.sh config.rpath libgpg-error.spec.in gpg-error.pc.in
dist-hook:
sed -e 's/@pkg_version@/$(VERSION)/g' \
--- libgpg-error-1.3_save/Makefile.in.pkgconfig 2006-05-15 15:56:15.000000000 +0200
+++ libgpg-error-1.3_save/Makefile.in 2006-05-15 16:02:31.000000000 +0200
@@ -59,7 +59,7 @@
$(top_srcdir)/configure $(top_srcdir)/intl/Makefile.in \
ABOUT-NLS AUTHORS COPYING COPYING.LIB ChangeLog INSTALL NEWS \
THANKS compile config.guess config.rpath config.sub depcomp \
- install-sh ltmain.sh missing mkinstalldirs
+ install-sh ltmain.sh missing mkinstalldirs gpg-error.pc.in
subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/codeset.m4 \
@@ -84,7 +84,7 @@
configure.lineno configure.status.lineno
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = config.h
-CONFIG_CLEAN_FILES = intl/Makefile
+CONFIG_CLEAN_FILES = intl/Makefile gpg-error.pc
SOURCES =
DIST_SOURCES =
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
@@ -254,9 +254,11 @@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
SUBDIRS = intl m4 src tests po
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = gpg-error.pc
ACLOCAL_AMFLAGS = -I m4
AUTOMAKE_OPTIONS = dist-bzip2
-EXTRA_DIST = autogen.sh config.rpath libgpg-error.spec.in
+EXTRA_DIST = autogen.sh config.rpath libgpg-error.spec.in gpg-error.pc.in
all: config.h
$(MAKE) $(AM_MAKEFLAGS) all-recursive
@@ -314,6 +316,9 @@
intl/Makefile: $(top_builddir)/config.status $(top_srcdir)/intl/Makefile.in
cd $(top_builddir) && $(SHELL) ./config.status $@
+gpg-error.pc: $(top_builddir)/config.status $(srcdir)/gpg-error.pc.in
+ cd $(top_builddir) && $(SHELL) ./config.status $@
+
mostlyclean-libtool:
-rm -f *.lo
--- libgpg-error-1.3_save/src/gpg-error-config.in.pkgconfig 2006-05-15 16:05:47.000000000 +0200
+++ libgpg-error-1.3_save/src/gpg-error-config.in 2006-05-15 16:06:58.000000000 +0200
@@ -62,10 +62,7 @@
fi
;;
--libs)
- if test "x$libdir" != "x/usr/lib" -a "x$libdir" != "x/lib"; then
- output="$output -L$libdir"
- fi
- output="$output -lgpg-error"
+ output=`/usr/bin/pkg-config gpg-error --libs`
;;
*)
usage 1 1>&2
--- libgpg-error-1.3/src/gpg-error-config.in.pkgconfig 2006-05-15 16:26:05.000000000 +0200
+++ libgpg-error-1.3/src/gpg-error-config.in 2006-05-15 16:26:18.000000000 +0200
@@ -13,7 +13,6 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
includedir=@includedir@
-libdir=@libdir@
output=""

Binary file not shown.

View File

@ -1,16 +1,14 @@
Summary: libgpg-error Summary: libgpg-error
Name: libgpg-error Name: libgpg-error
Version: 1.4 Version: 1.5
Release: 2 Release: 1
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
Source1: ftp://ftp.gnupg.org/gcrypt/libgpg-error/%{name}-%{version}.tar.bz2.sig Source1: ftp://ftp.gnupg.org/gcrypt/libgpg-error/%{name}-%{version}.tar.bz2.sig
Source2: wk@g10code.com Source2: wk@g10code.com
Source3: gpg-error.pc.in
Patch0: libgpg-error-1.3-pkgconfig.patch
Group: System Environment/Libraries Group: System Environment/Libraries
License: LGPL License: LGPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Prereq: /sbin/ldconfig Prereq: /sbin/ldconfig
%description %description
@ -31,19 +29,17 @@ contains files necessary to develop applications using libgpg-error.
%prep %prep
%setup -q %setup -q
#%patch0 -p1 -b .pkgconfig # 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.
sed -i -e 's|^libdir=@libdir@$|libdir=@exec_prefix@/lib|g' src/gpg-error-config.in sed -i -e 's|^libdir=@libdir@$|libdir=@exec_prefix@/lib|g' src/gpg-error-config.in
%build %build
#cp -f %{SOURCE3} .
%configure %configure
make make
%install %install
rm -fr $RPM_BUILD_ROOT rm -fr $RPM_BUILD_ROOT
%makeinstall %makeinstall
#mkdir -p $RPM_BUILD_ROOT/%{_libdir}/pkgconfig
#cp -f gpg-error.pc $RPM_BUILD_ROOT/%{_libdir}/pkgconfig/gpg-error.pc
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
rm -rf $RPM_BUILD_ROOT/%{_datadir}/common-lisp rm -rf $RPM_BUILD_ROOT/%{_datadir}/common-lisp
@ -67,11 +63,13 @@ rm -fr $RPM_BUILD_ROOT
%{_bindir}/gpg-error-config %{_bindir}/gpg-error-config
%{_libdir}/libgpg-error.so %{_libdir}/libgpg-error.so
%{_libdir}/libgpg-error.a %{_libdir}/libgpg-error.a
#%{_libdir}/pkgconfig/gpg-error.pc
%{_includedir}/gpg-error.h %{_includedir}/gpg-error.h
%{_datadir}/aclocal/gpg-error.m4 %{_datadir}/aclocal/gpg-error.m4
%changelog %changelog
* Thu Jul 19 2007 Nalin Dahyabhai <nalin@redhat.com> - 1.5-1
- update to 1.5
* Sun Oct 01 2006 Jesse Keating <jkeating@redhat.com> - 1.4-2 * Sun Oct 01 2006 Jesse Keating <jkeating@redhat.com> - 1.4-2
- rebuilt for unwind info generation, broken in gcc-4.1.1-21 - rebuilt for unwind info generation, broken in gcc-4.1.1-21

View File

@ -1 +1,2 @@
2ea1e25b7a6f9365c969403af4a6dbc5 libgpg-error-1.4.tar.bz2 8599b96c911b1df1be24a6ff4ec3c364 libgpg-error-1.5.tar.bz2
3d3705f110458fc37bee01de75f497da libgpg-error-1.5.tar.bz2.sig