diff --git a/README.md b/README.md index 7dbe203..a24394b 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # cie-middleware +Italian CIE (Electronic ID Card) PCSC middleware. + diff --git a/cie-middleware.spec b/cie-middleware.spec new file mode 100644 index 0000000..a68dac9 --- /dev/null +++ b/cie-middleware.spec @@ -0,0 +1,52 @@ +Name: cie-middleware +Version: 1.4.1 +Release: 1mamba +Summary: Italian CIE (Electronic ID Card) PCSC middleware +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/italia/cie-middleware-linux +Source: https://github.com/italia/cie-middleware-linux/releases/download/%{version}/cie-middleware_%{version}.tar.gz +License: BSD +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libpcsclite-devel +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END + +%description +Italian CIE (Electronic ID Card) PCSC middleware. + +%debug_package + +%prep +%setup -q -n %{name}_%{version} + +%build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +install -d -m755 %{buildroot}%{_datadir}/CIEID +install -D -m644 CIEID/* %{buildroot}%{_datadir}/CIEID/ +install -D -m755 libcie-pkcs11.so %{buildroot}%{_libdir}/libcie-pkcs11.so +install -D -m644 cieid.desktop %{buildroot}%{_datadir}/applications/cieid.desktop + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_libdir}/libcie-pkcs11.so +%dir %{_datadir}/CIEID +%{_datadir}/CIEID/cieid.jar +%{_datadir}/CIEID/logo_circle.png +%{_datadir}/applications/cieid.desktop + +%changelog +* Fri Nov 12 2021 Silvan Calarco 1.4.1-1mamba +- update to 1.4.1 + +* Tue Apr 20 2021 Silvan Calarco 1.3.1-1mamba +- package created using the webbuild interface