- libassuan-2.0.0 (#573796)

This commit is contained in:
Rex Dieter 2010-08-10 14:33:43 -05:00
parent dbb21f0bbb
commit 213dcf8cff
3 changed files with 20 additions and 20 deletions

4
.gitignore vendored
View File

@ -1,2 +1,2 @@
libassuan-1.0.5.tar.bz2
libassuan-1.0.5.tar.bz2.sig
libassuan-2.0.0.tar.bz2
libassuan-2.0.0.tar.bz2.sig

View File

@ -1,8 +1,7 @@
Name: libassuan
Summary: GnuPG IPC library
Version: 1.0.5
Release: 4%{?dist}
Version: 2.0.0
Release: 1%{?dist}
# The library is LGPLv2+, the documentation GPLv3+
License: LGPLv2+ and GPLv3+
@ -14,10 +13,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Patch1: libassuan-1.0.5-multilib.patch
# -debuginfo useless for (only) static libs
%define debug_package %{nil}
BuildRequires: gawk
BuildRequires: libgpg-error-devel
BuildRequires: pth-devel
%description
@ -30,8 +27,6 @@ Group: Development/Libraries
Requires: pth-devel
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
Obsoletes: libassuan-static < 1.0.3
Provides: libassuan-static = %{version}-%{release}
%description devel
This is the IPC static library used by GnuPG 2, GPGME and a few other
packages.
@ -46,10 +41,8 @@ This package contains files needed to develop applications using %{name}.
%build
#ifarch x86_64
export CFLAGS="%{optflags} -fPIC"
#endif
%configure
%configure \
--includedir=%{_includedir}/libassuan2
make %{?_smp_mflags}
@ -61,6 +54,7 @@ make install DESTDIR=%{buildroot}
## Unpackaged files
rm -f %{buildroot}%{_infodir}/dir
rm -f %{buildroot}%{_libdir}/lib*.la
%check
@ -79,18 +73,24 @@ fi
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING COPYING.LIB NEWS README THANKS TODO
%{_libdir}/libassuan.so.0*
%files devel
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING COPYING.LIB NEWS README THANKS TODO
%{_bindir}/libassuan-config
%{_includedir}/*
%{_libdir}/lib*.a
%{_datadir}/aclocal/*
%{_includedir}/libassuan2/
%{_libdir}/libassuan.so
%{_datadir}/aclocal/libassuan.m4
%{_infodir}/assuan.info*
%changelog
* Tue Jul 27 2010 Rex Dieter <rdieter@fedoraproject.org> - 2.0.0-1
- libassuan-2.0.0 (#573796)
* Thu Dec 17 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.0.5-4
- better versioning for Obsoletes
- better (upstreamable) multilib patch

View File

@ -1,2 +1,2 @@
c2db0974fcce4401f48f3fa41c4edc5a libassuan-1.0.5.tar.bz2
167c1838f56f3b85083422668b369f17 libassuan-1.0.5.tar.bz2.sig
59bc0ae7194c412d7a522029005684b2 libassuan-2.0.0.tar.bz2
bb73e093d65d5b165d20b7377fee72a5 libassuan-2.0.0.tar.bz2.sig