Group :: Sistema/Bibliotecas
RPM: libtasn1
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: libtasn1
Version: 0.2.13
Release: alt1
%def_disable static
%def_enable check
Summary: ASN.1 library
Group: System/Libraries
License: LGPL
URL: http://www.gnu.org/software/gnutls/
%define pkgdocdir %_docdir/%name-%version
Source: %name-%version.tar.bz2
# Automatically added by buildreq on Mon Jan 03 2005
BuildRequires: common-licenses docbook-dtds docbook-style-xsl gtk-doc libgpg-error pkgconfig xml-common xsltproc
# Manually removed: gcc-c++ glib2 libstdc++-devel
BuildRequires: automake >= 1.9
BuildRequires: gtk-doc >= 1.2
%description
libtasn1 is a library to manage ASN.1 structures
%package devel
Summary: Development files for %name
Group: Development/C
Requires: %name = %version-%release
Requires(post): %install_info
Requires(preun): %uninstall_info
%description devel
Header and other files needed to develop applications using the tASN.1 library
%if_enabled static
%package devel-static
Summary: Static library for %name
Group: Development/C
Requires: %name-devel = %version-%release
%description devel-static
Static archive variant of the tASN.1 library
%endif # enabled static
%prep
%setup -q
%__rm -f COPYING.LIB
%__ln_s %_licensedir/LGPL-2.1 COPYING.LIB
%__bzip2 -9k doc/libtasn1.ps
%__subst 's|^INFO-DIR-SECTION .*|INFO-DIR-SECTION System/Libraries|' \
doc/libtasn1.info
%build
autoreconf -isfv
%configure %{subst_enable static} --enable-gtk-doc
# Non-parallel build
%make
%if_enabled check
%make check
%endif
%install
%makeinstall
%__install -d -m 755 $RPM_BUILD_ROOT%pkgdocdir
%__install -p -m 644 AUTHORS NEWS README THANKS $RPM_BUILD_ROOT%pkgdocdir
%__ln_s %_licensedir/LGPL-2.1 $RPM_BUILD_ROOT%pkgdocdir/COPYING.LIB
%__install -p -m 644 doc/*.html doc/*.pdf doc/*.ps.bz2 doc/*.tex doc/TODO \
$RPM_BUILD_ROOT%pkgdocdir/
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%post devel
%install_info %name.info
%preun devel
%uninstall_info %name.info
%files
%_libdir/*.so.*
%dir %pkgdocdir
%pkgdocdir/AUTHORS
%pkgdocdir/COPYING.LIB
%pkgdocdir/NEWS
%pkgdocdir/README
%pkgdocdir/THANKS
%files devel
%_libdir/*.so
%_includedir/*
%_bindir/*-config
%_datadir/aclocal/*
%_infodir/*
%_man3dir/*
%doc %_datadir/gtk-doc/html/*
%dir %pkgdocdir
%pkgdocdir/*.html
%pkgdocdir/*.pdf
%pkgdocdir/*.ps.bz2
%pkgdocdir/*.tex
%pkgdocdir/TODO
%if_enabled static
%files devel-static
%_libdir/*.a
%endif # enabled static
%changelog
…
Todas as alterações você pod ver aqui
Version: 0.2.13
Release: alt1
%def_disable static
%def_enable check
Summary: ASN.1 library
Group: System/Libraries
License: LGPL
URL: http://www.gnu.org/software/gnutls/
%define pkgdocdir %_docdir/%name-%version
Source: %name-%version.tar.bz2
# Automatically added by buildreq on Mon Jan 03 2005
BuildRequires: common-licenses docbook-dtds docbook-style-xsl gtk-doc libgpg-error pkgconfig xml-common xsltproc
# Manually removed: gcc-c++ glib2 libstdc++-devel
BuildRequires: automake >= 1.9
BuildRequires: gtk-doc >= 1.2
%description
libtasn1 is a library to manage ASN.1 structures
%package devel
Summary: Development files for %name
Group: Development/C
Requires: %name = %version-%release
Requires(post): %install_info
Requires(preun): %uninstall_info
%description devel
Header and other files needed to develop applications using the tASN.1 library
%if_enabled static
%package devel-static
Summary: Static library for %name
Group: Development/C
Requires: %name-devel = %version-%release
%description devel-static
Static archive variant of the tASN.1 library
%endif # enabled static
%prep
%setup -q
%__rm -f COPYING.LIB
%__ln_s %_licensedir/LGPL-2.1 COPYING.LIB
%__bzip2 -9k doc/libtasn1.ps
%__subst 's|^INFO-DIR-SECTION .*|INFO-DIR-SECTION System/Libraries|' \
doc/libtasn1.info
%build
autoreconf -isfv
%configure %{subst_enable static} --enable-gtk-doc
# Non-parallel build
%make
%if_enabled check
%make check
%endif
%install
%makeinstall
%__install -d -m 755 $RPM_BUILD_ROOT%pkgdocdir
%__install -p -m 644 AUTHORS NEWS README THANKS $RPM_BUILD_ROOT%pkgdocdir
%__ln_s %_licensedir/LGPL-2.1 $RPM_BUILD_ROOT%pkgdocdir/COPYING.LIB
%__install -p -m 644 doc/*.html doc/*.pdf doc/*.ps.bz2 doc/*.tex doc/TODO \
$RPM_BUILD_ROOT%pkgdocdir/
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%post devel
%install_info %name.info
%preun devel
%uninstall_info %name.info
%files
%_libdir/*.so.*
%dir %pkgdocdir
%pkgdocdir/AUTHORS
%pkgdocdir/COPYING.LIB
%pkgdocdir/NEWS
%pkgdocdir/README
%pkgdocdir/THANKS
%files devel
%_libdir/*.so
%_includedir/*
%_bindir/*-config
%_datadir/aclocal/*
%_infodir/*
%_man3dir/*
%doc %_datadir/gtk-doc/html/*
%dir %pkgdocdir
%pkgdocdir/*.html
%pkgdocdir/*.pdf
%pkgdocdir/*.ps.bz2
%pkgdocdir/*.tex
%pkgdocdir/TODO
%if_enabled static
%files devel-static
%_libdir/*.a
%endif # enabled static
%changelog
…
Todas as alterações você pod ver aqui