This commit is contained in:
parent
9a25a49823
commit
d039074dae
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 27 06:59:00 CET 2007 - crrodriguez@suse.de
|
||||
|
||||
- fix library-without-ldconfig-post* errors
|
||||
- remove "la" files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 8 00:24:11 CEST 2007 - ro@suse.de
|
||||
|
||||
|
58
gpgme.spec
58
gpgme.spec
@ -12,16 +12,15 @@
|
||||
|
||||
Name: gpgme
|
||||
BuildRequires: gpg2 libgcrypt-devel libksba-devel
|
||||
%define prefix /usr
|
||||
License: GPL v2 or later
|
||||
Group: Productivity/Security
|
||||
PreReq: %install_info_prereq
|
||||
Autoreqprov: on
|
||||
AutoReqProv: on
|
||||
Version: 1.1.5
|
||||
Release: 10
|
||||
Release: 58
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Patch1: %{name}-1.1.4-warning.patch
|
||||
URL: http://www.gnupg.org/related_software/gpgme/
|
||||
Url: http://www.gnupg.org/related_software/gpgme/
|
||||
Summary: A Library Designed to Give Applications Easy Access to GnuPG
|
||||
Requires: gpg2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@ -55,9 +54,8 @@ Authors:
|
||||
|
||||
%package -n libgpgme11
|
||||
Summary: A Library Designed to give Applications easy Access to GnuPG
|
||||
Group: Productivity/Security
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: gpgme = %{version}
|
||||
Autoreqprov: on
|
||||
|
||||
%description -n libgpgme11
|
||||
GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG
|
||||
@ -90,11 +88,10 @@ Authors:
|
||||
|
||||
%package -n libgpgme-devel
|
||||
Summary: A Library Designed to give Applications easy Access to GnuPG
|
||||
Group: Development/Languages/C and C++
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libgpgme11 = %{version} libgpg-error-devel glibc-devel
|
||||
Provides: gpgme-devel = %{version}
|
||||
Obsoletes: gpgme-devel <= %{version}
|
||||
Autoreqprov: on
|
||||
|
||||
%description -n libgpgme-devel
|
||||
GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG
|
||||
@ -128,44 +125,38 @@ Authors:
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1
|
||||
autoreconf --force --install
|
||||
|
||||
%build
|
||||
CFLAGS="$RPM_OPT_FLAGS -fPIC" \
|
||||
./configure \
|
||||
--mandir=%{_mandir} \
|
||||
--prefix=%{prefix} \
|
||||
--infodir=%{_infodir} \
|
||||
--sysconfdir=%{_sysconfdir} \
|
||||
--libdir=%{_libdir} \
|
||||
--disable-static
|
||||
autoreconf --force --install
|
||||
export CFLAGS="$RPM_OPT_FLAGS"
|
||||
%configure --with-gnu-ld --disable-static --with-pic
|
||||
make
|
||||
if test $ABUILD_RUN_TEST_SUITES = true ; then
|
||||
make test
|
||||
fi
|
||||
#tests requires user interaction
|
||||
#check
|
||||
#make check
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post -n libgpgme11 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libgpgme11 -p /sbin/ldconfig
|
||||
|
||||
%post
|
||||
%run_ldconfig
|
||||
%install_info --info-dir=%{_infodir} %{_infodir}/gpgme.info.gz
|
||||
|
||||
%postun
|
||||
%run_ldconfig
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/gpgme.info.gz
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS COPYING ChangeLog README NEWS THANKS TODO
|
||||
/usr/share/common-lisp
|
||||
/usr/share/common-lisp/source
|
||||
%prefix/share/common-lisp/source/gpgme
|
||||
|
||||
%{_datadir}/common-lisp
|
||||
%{_datadir}/common-lisp/source
|
||||
%{_datadir}/common-lisp/source/gpgme
|
||||
%_infodir/gpgme*
|
||||
|
||||
%files -n libgpgme11
|
||||
@ -176,17 +167,18 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -n libgpgme-devel
|
||||
%defattr(-,root,root)
|
||||
%_libdir/libgpgme.la
|
||||
%_libdir/libgpgme.so
|
||||
%_libdir/libgpgme-pthread.la
|
||||
%_libdir/libgpgme-pthread.so
|
||||
%_libdir/libgpgme-pth.la
|
||||
%_libdir/libgpgme-pth.so
|
||||
%prefix/bin/gpgme-config
|
||||
%prefix/share/aclocal/gpgme.m4
|
||||
%prefix/include/gpgme.h
|
||||
%{_bindir}/gpgme-config
|
||||
%{_datadir}/aclocal/gpgme.m4
|
||||
%{_includedir}/gpgme.h
|
||||
%exclude %_libdir/*.la
|
||||
|
||||
%changelog
|
||||
* Thu Dec 27 2007 - crrodriguez@suse.de
|
||||
- fix library-without-ldconfig-post* errors
|
||||
- remove "la" files
|
||||
* Wed Aug 08 2007 - ro@suse.de
|
||||
- remove devel requires from library package
|
||||
* Tue Aug 07 2007 - mrueckert@suse.de
|
||||
|
Loading…
Reference in New Issue
Block a user