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