Репозитории ALT
S: | 1.9.9-alt1 |
5.1: | 1.5.5-alt1 |
4.1: | 1.4.4-alt3 |
4.0: | 1.4.4-alt3 |
3.0: | 1.2.0-alt2 |
Группа :: Система/Серверы
Пакет: pcsc-lite
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
# undefine XXX__libtoolize
# %define unstable 1
%def_disable static
Name: pcsc-lite
Version: 1.5.5
Release: alt1
Group: System/Servers
Summary: Muscle PCSC Framework for Linux
License: %bsd
URL: http://pcsclite.alioth.debian.org/
Source0: pcsc-lite-%version.tar
Patch: %name-%version-%release.patch
Source1: pcscd.startup
Source2: pcsc-lite-pcscd.sysconfig
Conflicts: libpcsclite < %version-%release
Conflicts: libpcsclite > %version-%release
# Automatically added by buildreq on Thu Sep 10 2009
BuildRequires: flex libhal-devel tetex-latex
BuildRequires: rpm-build-licenses
%if_enabled static
BuildRequires: glibc-devel-static
%endif
%description
pcscd is the daemon program for PC/SC Lite. It is a resource
manager that coorinates communications with Smart Card readers and Smart
Cards that are connected to the system.
The purpose of PCSC Lite is to provide a Windows(R) SCard interface in a
very small form factor for communicating to smartcards and readers.
PCSC Lite uses the same winscard api as used under Windows(R)
This package contains daemon program for PC/SC Lite
%package -n libpcsclite
Group: System/Libraries
Summary: Libraries for pcscd
#
%description -n libpcsclite
Libraries for pcscd. pcscd is the daemon program
for PC/SC Lite. It is a resource manager that coorinates
communications with Smart Card readers and Smart Cards
that are connected to the system. The purpose of PCSC Lite
is to provide a Windows(R) SCard interface in a very small
form factor for communicating to smartcards and readers.
PCSC Lite uses the same winscard api as used under Windows(R)
%package -n libpcsclite-devel
Group: Development/C
Summary: Haeders and other development files for libpcsclite
Requires: libpcsclite = %version-%release
#
%description -n libpcsclite-devel
Haeders and other development files for libpcsclite
%package -n libpcsclite-devel-static
Group: Development/C
Summary: Static libraries for libpcsclite
Requires: libpcsclite-devel = %version-%release
#
%description -n libpcsclite-devel-static
Static libraries for libpcsclite
%prep
%setup -q
%patch -p1
%build
%autoreconf
%configure \
%{subst_enable static} \
--enable-debugatr \
--enable-confdir=%_sysconfdir \
--enable-ipcdir=/var/run/pcscd \
--enable-usbdropdir=%_libdir/pcsc/drivers \
--enable-scf \
#
%make_build
# pdf
%make_build -C doc pcsc-lite.pdf ifdhandler-3.pdf
%install
%makeinstall_std
mkdir -p %buildroot/%_initdir/
install -m 755 %SOURCE1 %buildroot/%_initdir/pcscd
mkdir -p %buildroot/%_sysconfdir/sysconfig
install -m 644 %SOURCE2 %buildroot/%_sysconfdir/sysconfig/pcscd
mkdir -p %{buildroot}%{_sysconfdir}/reader.conf.d
cat <<__EOF__ >%buildroot/%_sysconfdir/reader.conf
# Put configs to %_sysconfdir/reader.conf.d/
# Execute %_sbindir/update-reader.conf
__EOF__
mkdir -p %buildroot/var/run/pcscd
mkdir -p %buildroot%_libdir/pcsc/drivers
%files
%doc AUTHORS COPYING DRIVERS HELP NEWS README SECURITY TODO
%config(noreplace) %_sysconfdir/reader.conf
%dir %_sysconfdir/reader.conf.d/
%config(noreplace) %_sysconfdir/reader.conf.d/reader.conf
%config(noreplace) %_sysconfdir/sysconfig/pcscd
%_initdir/pcscd
%_sbindir/pcscd
%_sbindir/update-reader.conf
%_mandir/*/*
%dir %_libdir/pcsc
%dir %_libdir/pcsc/drivers
%dir /var/run/pcscd
%files -n libpcsclite
%_libdir/libpcsclite.so.*
%files -n libpcsclite-devel
%doc ChangeLog doc/pcsc-lite.pdf doc/ifdhandler-3.pdf
%_libdir/libpcsclite.so
%_includedir/PCSC/
%_libdir/pkgconfig/libpcsclite.pc
%if_enabled static
%files -n libpcsclite-devel-static
%_libdir/libpcsclite.a
%endif
%changelog
…
Полный changelog можно просмотреть здесь
# %define unstable 1
%def_disable static
Name: pcsc-lite
Version: 1.5.5
Release: alt1
Group: System/Servers
Summary: Muscle PCSC Framework for Linux
License: %bsd
URL: http://pcsclite.alioth.debian.org/
Source0: pcsc-lite-%version.tar
Patch: %name-%version-%release.patch
Source1: pcscd.startup
Source2: pcsc-lite-pcscd.sysconfig
Conflicts: libpcsclite < %version-%release
Conflicts: libpcsclite > %version-%release
# Automatically added by buildreq on Thu Sep 10 2009
BuildRequires: flex libhal-devel tetex-latex
BuildRequires: rpm-build-licenses
%if_enabled static
BuildRequires: glibc-devel-static
%endif
%description
pcscd is the daemon program for PC/SC Lite. It is a resource
manager that coorinates communications with Smart Card readers and Smart
Cards that are connected to the system.
The purpose of PCSC Lite is to provide a Windows(R) SCard interface in a
very small form factor for communicating to smartcards and readers.
PCSC Lite uses the same winscard api as used under Windows(R)
This package contains daemon program for PC/SC Lite
%package -n libpcsclite
Group: System/Libraries
Summary: Libraries for pcscd
#
%description -n libpcsclite
Libraries for pcscd. pcscd is the daemon program
for PC/SC Lite. It is a resource manager that coorinates
communications with Smart Card readers and Smart Cards
that are connected to the system. The purpose of PCSC Lite
is to provide a Windows(R) SCard interface in a very small
form factor for communicating to smartcards and readers.
PCSC Lite uses the same winscard api as used under Windows(R)
%package -n libpcsclite-devel
Group: Development/C
Summary: Haeders and other development files for libpcsclite
Requires: libpcsclite = %version-%release
#
%description -n libpcsclite-devel
Haeders and other development files for libpcsclite
%package -n libpcsclite-devel-static
Group: Development/C
Summary: Static libraries for libpcsclite
Requires: libpcsclite-devel = %version-%release
#
%description -n libpcsclite-devel-static
Static libraries for libpcsclite
%prep
%setup -q
%patch -p1
%build
%autoreconf
%configure \
%{subst_enable static} \
--enable-debugatr \
--enable-confdir=%_sysconfdir \
--enable-ipcdir=/var/run/pcscd \
--enable-usbdropdir=%_libdir/pcsc/drivers \
--enable-scf \
#
%make_build
%make_build -C doc pcsc-lite.pdf ifdhandler-3.pdf
%install
%makeinstall_std
mkdir -p %buildroot/%_initdir/
install -m 755 %SOURCE1 %buildroot/%_initdir/pcscd
mkdir -p %buildroot/%_sysconfdir/sysconfig
install -m 644 %SOURCE2 %buildroot/%_sysconfdir/sysconfig/pcscd
mkdir -p %{buildroot}%{_sysconfdir}/reader.conf.d
cat <<__EOF__ >%buildroot/%_sysconfdir/reader.conf
# Put configs to %_sysconfdir/reader.conf.d/
# Execute %_sbindir/update-reader.conf
__EOF__
mkdir -p %buildroot/var/run/pcscd
mkdir -p %buildroot%_libdir/pcsc/drivers
%files
%doc AUTHORS COPYING DRIVERS HELP NEWS README SECURITY TODO
%config(noreplace) %_sysconfdir/reader.conf
%dir %_sysconfdir/reader.conf.d/
%config(noreplace) %_sysconfdir/reader.conf.d/reader.conf
%config(noreplace) %_sysconfdir/sysconfig/pcscd
%_initdir/pcscd
%_sbindir/pcscd
%_sbindir/update-reader.conf
%_mandir/*/*
%dir %_libdir/pcsc
%dir %_libdir/pcsc/drivers
%dir /var/run/pcscd
%files -n libpcsclite
%_libdir/libpcsclite.so.*
%files -n libpcsclite-devel
%doc ChangeLog doc/pcsc-lite.pdf doc/ifdhandler-3.pdf
%_libdir/libpcsclite.so
%_includedir/PCSC/
%_libdir/pkgconfig/libpcsclite.pc
%if_enabled static
%files -n libpcsclite-devel-static
%_libdir/libpcsclite.a
%endif
%changelog
…
Полный changelog можно просмотреть здесь