libgpg-error.spec revision 10315
19969N/A#
19969N/A# spec file for package libgpg-error
19969N/A#
10786N/A# Owner: jefftsai
10786N/A#
10786N/AName: libgpg-error
10786N/AVersion: 1.5
10786N/ARelease: 1
10786N/ASummary: libgpg-error - Common error codes for GnuPG, Libgcrypt etc.
10786N/ALicense: GPL, Other License(s), see package
10786N/AGroup: Development/Libraries
10786N/ACopyright: LGPL
10786N/AAutoreqprov: on
10786N/AURL: http://www.gnupg.org/
10786N/ASource: ftp://ftp.gnupg.org/gcrypt/libgpg-error/%{name}-%{version}.tar.bz2
10786N/ASource1: l10n-configure.sh
10786N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
19969N/A
10786N/A%description
10786N/AThis is a library that defines common error values for all GnuPG
10786N/Acomponents. Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt,
10786N/Apinentry, SmartCard Daemon and possibly more in the future.
10786N/A
10786N/A%prep
10786N/A%setup -n %{name}-%{version}
10786N/A
10786N/Abash -x %SOURCE1
10786N/A
10786N/A%build
10786N/ACFLAGS="$RPM_OPT_FLAGS" ./configure \
10786N/A --prefix=%{_prefix} \
10786N/A --sysconfdir=/etc \
10786N/A --libdir=%{_libdir} \
10786N/A --infodir=%{_infodir}
10786N/Amake
10786N/A
10786N/A%install
10786N/A[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
10786N/Amake DESTDIR=$RPM_BUILD_ROOT install
10786N/Afind $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
10786N/Afind $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
10786N/A
10786N/A%clean
10786N/Arm -fr $RPM_BUILD_ROOT
10786N/Amake distclean
10786N/A
10786N/A%post
10786N/A%run_ldconfig
10786N/A
10786N/A%postun
10786N/A/sbin/ldconfig
10786N/A
10786N/A%files
10786N/A%defattr(-,root,root)
10786N/A%doc COPYING COPYING.LIB AUTHORS README INSTALL NEWS ChangeLog
10786N/A%attr(0755,root,root) %{_bindir}/gpg-error-config
10786N/A%attr(0755,root,root) %{_bindir}/gpg-error
10786N/A%attr(0755,root,root) %{_libdir}/*gpg-error.so*
10786N/A%attr(0644,root,root) %{_libdir}/*gpg-error.a
10786N/A%{_includedir}/gpg-error.h
10786N/A%{_datadir}/aclocal/gpg-error.m4
10786N/A
10786N/A%changelog -n libgpg-error
10786N/A* Fri Mar 16 2007 - jeff.cai@sun.com
10786N/A- Bump to 1.5.
10786N/A* Sat Jul 22 2006 - halton.huo@sun.com
10786N/A- Bump version to 1.3.
10786N/A* Tue Apr 04 2006 - halton.huo@sun.com
10786N/A- Remove .a/.la files part in linux spec.
10786N/A* Wed Aug 31 2005 - halton.huo@sun.com
10786N/A- Initial version.
10786N/A