- --disable-static
This commit is contained in:
Rex Dieter 2005-08-08 20:49:45 +00:00
parent ec2cc66a38
commit da3e112696
4 changed files with 25 additions and 14 deletions

View File

@ -1 +1,2 @@
gpgme-1.0.2.tar.bz2 gpgme-1.0.3.tar.bz2
gpgme-1.0.3.tar.bz2.sig

Binary file not shown.

View File

@ -1,15 +1,18 @@
Name: gpgme Name: gpgme
Version: 1.0.2
Release: 3%{?dist}
Summary: GnuPG Made Easy - high level crypto API Summary: GnuPG Made Easy - high level crypto API
Version: 1.0.3
Release: 1%{?dist}
License: LGPL License: LGPL
Group: Applications/System Group: Applications/System
URL: http://www.gnupg.org/related_software/gpgme/ URL: http://www.gnupg.org/related_software/gpgme/
Source0: ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-%{version}.tar.bz2 Source0: ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-%{version}.tar.bz2
Source1: ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-%{version}.tar.bz2.sig Source1: ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-%{version}.tar.bz2.sig
Patch0: gpgme-1.0.2-macro.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Patch0: gpgme-1.0.2-macro.patch
BuildRequires: gnupg >= 1.2.2 BuildRequires: gnupg >= 1.2.2
BuildRequires: gnupg2 >= 1.9.6 BuildRequires: gnupg2 >= 1.9.6
BuildRequires: pth-devel BuildRequires: pth-devel
@ -33,28 +36,30 @@ Requires: %{name} = %{version}-%{release}
Requires: libgpg-error-devel Requires: libgpg-error-devel
Requires(post): /sbin/install-info Requires(post): /sbin/install-info
Requires(postun): /sbin/install-info Requires(postun): /sbin/install-info
%description devel %description devel
Static libraries and header files from GPGME, GnuPG Made Easy. Static libraries and header files from GPGME, GnuPG Made Easy.
%prep %prep
%setup -q %setup -q
%patch0 -p0 %patch0 -p0
%build %build
%configure \ %configure \
--program-prefix="%{?_program_prefix}" \ --disable-static
--enable-static
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT{%{_infodir}/dir,%{_libdir}/*.la} rm -f $RPM_BUILD_ROOT%{_infodir}/dir
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%check || : %check || :
@ -66,8 +71,8 @@ rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%post devel %post devel
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir 2>/dev/null || : /sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir 2>/dev/null || :
@ -81,19 +86,23 @@ fi
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc AUTHORS COPYING* ChangeLog NEWS README* THANKS TODO VERSION %doc AUTHORS COPYING* ChangeLog NEWS README* THANKS TODO VERSION
%{_libdir}/libgpgme*.so.* %{_libdir}/lib*.so.*
%files devel %files devel
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_bindir}/gpgme-config %{_bindir}/gpgme-config
%{_includedir}/gpgme.h %{_includedir}/*
%{_libdir}/libgpgme*.a #{_libdir}/lib*.a
%{_libdir}/libgpgme*.so %{_libdir}/lib*.so
%{_datadir}/aclocal/gpgme.m4 %{_datadir}/aclocal/gpgme.m4
%{_infodir}/gpgme.info* %{_infodir}/gpgme.info*
%changelog %changelog
* Mon Aug 8 2005 Rex Dieter <rexdieter[AT]users.sf.net> - 1.0.3-1
- 1.0.3
- --disable-static
* Thu May 12 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.0.2-3 * Thu May 12 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.0.2-3
- rebuilt - rebuilt

View File

@ -1 +1,2 @@
25513fd35593bad08c1e486878296b40 gpgme-1.0.2.tar.bz2 84f85671d63164fb1d338c23010f023d gpgme-1.0.3.tar.bz2
f91f3a341c0070aef7cec52e3cb4d770 gpgme-1.0.3.tar.bz2.sig