forked from pool/libgpg-error
This commit is contained in:
parent
32d401a72b
commit
7ee9522ef4
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 20 03:00:44 CET 2009 - crrodriguez@suse.de
|
||||||
|
|
||||||
|
- remove static libraries, there is no reason to use them as
|
||||||
|
shared libraries live in /%{_lib}
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jan 29 10:57:01 CET 2009 - olh@suse.de
|
Thu Jan 29 10:57:01 CET 2009 - olh@suse.de
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
Name: libgpg-error
|
Name: libgpg-error
|
||||||
Url: http://www.gnupg.org/
|
Url: http://www.gnupg.org/
|
||||||
Version: 1.6
|
Version: 1.6
|
||||||
Release: 7
|
Release: 9
|
||||||
Summary: Library That Defines Common Error Values for All GnuPG Components
|
Summary: Library That Defines Common Error Values for All GnuPG Components
|
||||||
License: GPL v2 or later; LGPL v2.1 or later
|
License: GPL v2 or later; LGPL v2.1 or later
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
@ -78,7 +78,7 @@ Obsoletes: libgpg-error-devel-64bit
|
|||||||
%if %nld_build
|
%if %nld_build
|
||||||
Conflicts: libgpg-error-devel
|
Conflicts: libgpg-error-devel
|
||||||
%endif
|
%endif
|
||||||
Requires: libgpg-error0 == %version
|
Requires: libgpg-error0 = %version glibc-devel
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Files needed for software development using libgpg-error.
|
Files needed for software development using libgpg-error.
|
||||||
@ -91,30 +91,21 @@ Authors:
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n libgpg-error-%version
|
%setup -q -n libgpg-error-%version
|
||||||
autoreconf --force
|
|
||||||
%if %nld_build
|
%if %nld_build
|
||||||
%patch
|
%patch
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
libtoolize --force
|
autoreconf -fiv
|
||||||
aclocal -I m4
|
%configure --disable-static --with-pic --libdir=/%{_lib}
|
||||||
automake -a
|
%{__make} %{?jobs:-j%jobs}
|
||||||
autoconf
|
|
||||||
./configure --prefix=%{_prefix} \
|
|
||||||
--sysconfdir=%{_sysconfdir} \
|
|
||||||
--libdir=/%{_lib} \
|
|
||||||
--infodir=%{_infodir} \
|
|
||||||
CFLAGS="$RPM_OPT_FLAGS"
|
|
||||||
make
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
make DESTDIR=$RPM_BUILD_ROOT install
|
||||||
rm $RPM_BUILD_ROOT/%{_lib}/libgpg-error.la
|
rm $RPM_BUILD_ROOT/%{_lib}/libgpg-error.la
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_libdir}
|
mkdir -p $RPM_BUILD_ROOT%{_libdir}
|
||||||
rm $RPM_BUILD_ROOT/%{_lib}/libgpg-error.so
|
%{__ln_s} -v /%{_lib}/$(readlink %{buildroot}/%{_lib}/%{name}.so) %{buildroot}%{_libdir}/%{name}.so
|
||||||
ln -s /%{_lib}/libgpg-error.so.0 $RPM_BUILD_ROOT%{_libdir}/libgpg-error.so
|
%{__rm} -v %{buildroot}/%{_lib}/%{name}.so
|
||||||
mv $RPM_BUILD_ROOT/%{_lib}/libgpg-error.a $RPM_BUILD_ROOT%{_libdir}
|
|
||||||
# Drop the lisp stuff, it depends on ASDF and CFFI
|
# Drop the lisp stuff, it depends on ASDF and CFFI
|
||||||
# which needs to be packaged first
|
# which needs to be packaged first
|
||||||
rm -r %{buildroot}/usr/share/common-lisp
|
rm -r %{buildroot}/usr/share/common-lisp
|
||||||
@ -123,11 +114,9 @@ rm -r %{buildroot}/usr/share/common-lisp
|
|||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%post -n libgpg-error0
|
%post -n libgpg-error0 -p /sbin/ldconfig
|
||||||
%run_ldconfig
|
|
||||||
|
|
||||||
%postun -n libgpg-error0
|
%postun -n libgpg-error0 -p /sbin/ldconfig
|
||||||
%run_ldconfig
|
|
||||||
|
|
||||||
%files -n libgpg-error0 -f %{name}.lang
|
%files -n libgpg-error0 -f %{name}.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -139,10 +128,12 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%_datadir/aclocal/gpg-error.m4
|
%_datadir/aclocal/gpg-error.m4
|
||||||
%_includedir/*
|
%_includedir/*
|
||||||
%_bindir/*
|
%_bindir/*
|
||||||
%_libdir/libgpg-error*.a
|
|
||||||
%_libdir/libgpg-error*.so
|
%_libdir/libgpg-error*.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Feb 20 2009 crrodriguez@suse.de
|
||||||
|
- remove static libraries, there is no reason to use them as
|
||||||
|
shared libraries live in /%%{_lib}
|
||||||
* Thu Jan 29 2009 olh@suse.de
|
* Thu Jan 29 2009 olh@suse.de
|
||||||
- obsolete libgpg-error-XXbit in the library subpackage
|
- obsolete libgpg-error-XXbit in the library subpackage
|
||||||
* Wed Dec 10 2008 olh@suse.de
|
* Wed Dec 10 2008 olh@suse.de
|
||||||
|
Loading…
Reference in New Issue
Block a user