libassuan/libassuan.spec
Michael Schwendt 1e9b94dad5 auto-import libassuan-0.6.9-1 on branch devel from
libassuan-0.6.9-1.src.rpm
2005-02-01 19:30:20 +00:00

98 lines
2.1 KiB
RPMSpec

Summary: GnuPG IPC library
Name: libassuan
Version: 0.6.9
Release: 1%{?dist_tag}
Source0: ftp://ftp.gnupg.org/pub/gcrypt/alpha/libassuan/libassuan-0.6.9.tar.gz
Source1: ftp://ftp.gnupg.org/pub/gcrypt/alpha/libassuan/libassuan-0.6.9.tar.gz.sig
URL: http://www.gnupg.org/
License: GPL
Group: System Environment/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
This is the IPC library used by GnuPG 1.9, GPGME and a few other
packages.
%package devel
Summary: Development files for the %{name} package.
Group: Development/Libraries
Requires(post): /sbin/install-info
Requires(postun): /sbin/install-info
%description devel
This is the IPC library used by GnuPG 1.9, GPGME and a few other
packages.
This package contains files needed to develop applications using %{name}.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
## Unpackaged files
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
%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
# No shared lib, yet
%if 0
%files
%defattr(-,root,root)
%{_libdir}/*.so.*
%endif
%files devel
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING NEWS README THANKS TODO
%{_bindir}/*
%{_includedir}/*
%{_libdir}/lib*.a
%{_datadir}/aclocal/*
%{_infodir}/assuan.info*
%changelog
* 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