Repackage

This commit is contained in:
eulerstorage 2020-01-09 21:27:30 +08:00
parent 596b7c930c
commit a5c1dd2400
4 changed files with 4 additions and 54 deletions

View File

@ -1,30 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
"http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
<policyconfig>
<vendor>The PCSC-lite Project</vendor>
<vendor_url>http://pcsclite.alioth.debian.org/</vendor_url>
<!-- <icon_name>smart-card</icon_name> -->
<action id="org.debian.pcsc-lite.access_pcsc">
<description>Access to the PC/SC daemon</description>
<message>Authentication is required to access the PC/SC daemon</message>
<defaults>
<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
</action>
<action id="org.debian.pcsc-lite.access_card">
<description>Access to the smart card</description>
<message>Authentication is required to access the smart card</message>
<defaults>
<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
</action>
</policyconfig>

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEE9eEbn/6REUb0HZU9eKG03+j5xX4FAlo4D+QACgkQeKG03+j5
xX5DZQ//SMsKZKAm1DBU3IMYjMkHNchuouuzdK5e8y3J/xs2fL2ZI3m2pHHBUsgH
Pol+4D78RgZGD/BG8NBZe3vUoCeeW1VY7Ovn+ZwIV0DgGRJ0tYazVMNBz/mmDFlv
RGcoBHeSVvGrrhd8IIx1oAEx96rWuPwUdLiMozoTmVhd0YE0H6qc3uNga1PoWs5m
ZYnz7d6OrGGlvOSHQUMqqxd1gTuktBRmVvxWbjjCNqUNE/JitjgBnjf3BU5ylFuV
SwvDwN6g404oQbSzdqJNyZd/ZQfTYhc+AS7Xm2kFl1tZoHCIAbYYSBdz138qSpMN
XVkIVBQ/iXuGEEqSsIZ5MIs0L72oUATpr5DL8XhcY+HP27SRB14kEp1OrCAwjOGt
nV46dRzPV5LqeA+2WKP993ZAjZfBEwEB6OdFYNyEkulL1f2FSuZKat4xgOHiyFH0
99/mbnVy5js2MOm3il4oihLNjkiT2QpuI88Q9JbgqJAwM4GKGIk0tCST+DIzNkA0
LPLaYskNYXTywl0q9l2dS8lpUUF2ubMlHf+3BySDhyrH2lQrc2h/bfLW62LOKxnG
4GhrnchaiFkRQoVRu5SoKdwKrMvtStXWnsZLC1K9xyWTBhx3WjgLkn90DQThhib+
i4h1XiHTuEaqoADT9iwqsJ1BiIYtLUPcLzcnQCzaH0gtWme0XxA=
=ie6D
-----END PGP SIGNATURE-----

View File

@ -1,13 +1,10 @@
Name: pcsc-lite Name: pcsc-lite
Version: 1.8.23 Version: 1.8.23
Release: 6 Release: 7
Summary: Middleware to access a smart card using SCard API (PC/SC) Summary: Middleware to access a smart card using SCard API (PC/SC)
License: BSD License: BSD
URL: https://pcsclite.apdu.fr/ URL: https://pcsclite.apdu.fr/
Source0: https://pcsclite.apdu.fr/files/%{name}-%{version}.tar.bz2 Source0: https://pcsclite.apdu.fr/files/%{name}-%{version}.tar.bz2
Source1: https://pcsclite.apdu.fr/files/%{name}-%{version}.tar.bz2.asc
Source2: gpgkey-F5E11B9FFE911146F41D953D78A1B4DFE8F9C57E.gpg
Source3: org.debian.pcsc-lite.policy
BuildRequires: systemd-devel polkit-devel gettext-devel BuildRequires: systemd-devel polkit-devel gettext-devel
BuildRequires: perl-podlators doxygen gnupg2 gcc git BuildRequires: perl-podlators doxygen gnupg2 gcc git
@ -44,8 +41,6 @@ Obsoletes: %{name}-doc
This package includes documentation for PC/SC Lite. This package includes documentation for PC/SC Lite.
%prep %prep
gpgv2 --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
%autosetup -n %{name}-%{version} -p1 -S git %autosetup -n %{name}-%{version} -p1 -S git
for file in ChangeLog; do for file in ChangeLog; do
@ -67,8 +62,6 @@ rm -f doc/api/*.{map,md5}
%install %install
%make_install %make_install
rm -f %{buildroot}/%{_datadir}/polkit-1/actions/org.debian.pcsc-lite.policy
install -D -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/polkit-1/actions/
mkdir -p %{buildroot}/%{_sysconfdir}/reader.conf.d mkdir -p %{buildroot}/%{_sysconfdir}/reader.conf.d
mkdir -p %{buildroot}/%{_libdir}/pcsc/drivers mkdir -p %{buildroot}/%{_libdir}/pcsc/drivers
@ -116,6 +109,9 @@ mkdir -p %{buildroot}/%{_localstatedir}/run/pcscd
%changelog %changelog
* Thu Jan 9 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.8.23-7
- Repackage
* Sun Sep 29 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.8.23-6 * Sun Sep 29 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.8.23-6
- Fix postun in spec file - Fix postun in spec file