libassuan/libassuan.spec

144 lines
3.4 KiB
RPMSpec
Raw Normal View History

Name: libassuan
Summary: GnuPG IPC library
Version: 0.9.3
2006-10-18 14:07:08 +00:00
Release: 2%{?dist}
License: LGPL
Source0: ftp://ftp.gnupg.org/gcrypt/alpha/libassuan/libassuan-%{version}.tar.bz2
Source1: ftp://ftp.gnupg.org/gcrypt/alpha/libassuan/libassuan-%{version}.tar.bz2.sig
URL: http://www.gnupg.org/
Group: System Environment/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Patch1: libassuan-0.9.3-m4.patch
2006-10-18 14:07:08 +00:00
Patch2: libassuan-0.9.3-m4-2.patch
BuildRequires: pth-devel
%description
This is the IPC library used by GnuPG 1.9/2, GPGME and a few other
packages.
%package devel
Summary: GnuPG IPC library
Group: Development/Libraries
Requires: pth-devel
Requires(post): /sbin/install-info
Requires(postun): /sbin/install-info
Provides: %{name}-static = %{version}-%{release}
%description devel
This is the IPC library used by GnuPG 1.9/2, GPGME and a few other
packages.
This package contains files needed to develop applications using %{name}.
%prep
%setup -q
%patch1 -p1 -b .m4patch
2006-10-18 14:07:08 +00:00
%patch2 -p0 -b .m4patch-2
%build
2006-10-06 13:04:36 +00:00
#ifarch x86_64
2005-07-04 17:29:46 +00:00
export CFLAGS="$RPM_OPT_FLAGS -fPIC"
2006-10-06 13:04:36 +00:00
#endif
%configure
2005-07-04 17:29:46 +00:00
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
## Unpackaged files
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
2006-10-18 14:07:08 +00:00
%check || :
make check
%post devel
/sbin/install-info %{_infodir}/assuan.info %{_infodir}/dir &>/dev/null || :
%postun devel
if [ $1 -eq 0 ]; then
/sbin/install-info --delete %{_infodir}/assuan.info %{_infodir}/dir &>/dev/null || :
fi
%clean
rm -rf $RPM_BUILD_ROOT
%files devel
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README THANKS TODO
%{_bindir}/*
%{_includedir}/*
%{_libdir}/lib*.a
%{_datadir}/aclocal/*
%{_infodir}/assuan.info*
%changelog
2006-10-18 14:07:08 +00:00
* Wed Oct 18 2006 Rex Dieter <rexdieter[AT]users.sf.net> - 0.9.3-2
- another libassuan.m4 patch
* Tue Oct 10 2006 Rex Dieter <rexdieter[AT]users.sf.net> - 0.9.3-1
- 0.9.3
- BR: pth-devel, -devel: Requires: pth-devel
2006-10-06 13:04:36 +00:00
* Wed Oct 04 2006 Rex Dieter <rexdieter[AT]users.sf.net> - 0.9.2-1
- 0.9.2
2006-10-02 17:04:38 +00:00
* Mon Oct 02 2006 Rex Dieter <rexdieter[AT]users.sf.ne> - 0.9.0-3
- respin
2006-09-26 16:47:57 +00:00
* Tue Sep 26 2006 Rex Dieter <rexdieter[AT]users.sf.net - 0.9.0-2
- -devel: Provides: %%name-static
- 0.9.0
2006-08-28 21:08:31 +00:00
* Mon Aug 28 2006 Rex Dieter <rexdieter[AT]users.sf.net> - 0.6.10-3
- fc6 respin
2006-03-01 16:24:17 +00:00
* Wed Mar 1 2006 Rex Dieter <rexdieter[AT]users.sf.net>
2006-02-10 13:35:50 +00:00
- fc5: gcc/glibc respin
2005-07-04 17:29:46 +00:00
* Mon Jul 4 2005 Michael Schwendt <mschwendt[at]users.sf.net> - 0.6.10-2
- Build PIC only for x86_64.
2005-07-02 07:28:31 +00:00
* Fri Jul 1 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.6.10-1
- 0.6.10, macro patch no longer needed (#162262).
2005-05-08 19:05:00 +00:00
* Sun May 8 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.6.9-4
- rebuilt
2005-03-18 09:13:48 +00:00
* Fri Mar 18 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.6.9-3
- Fix FC4 build and source URLs.
2005-02-03 12:34:21 +00:00
* Thu Feb 3 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.6.9-2
- Build PIC to fix x86_64 linking.
* Thu Jan 06 2005 Rex Dieter <rexdieter[AT]users.sf.net> - 0.6.9-1
- 0.6.9
* Sat Oct 23 2004 Rex Dieter <rexdieter[AT]users.sf.net> - 0.6.7-0.fdr.3
- *really* fix description this time.
* Fri Oct 22 2004 Rex Dieter <rexdieter[AT]users.sf.net> - 0.6.7-0.fdr.2
- remove "We decided..." part of description
- remove hard-coded .gz info references
- Req(preun)->Preq(postun): /sbin/install-info
* Thu Oct 21 2004 Rex Dieter <rexdieter[AT]users.sf.net> - 0.6.7-0.fdr.1
- cleanup, make presentable.
* Tue Oct 19 2004 Rex Dieter <rexdieter[AT]users.sf.net> - 0.6.7-0.fdr.0
- first try