Группа :: Система/Библиотеки
Пакет: libp11
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define _customdocdir %_defaultdocdir/%name-%version
Name: libp11
Version: 0.2.6
Release: alt2
Summary: Library for using PKCS#11 modules
Group: System/Libraries
License: LGPLv2+
URL: http://www.opensc-project.org/libp11
Source: %name-%version.tar
Patch: %name-%version-%release.patch
Packager: Lebedev Sergey <barabashka at altlinux.org>
# Automatically added by buildreq on Fri Aug 28 2009
BuildRequires: doxygen libltdl7-devel libssl-devel xsltproc
%description
Libp11 is a library implementing a small layer on top of PKCS#11 API to
make using PKCS#11 implementations easier.
%package devel
Summary: Development files for %name
Group: Development/C++
Requires: %name = %version-%release
Requires: libssl-devel
%description devel
Development files for %name.
%prep
%setup -q
%patch -p1
%build
%autoreconf
%configure \
--docdir=%_customdocdir \
--disable-static \
--enable-doc \
--enable-api-doc
%make_build
%install
%makeinstall_std
%files
%dir %_customdocdir
%_customdocdir/README
%_customdocdir/NEWS
%_libdir/*.so.*
#%%_defaultdocdir/%%name-%%version
%files devel
%dir %_customdocdir
%_customdocdir/api
%_customdocdir/wiki
%_libdir/*.so
%_includedir/*
%_pkgconfigdir/%name.pc
%changelog
…
Полный changelog можно просмотреть здесь
Name: libp11
Version: 0.2.6
Release: alt2
Summary: Library for using PKCS#11 modules
Group: System/Libraries
License: LGPLv2+
URL: http://www.opensc-project.org/libp11
Source: %name-%version.tar
Patch: %name-%version-%release.patch
Packager: Lebedev Sergey <barabashka at altlinux.org>
# Automatically added by buildreq on Fri Aug 28 2009
BuildRequires: doxygen libltdl7-devel libssl-devel xsltproc
%description
Libp11 is a library implementing a small layer on top of PKCS#11 API to
make using PKCS#11 implementations easier.
%package devel
Summary: Development files for %name
Group: Development/C++
Requires: %name = %version-%release
Requires: libssl-devel
%description devel
Development files for %name.
%prep
%setup -q
%patch -p1
%build
%autoreconf
%configure \
--docdir=%_customdocdir \
--disable-static \
--enable-doc \
--enable-api-doc
%make_build
%install
%makeinstall_std
%files
%dir %_customdocdir
%_customdocdir/README
%_customdocdir/NEWS
%_libdir/*.so.*
#%%_defaultdocdir/%%name-%%version
%files devel
%dir %_customdocdir
%_customdocdir/api
%_customdocdir/wiki
%_libdir/*.so
%_includedir/*
%_pkgconfigdir/%name.pc
%changelog
…
Полный changelog можно просмотреть здесь