Sophie

Sophie

distrib > Mandriva > mes5 > x86_64 > by-pkgid > 6337b17f89ee76f668b64d64c136a03d > files > 3

libassuan-1.0.5-1mdv2009.0.src.rpm

%define version 1.0.5
%define rel 1
%define release %mkrel %rel

%define libname %mklibname assuan

Summary:	Assuan - an IPC library for non-persistent servers
Name:		libassuan
Version:	%{version}
Release:	%{release}
License:	LGPLv3
Group:		System/Libraries
URL:		http://www.gnupg.org/
Source0:	ftp://ftp.gnupg.org/gcrypt/%{name}/%{name}-%{version}.tar.bz2
Source1:	ftp://ftp.gnupg.org/gcrypt/%{name}/%{name}-%{version}.tar.bz2.sig
BuildRequires:	multiarch-utils >= 1.0.3
BuildRequires:	libpth-devel
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot

%description 
This is the IPC library used by GnuPG 1.9, gpgme and the old newpg
package. It used to be included with the latter packages but the
authors decided to separated it out to a standalone library.

%package -n %{libname}-devel
Summary:	Header files and static library for assuan
Group:		Development/C
Provides:	libassuan-devel = %{version}-%{release}
Requires(post):  info-install
Requires(preun): info-install
Obsoletes: %{libname}0-devel < 1.0.4
Obsoletes: %{libname}0-static-devel < 1.0.4

%description -n %{libname}-devel
Header files and static library for assuan.

%prep
%setup -q

%build
export CFLAGS="$RPM_OPT_FLAGS -fPIC"
%configure \
	--with-pth-prefix=%{_prefix}
%make

%install
rm -rf %{buildroot}
%makeinstall_std

%multiarch_binaries %{buildroot}%{_bindir}/libassuan-config

%clean
rm -rf %{buildroot}

%post -n %{libname}-devel
%_install_info assuan.info

%preun -n %{libname}-devel
%_remove_install_info assuan.info

%files -n %{libname}-devel
%defattr(-,root,root)
%doc ChangeLog AUTHORS NEWS README
#%if %mdkversion >= 1020
%multiarch %{multiarch_bindir}/libassuan-config
#%endif
%{_bindir}/libassuan-config
%{_includedir}/*.h
%{_datadir}/aclocal/*.m4
%{_infodir}/*.info*
%{_libdir}/lib*.a


%changelog
* Sun Aug 10 2008 Emmanuel Andry <eandry@mandriva.org> 1.0.5-1mdv2009.0
+ Revision: 270354
- New version

* Fri Dec 21 2007 Olivier Blin <oblin@mandriva.com> 1.0.4-1mdv2009.0
+ Revision: 136546
- restore BuildRoot

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill re-definition of %%buildroot on Pixel's request

* Sat Dec 15 2007 Emmanuel Andry <eandry@mandriva.org> 1.0.4-1mdv2008.1
+ Revision: 120427
- New version
- drop obsoleted mdkversion conditionnals

* Thu Aug 23 2007 Thierry Vignaud <tvignaud@mandriva.com> 1.0.2-3mdv2008.0
+ Revision: 70305
- kill file require on info-install

* Sun Jul 22 2007 Funda Wang <fundawang@mandriva.org> 1.0.2-2mdv2008.0
+ Revision: 54430
- Obsoletes old static-devel

* Fri Jul 06 2007 Andreas Hasenack <andreas@mandriva.com> 1.0.2-1mdv2008.0
+ Revision: 49174
- updated to version 1.0.2
- updated license tag to LGPLv3


* Wed Nov 29 2006 Andreas Hasenack <andreas@mandriva.com> 1.0.1-2mdv2007.0
+ Revision: 88682
- make double sure we use pth
- enabled pth support

* Wed Nov 29 2006 Andreas Hasenack <andreas@mandriva.com> 1.0.1-1mdv2007.1
+ Revision: 88652
- work on x86_64 provides/requires/obsoletes/names
- updated to version 1.0.1
- drop dynamic library patch, follow upstream which only
  has a static one
- rearranged packaging because of the above
- Import libassuan

* Sat Dec 31 2005 Mandriva Linux Team <http://www.mandrivaexpert.com/> 0.6.10-2mdk
- Rebuild

* Wed Aug 10 2005 Nicolas Lécureuil <neoclust@mandriva.org> 0.6.10-1mdk
- New release 0.6.10

* Wed Jun 15 2005 Guillaume Rousse <guillomovitch@mandriva.org> 0.6.9-1mdk 
- new release

* Sat Apr 16 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 0.6.8-2mdk
- fix deps and conditional %%multiarch
- fix requires-on-release

* Sun Dec 26 2004 Abel Cheung <deaddog@mandrake.org> 0.6.8-1mdk
- New release 0.6.8

* Thu Aug 19 2004 Abel Cheung <deaddog@mandrakesoft.com> 0.6.6-1mdk
- New release 0.6.6

* Fri May 21 2004 Abel Cheung <deaddog@deaddog.org> 0.6.5-1mdk
- New version
- Drop old patch1, use autoreconf instead
- Patch1: No m4 dir in source, remove such reference in Makefile.am,
  otherwise autoreconf won't work

* Sat Jan 24 2004 Abel Cheung <deaddog@deaddog.org> 0.6.2-1mdk
- New version

* Fri Jan 23 2004 Abel Cheung <deaddog@deaddog.org> 0.6.1-2mdk
- Revert many stuff back
- Remove patch1 (info)
- New Patch1: fix configure script generated by autoconf > 2.57
- Add back info files
- Include file signature

* Thu Dec 11 2003 Abel Cheung <deaddog@deaddog.org> 0.6.1-1mdk
- 0.6.1
- (mistakenly overwritten Florin's package)