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