OBS User unknown 2007-07-26 23:44:12 +00:00 committed by Git OBS Bridge
parent 4d9da5096b
commit e3de0a844f
2 changed files with 45 additions and 20 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jul 26 13:13:37 CEST 2007 - sbrabec@suse.cz
- Build with PIC.
- Renamed binary package to libassuan devel.
-------------------------------------------------------------------
Wed Jan 24 14:46:18 CET 2007 - ltinkl@suse.cz

View File

@ -13,21 +13,37 @@
Name: libassuan
URL: http://www.gnupg.org/aegypten2/index.html
Version: 1.0.1
Release: 1
Release: 28
Summary: IPC Library Used by GnuPG 1.9 and GPGME
License: GNU General Public License (GPL), GNU Library General Public License v. 2.0 and 2.1 (LGPL)
License: GPL v2 or later, LGPL v2 or later
Group: Development/Libraries/C and C++
Autoreqprov: on
BuildRequires: pth
BuildRequires: licenses pth
Requires: licenses
Source: libassuan-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: %install_info_prereq
%description
This is the IPC library used by GnuPG 1.9 and GPGME.
Authors:
--------
Werner Koch <wk@gnupg.org>
Neal H. Walfield <neal@g10code.de>
Marcus Brinkmann <marcus@g10code.de>
%package devel
Summary: IPC Library Used by GnuPG 1.9 and GPGME
Group: Development/Libraries/C and C++
Requires: openct-devel pcsc-lite-devel
PreReq: %install_info_prereq
%description devel
This is the IPC library used by GnuPG 1.9 and GPGME.
Authors:
--------
Werner Koch <wk@gnupg.org>
@ -38,35 +54,38 @@ Authors:
%setup -q
%build
CFLAGS="$RPM_OPT_FLAGS" ./configure \
--prefix=%{_prefix} \
--sysconfdir=/etc \
--infodir=%{_infodir} \
--libdir=%{_libdir}
make
# Compile with PIC, library is linked into shared libraries:
export CFLAGS="$RPM_OPT_FLAGS -fPIC -DPIC"
export LDFLAGS="-fPIC"
%configure
make %{?jobs:-j%jobs}
%install
make DESTDIR=$RPM_BUILD_ROOT install
%makeinstall
ln -sf /usr/share/doc/licenses/md5/$(md5sum COPYING | sed 's/ .*//') COPYING
%post
%post devel
%install_info --info-dir=%{_infodir} %{_infodir}/assuan.info.gz
%postun
%postun devel
%install_info_delete --info-dir=%{_infodir} %{_infodir}/assuan.info.gz
%clean
rm -rf $RPM_BUILD_ROOT
%files
%files devel
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README THANKS
%doc %_infodir/assuan*
%{_libdir}/*
/usr/include/*
/usr/bin/*
/usr/share/aclocal/*
%{_libdir}/*.a
/usr/include/*.h
/usr/bin/*-config
/usr/share/aclocal/*.m4
%changelog -n libassuan
%changelog
* Thu Jul 26 2007 - sbrabec@suse.cz
- Build with PIC.
- Renamed binary package to libassuan devel.
* Wed Jan 24 2007 - ltinkl@suse.cz
- updated to 1.0.1, added pth to BuildRequires
* New function: assuan_set_io_monitor.