summaryrefslogtreecommitdiffstats
path: root/redhat/applications/smartcardauth
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2016-05-06 11:03:56 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2016-05-06 11:04:00 +0200
commitec791efcd6b9cc3795f63f54f0df6fbc6e561069 (patch)
tree10f245850afebe65f458d349eaa74a60bc3060d4 /redhat/applications/smartcardauth
parentbd96a61dc07912d136bae4eb9c0131658c92f43b (diff)
downloadtde-packaging-ec791efcd6b9cc3795f63f54f0df6fbc6e561069.tar.gz
tde-packaging-ec791efcd6b9cc3795f63f54f0df6fbc6e561069.zip
RPM Packaging: add kplayer, kxmleditor, qalculate, tastymenu, tde-style-baghira, tde-style-domino, tde-style-ia-ora, update tdelibs, tdebase
Diffstat (limited to 'redhat/applications/smartcardauth')
-rw-r--r--redhat/applications/smartcardauth/smartcardauth-14.0.0.spec40
1 files changed, 5 insertions, 35 deletions
diff --git a/redhat/applications/smartcardauth/smartcardauth-14.0.0.spec b/redhat/applications/smartcardauth/smartcardauth-14.0.0.spec
index 98257d522..aee1a1bb4 100644
--- a/redhat/applications/smartcardauth/smartcardauth-14.0.0.spec
+++ b/redhat/applications/smartcardauth/smartcardauth-14.0.0.spec
@@ -155,18 +155,7 @@ make CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}"
%install
export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot}
-
-%__install -D -m 755 scriptor_standalone.pl %{buildroot}%{tde_bindir}/scriptor.pl
-%__install -D -m 755 src/ckpasswd %{buildroot}%{tde_bindir}/smartauthckpasswd
-#%__install -D -m 755 src/ckpasswd %{buildroot}%{tde_bindir}/smartauthmon
-%__ln_s smartauthckpasswd %{buildroot}%{tde_bindir}/smartauthmon
-%__cp -Rp usr/* %{buildroot}%{tde_prefix}
-
-%__mkdir_p "%{buildroot}%{_sysconfdir}"
-%__cp -Rp "etc/"* "%{buildroot}%{_sysconfdir}"
-
-echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_datadir}/applications/smartcardauth.desktop"
-echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_datadir}/applications/smartcardrestrict.desktop"
+%__make install DESTDIR="%{?buildroot}"
%clean
@@ -174,36 +163,17 @@ echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_datadir}/applications/smartcardrest
%post
-update-desktop-database %{tde_tdeappdir} > /dev/null
-touch --no-create %{tde_datadir}/icons/hicolor || :
-gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
%postun
-update-desktop-database %{tde_tdeappdir} > /dev/null
-touch --no-create %{tde_datadir}/icons/hicolor || :
-gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%files
%defattr(-,root,root,-)
%doc gpl.txt
-%dir %{_sysconfdir}/init
-%{_sysconfdir}/init/smartauthlogin.conf
-%{_sysconfdir}/smartauth/
-%{tde_bindir}/cryptosmartcard.sh
-%{tde_bindir}/scriptor.pl
-%{tde_bindir}/setupcard.sh
-%{tde_bindir}/setupslavecard.sh
-%{tde_bindir}/smartauth.sh
-%{tde_bindir}/smartauthckpasswd
-%{tde_bindir}/smartauthmon
-%{tde_datadir}/applications/smartcardauth.desktop
-%{tde_datadir}/applications/smartcardrestrict.desktop
-%{tde_datadir}/icons/hicolor/16x16/apps/smartcardauth.png
-%{tde_datadir}/icons/hicolor/32x32/apps/smartcardauth.png
-%{tde_datadir}/initramfs-tools/
+%{_bindir}/cardpincheck
+%{_bindir}/cryptosmartcard.sh
+%{_datadir}/initramfs-tools/hooks/cryptlukssc
%changelog
-* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 2:1.0-1
-- Initial release for TDE 14.0.0