RPM Packaging: update for pclinuxos2016

pull/3/head
François Andriot 8 years ago
parent 6c9a00a162
commit 3f18efad8f

@ -246,8 +246,8 @@ ifneq ($(wildcard /boot/vmlinuz*.el5*),)
endif
torsocks:
# Do NOT build on RHEL 6, RHEL 7
ifeq ($(wildcard /boot/vmlinuz*.el6* /boot/vmlinuz*.el7*),)
# Do NOT build on RHEL 6, RHEL 7, Fedora > 20
ifeq ($(wildcard /boot/vmlinuz*.el6* /boot/vmlinuz*.el7* /boot/vmlinuz*.fc2*),)
$(call buildpkg,3rdparty/torsocks)
endif

@ -201,8 +201,7 @@ update-desktop-database %{tde_tdeappdir} -q &> /dev/null
%{tde_datadir}/services/kontact/basket.desktop
%{tde_datadir}/services/kontact/basket_v4.desktop
%{tde_tdedocdir}/HTML/en/basket/
%{tde_confdir}/magic/basket.magic.mgc
%changelog
* Mon Jul 29 2013 Francois Andriot <francois.andriot@free.fr> - 2:1.0.3.1-1
- Initial release for TDE 14.0.0

@ -100,8 +100,14 @@ This is the Trinity version.
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%if 0%{?suse_version} == 1315
%__sed -i "k9author/k9avidecode.cpp" \
-e "/pkt->destruct/ s|^|//|" \
-e "s|PIX_FMT_RGB24|AV_PIX_FMT_RGB24|g"
%endif
# Removes internal dvdread headers
%__rm -rf dvdread
%__rm -rf "dvdread"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@ -155,6 +161,7 @@ touch --no-create %{tde_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
update-desktop-database %{tde_appdir} &> /dev/null
%postun
touch --no-create %{tde_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :

@ -681,6 +681,7 @@ update-desktop-database -q &> /dev/null ||:
%{tde_tdelibdir}/krosskexiapp.*
%{tde_tdelibdir}/krosskexidb.*
%endif
%{tde_confdir}/magic/kexi.magic.mgc
##########

@ -141,11 +141,6 @@ export PATH="%{tde_bindir}:${PATH}"
%__mkdir_p "%{?buildroot}%{tde_tdeappdir}"
%__mv -f "%{?buildroot}%{tde_datadir}/applnk/"*"/%{tde_pkg}.desktop" "%{?buildroot}%{tde_tdeappdir}"
# Creates autostart shortcut
%__install -dm 755 $RPM_BUILD_ROOT%{tde_datadir}/autostart
%__ln_s "%{tde_tdeappdir}/ksensors.desktop" \
"$RPM_BUILD_ROOT%{tde_datadir}/autostart"
%find_lang %{tde_pkg}
# Updates applications categories for openSUSE

@ -197,9 +197,10 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%{tde_datadir}/icons/hicolor/*/apps/ksquirrel.png
%{tde_datadir}/mimelnk/image/*.desktop
%{tde_datadir}/services/ksquirrelpart.desktop
%{tde_datadir}/locale/*/LC_MESSAGES/ksquirrel.mo
%{tde_mandir}/man1/ksquirrel.1
%{tde_confdir}/magic/x-ras.magic.mgc
%{tde_confdir}/magic/x-sun.magic.mgc
%{tde_confdir}/magic/x-utah.magic.mgc
%changelog
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 2:0.8.0-1
- Initial release for TDE 14.0.0

@ -0,0 +1,5 @@
#%PAM-1.0
auth include system-auth
account include system-auth
password include system-auth
session include system-auth

@ -0,0 +1,7 @@
#%PAM-1.0
auth required pam_env.so
auth required pam_permit.so
account include system-auth
password include system-auth
session include system-auth
session optional pam_console.so

@ -0,0 +1,8 @@
#%PAM-1.0
auth include system-auth
auth required pam_nologin.so
account include system-auth
password include system-auth
session include system-auth
session optional pam_console.so
session required pam_namespace.so

@ -0,0 +1,5 @@
#%PAM-1.0
auth include system-auth
account include system-auth
password include system-auth
session include system-auth

@ -585,6 +585,8 @@ This package is part of Trinity, as a component of the TDE education module.
%{tde_datadir}/services/tdefile_kig.desktop
%{tde_datadir}/services/kig_part.desktop
%{tde_tdedocdir}/HTML/en/kig/
%{tde_confdir}/magic/cabri.magic.mgc
%{tde_confdir}/magic/drgeo.magic.mgc
%post -n trinity-kig
for i in crystalsvg hicolor ; do
@ -1454,5 +1456,3 @@ export PATH="%{tde_bindir}:${PATH}"
%changelog
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 14.0.0-1
- Initial release for TDE R14.0.0

@ -918,6 +918,7 @@ This package is part of Trinity, and a component of the TDE games module.
%{tde_libdir}/libkolf.so.1
%{tde_libdir}/libkolf.so.1.2.0
%{tde_tdedocdir}/HTML/en/kolf/
%{tde_confdir}/magic/kolf.magic.mgc
%post -n trinity-kolf
/sbin/ldconfig || :
@ -1651,5 +1652,3 @@ export PATH="%{tde_bindir}:${PATH}"
%changelog
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 14.0.0-1
- Initial release for TDE R14.0.0

@ -867,6 +867,7 @@ track of the time spent online for you.
%{tde_datadir}/apps/kppp/
%{tde_datadir}/icons/hicolor/*/apps/kppp.png
%{tde_tdedocdir}/HTML/en/kppp/
%{_sysconfdir}/ppp/peers/kppp-options
%if 0%{?with_consolehelper}
%config(noreplace) /etc/security/console.apps/kppp3
@ -1352,5 +1353,3 @@ done
%changelog
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 14.0.0-1
- Initial release for TDE 14.0.0

@ -458,7 +458,6 @@ individual needs.
%{tde_datadir}/apps/kdevdebugger/
%{tde_datadir}/apps/kdevdesigner/
%{tde_datadir}/apps/kdevdesignerpart/
%{tde_datadir}/apps/kdevdesignerpart/
%{tde_datadir}/apps/kdevdiff/
%{tde_datadir}/apps/kdevdistpart/
%{tde_datadir}/apps/kdevdocumentation/

Loading…
Cancel
Save