summaryrefslogtreecommitdiffstats
path: root/redhat
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2013-12-28 20:38:50 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2013-12-28 20:38:50 +0100
commit37e11c19d7d1ac39f18b9dba1bffee0dc09f9e08 (patch)
treec37795f07a7191f6e647a2ae3e093fa1cdd24849 /redhat
parent4a3e6e0caf179b6ba22f5fb76a6208f3e84ceade (diff)
downloadtde-packaging-37e11c19d7d1ac39f18b9dba1bffee0dc09f9e08.tar.gz
tde-packaging-37e11c19d7d1ac39f18b9dba1bffee0dc09f9e08.zip
RPM Packaging: update 3.5.13.2 for Fedora 20
Diffstat (limited to 'redhat')
-rw-r--r--redhat/applications/rosegarden/rosegarden-3.5.13.2.spec3
-rw-r--r--redhat/applications/tde-guidance/tde-guidance-3.5.13.2.spec8
-rw-r--r--redhat/applications/tde-style-qtcurve/tde-style-qtcurve-3.5.13.2.spec3
-rw-r--r--redhat/applications/tdeio-locate/tdeio-locate-3.5.13.2.spec3
-rw-r--r--redhat/applications/wlassistant/wlassistant-3.5.13.2.spec3
-rwxr-xr-xredhat/buildall-sru.sh5
-rw-r--r--redhat/dependencies/arts/arts-3.5.13.2.spec3
-rw-r--r--redhat/libraries/python-trinity/python-trinity-3.5.13.2.spec4
-rw-r--r--redhat/packages.fedora2
-rw-r--r--redhat/tde-i18n/tde-i18n-3.5.13.2.spec3
-rw-r--r--redhat/tdeaccessibility/tdeaccessibility-3.5.13.2.spec2
-rw-r--r--redhat/tdeaddons/tdeaddons-3.5.13.2.spec4
-rw-r--r--redhat/tdeartwork/tdeartwork-3.5.13.2.spec8
-rw-r--r--redhat/tdebase/pamd.kcheckpass-trinity.fc205
-rw-r--r--redhat/tdebase/pamd.kdm-trinity-np.fc2016
-rw-r--r--redhat/tdebase/pamd.kdm-trinity.fc2019
-rw-r--r--redhat/tdebase/pamd.kscreensaver-trinity.fc205
-rw-r--r--redhat/tdebase/tdm.fc20.ppbin0 -> 932 bytes
-rw-r--r--redhat/tdebase/tdm.fc20.te11
-rw-r--r--redhat/tdebase/tdm.service.fc2012
-rw-r--r--redhat/tdemultimedia/tdemultimedia-3.5.13.2.spec4
21 files changed, 107 insertions, 16 deletions
diff --git a/redhat/applications/rosegarden/rosegarden-3.5.13.2.spec b/redhat/applications/rosegarden/rosegarden-3.5.13.2.spec
index bff684ad2..4dc15831a 100644
--- a/redhat/applications/rosegarden/rosegarden-3.5.13.2.spec
+++ b/redhat/applications/rosegarden/rosegarden-3.5.13.2.spec
@@ -124,7 +124,8 @@ This package provides the data files necessary for running Rosegarden
%build
-unset QTDIR && . %{_sysconfdir}/profile.d/qt3.sh
+unset QTDIR QTINC QTLIB
+. %{_sysconfdir}/profile.d/qt3.sh
export PATH="%{tde_bindir}:${PATH}"
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
diff --git a/redhat/applications/tde-guidance/tde-guidance-3.5.13.2.spec b/redhat/applications/tde-guidance/tde-guidance-3.5.13.2.spec
index 19df57c69..e086535d3 100644
--- a/redhat/applications/tde-guidance/tde-guidance-3.5.13.2.spec
+++ b/redhat/applications/tde-guidance/tde-guidance-3.5.13.2.spec
@@ -270,7 +270,8 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%build
-unset QTDIR; . /etc/profile.d/qt3.sh
+unset QTDIR QTINC QTLIB
+. /etc/profile.d/qt3.sh
export PATH="%{tde_bindir}:${PATH}"
export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/python-qt3
export KDEDIR=%{tde_prefix}
@@ -291,7 +292,8 @@ fi
%install
-unset QTDIR; . /etc/profile.d/qt3.sh
+unset QTDIR QTINC QTLIB
+. /etc/profile.d/qt3.sh
export PATH="%{tde_bindir}:${PATH}"
export EXTRA_MODULE_DIR="%{python_sitearch}/%{name}"
@@ -389,7 +391,7 @@ chrpath -r %{tde_libdir} %{buildroot}%{tde_tdelibdir}/kcm_*.so
# generate guidance-power-manager script
cat <<EOF >%{buildroot}%{tde_bindir}/guidance-power-manager
#!/bin/sh
-export PYTHONPATH=%{python_sitearch}/%{name}
+export PYTHONPATH=%{python_sitearch}/%{name}:%{python_sitearch}/python-qt3
%{python_sitearch}/%{name}/guidance-power-manager.py &
EOF
chmod +x %{buildroot}%{tde_bindir}/guidance-power-manager
diff --git a/redhat/applications/tde-style-qtcurve/tde-style-qtcurve-3.5.13.2.spec b/redhat/applications/tde-style-qtcurve/tde-style-qtcurve-3.5.13.2.spec
index 5cf575e58..79a1fa67d 100644
--- a/redhat/applications/tde-style-qtcurve/tde-style-qtcurve-3.5.13.2.spec
+++ b/redhat/applications/tde-style-qtcurve/tde-style-qtcurve-3.5.13.2.spec
@@ -73,7 +73,8 @@ gtk2-engines-qtcurve.
%build
-unset QTDIR || : ; . /etc/profile.d/qt3.sh
+unset QTDIR QTINC QTLIB
+. /etc/profile.d/qt3.sh
export PATH="%{tde_bindir}:${PATH}"
export KDEDIR="%{tde_prefix}"
diff --git a/redhat/applications/tdeio-locate/tdeio-locate-3.5.13.2.spec b/redhat/applications/tdeio-locate/tdeio-locate-3.5.13.2.spec
index a7b94ad6d..4d8c47caa 100644
--- a/redhat/applications/tdeio-locate/tdeio-locate-3.5.13.2.spec
+++ b/redhat/applications/tdeio-locate/tdeio-locate-3.5.13.2.spec
@@ -71,7 +71,8 @@ as a directory.
%build
-unset QTDIR; . /etc/profile.d/qt3.sh
+unset QTDIR QTINC QTLIB
+. /etc/profile.d/qt3.sh
export PATH="%{tde_bindir}:${PATH}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
diff --git a/redhat/applications/wlassistant/wlassistant-3.5.13.2.spec b/redhat/applications/wlassistant/wlassistant-3.5.13.2.spec
index 27fe62275..b1a07813d 100644
--- a/redhat/applications/wlassistant/wlassistant-3.5.13.2.spec
+++ b/redhat/applications/wlassistant/wlassistant-3.5.13.2.spec
@@ -70,7 +70,8 @@ remembered so next time the user won't have to enter them again.
%build
-unset QTDIR; . /etc/profile.d/qt3.sh
+unset QTDIR QTINC QTLIB
+. /etc/profile.d/qt3.sh
export PATH="%{tde_bindir}:${PATH}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
diff --git a/redhat/buildall-sru.sh b/redhat/buildall-sru.sh
index 88cd4a13d..a77df7880 100755
--- a/redhat/buildall-sru.sh
+++ b/redhat/buildall-sru.sh
@@ -25,6 +25,11 @@ elif [ -x /usr/bin/yum ]; then
PKGINST='sudo yum install -y'
PKGDEL='sudo yum remove -y'
REPOUPDATE='(cd $(rpm -E %{_rpmdir}); createrepo $(uname -i); createrepo noarch; sudo yum clean all --disablerepo="*" --enablerepo="rpmbuild*")'
+elif [ -x /usr/bin/apt-get ]; then
+ PKGMGR="apt-get"
+ PKGINST='sudo apt-get install -y'
+ PKGDEL='sudo apt-get remove -y'
+ REPOUPDATE='(cd $(rpm -E %{_rpmdir}); genpkglist $PWD noarch; genpkglist $PWD i586; genpkglist $PWD x86_64; genbasedir $PWD i586 x86_64 noarch; sudo apt-get update)'
fi
BUILDDIR=$(rpm -E "%{_builddir}")
diff --git a/redhat/dependencies/arts/arts-3.5.13.2.spec b/redhat/dependencies/arts/arts-3.5.13.2.spec
index 1cfcc36b8..5a1d676e0 100644
--- a/redhat/dependencies/arts/arts-3.5.13.2.spec
+++ b/redhat/dependencies/arts/arts-3.5.13.2.spec
@@ -32,7 +32,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Source1: kcmartsrc-pulseaudio
-Patch0: arts-3.5.13.2-pkgconfig_requires.patch
+Patch1: arts-3.5.13.2-pkgconfig_requires.patch
BuildRequires: cmake >= 2.8
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
@@ -196,6 +196,7 @@ Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
+%patch1 -p1 -b .mad
%build
diff --git a/redhat/libraries/python-trinity/python-trinity-3.5.13.2.spec b/redhat/libraries/python-trinity/python-trinity-3.5.13.2.spec
index a0c0bca9b..3dc55c64d 100644
--- a/redhat/libraries/python-trinity/python-trinity-3.5.13.2.spec
+++ b/redhat/libraries/python-trinity/python-trinity-3.5.13.2.spec
@@ -136,12 +136,8 @@ export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/python-qt3
# Shitty hack to add LDFLAGS
%if 0%{?mgaversion} || 0%{?mdkversion}
%__sed -i */Makefile \
-%if 0%{?pclinuxos}
- -e "/^LIBS = / s|$| -lpython2.6 -lDCOP -lkdecore -lkdefx -lkdeui -lkresources -lkabc -lkparts -lkio|"
-%else
-e "/^LIBS = / s|$| -lpython2.7 -lDCOP -lkdecore -lkdefx -lkdeui -lkresources -lkabc -lkparts -lkio|"
%endif
-%endif
%__make %{_smp_mflags}
diff --git a/redhat/packages.fedora b/redhat/packages.fedora
index 93f9bad28..bc1e92869 100644
--- a/redhat/packages.fedora
+++ b/redhat/packages.fedora
@@ -18,6 +18,7 @@ cmake
commoncpp2-devel
cppunit-devel
createrepo
+db4-devel
djvulibre
djvulibre-devel
esound-devel
@@ -64,6 +65,7 @@ libdvdread-devel
libfontenc-devel
libgadu-devel
libgpod-devel
+libgsf-devel
libgssapi-devel
libical-devel
libidn-devel
diff --git a/redhat/tde-i18n/tde-i18n-3.5.13.2.spec b/redhat/tde-i18n/tde-i18n-3.5.13.2.spec
index e9c873191..bb56fe521 100644
--- a/redhat/tde-i18n/tde-i18n-3.5.13.2.spec
+++ b/redhat/tde-i18n/tde-i18n-3.5.13.2.spec
@@ -713,7 +713,8 @@ popd
%build
-unset QTDIR; . /etc/profile.d/qt3.sh
+unset QTDIR QTINC QTLIB
+. /etc/profile.d/qt3.sh
export PATH="%{tde_bindir}:${PATH}"
export KDEDIR=%{tde_prefix}
diff --git a/redhat/tdeaccessibility/tdeaccessibility-3.5.13.2.spec b/redhat/tdeaccessibility/tdeaccessibility-3.5.13.2.spec
index 329aaaf95..dac3ffdfa 100644
--- a/redhat/tdeaccessibility/tdeaccessibility-3.5.13.2.spec
+++ b/redhat/tdeaccessibility/tdeaccessibility-3.5.13.2.spec
@@ -56,8 +56,10 @@ BuildRequires: libXtst-devel
BuildRequires: libxcb-devel
%endif
%if 0%{?mgaversion} || 0%{?mdkversion}
+%if 0%{?pclinuxos} == 0
BuildRequires: %{_lib}xcb-devel
%endif
+%endif
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}xi-devel
diff --git a/redhat/tdeaddons/tdeaddons-3.5.13.2.spec b/redhat/tdeaddons/tdeaddons-3.5.13.2.spec
index b45ca3e93..1d08e43e6 100644
--- a/redhat/tdeaddons/tdeaddons-3.5.13.2.spec
+++ b/redhat/tdeaddons/tdeaddons-3.5.13.2.spec
@@ -59,8 +59,12 @@ BuildRequires: openssl-devel
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} >= 1220 || 0%{?mdkversion} || 0%{?mgaversion}
%define with_db 1
%if 0%{?mgaversion} || 0%{?mdkversion}
+%if 0%{?pclinuxos}
+BuildRequires: db4-devel
+%else
BuildRequires: db5-devel
%endif
+%endif
%if 0%{?fedora} >= 18
BuildRequires: libdb-devel
BuildRequires: libdb-cxx-devel
diff --git a/redhat/tdeartwork/tdeartwork-3.5.13.2.spec b/redhat/tdeartwork/tdeartwork-3.5.13.2.spec
index cc8745c2a..c56410ecd 100644
--- a/redhat/tdeartwork/tdeartwork-3.5.13.2.spec
+++ b/redhat/tdeartwork/tdeartwork-3.5.13.2.spec
@@ -636,7 +636,7 @@ This package is part of Trinity, and a component of the TDE artwork module.
%{tde_datadir}/applnk/System/ScreenSavers/tronbit.desktop
%endif
-%if 0%{?fedora} >= 15
+%if 0%{?fedora} >= 15 || 0%{?pclinuxos}
%{tde_datadir}/applnk/System/ScreenSavers/companioncube.desktop
%{tde_datadir}/applnk/System/ScreenSavers/hilbert.desktop
%{tde_datadir}/applnk/System/ScreenSavers/rubikblocks.desktop
@@ -644,13 +644,17 @@ This package is part of Trinity, and a component of the TDE artwork module.
%{tde_datadir}/applnk/System/ScreenSavers/tronbit.desktop
%endif
-%if 0%{?fedora} >= 18
+%if 0%{?fedora} >= 18 || 0%{?pclinuxos}
%{tde_datadir}/applnk/System/ScreenSavers/hexadrop.desktop
%{tde_datadir}/applnk/System/ScreenSavers/kaleidocycle.desktop
%{tde_datadir}/applnk/System/ScreenSavers/quasicrystal.desktop
%{tde_datadir}/applnk/System/ScreenSavers/unknownpleasures.desktop
%endif
+%if 0%{?fedora} >= 20
+%{tde_datadir}/applnk/System/ScreenSavers/geodesic.desktop
+%endif
+
%endif
##########
diff --git a/redhat/tdebase/pamd.kcheckpass-trinity.fc20 b/redhat/tdebase/pamd.kcheckpass-trinity.fc20
new file mode 100644
index 000000000..0a37e6e13
--- /dev/null
+++ b/redhat/tdebase/pamd.kcheckpass-trinity.fc20
@@ -0,0 +1,5 @@
+#%PAM-1.0
+auth include system-auth
+account include system-auth
+password include system-auth
+session include system-auth
diff --git a/redhat/tdebase/pamd.kdm-trinity-np.fc20 b/redhat/tdebase/pamd.kdm-trinity-np.fc20
new file mode 100644
index 000000000..0616e66f6
--- /dev/null
+++ b/redhat/tdebase/pamd.kdm-trinity-np.fc20
@@ -0,0 +1,16 @@
+ #%PAM-1.0
+auth required pam_env.so
+auth required pam_permit.so
+auth include postlogin
+account required pam_nologin.so
+account include system-auth
+password include system-auth
+session required pam_selinux.so close
+session required pam_loginuid.so
+session optional pam_console.so
+-session optional pam_ck_connector.so
+session required pam_selinux.so open
+session optional pam_keyinit.so force revoke
+session required pam_namespace.so
+session include system-auth
+session include postlogin
diff --git a/redhat/tdebase/pamd.kdm-trinity.fc20 b/redhat/tdebase/pamd.kdm-trinity.fc20
new file mode 100644
index 000000000..686433fce
--- /dev/null
+++ b/redhat/tdebase/pamd.kdm-trinity.fc20
@@ -0,0 +1,19 @@
+#%PAM-1.0
+auth [success=done ignore=ignore default=bad] pam_selinux_permit.so
+auth required pam_env.so
+auth substack system-auth
+-auth optional pam_gnome_keyring.so
+auth include postlogin
+account required pam_nologin.so
+account include system-auth
+password include system-auth
+session required pam_selinux.so close
+session required pam_loginuid.so
+session optional pam_console.so
+-session optional pam_ck_connector.so
+session required pam_selinux.so open
+session optional pam_keyinit.so force revoke
+session required pam_namespace.so
+session include system-auth
+-session optional pam_gnome_keyring.so auto_start
+session include postlogin
diff --git a/redhat/tdebase/pamd.kscreensaver-trinity.fc20 b/redhat/tdebase/pamd.kscreensaver-trinity.fc20
new file mode 100644
index 000000000..0a37e6e13
--- /dev/null
+++ b/redhat/tdebase/pamd.kscreensaver-trinity.fc20
@@ -0,0 +1,5 @@
+#%PAM-1.0
+auth include system-auth
+account include system-auth
+password include system-auth
+session include system-auth
diff --git a/redhat/tdebase/tdm.fc20.pp b/redhat/tdebase/tdm.fc20.pp
new file mode 100644
index 000000000..d0c0d4be8
--- /dev/null
+++ b/redhat/tdebase/tdm.fc20.pp
Binary files differ
diff --git a/redhat/tdebase/tdm.fc20.te b/redhat/tdebase/tdm.fc20.te
new file mode 100644
index 000000000..45d8a9a2c
--- /dev/null
+++ b/redhat/tdebase/tdm.fc20.te
@@ -0,0 +1,11 @@
+
+module tdm.fc20 1.0;
+
+require {
+ type fprintd_t;
+ type init_t;
+ class dbus send_msg;
+}
+
+#============= fprintd_t ==============
+allow fprintd_t init_t:dbus send_msg;
diff --git a/redhat/tdebase/tdm.service.fc20 b/redhat/tdebase/tdm.service.fc20
new file mode 100644
index 000000000..4c6136d94
--- /dev/null
+++ b/redhat/tdebase/tdm.service.fc20
@@ -0,0 +1,12 @@
+[Unit]
+Description=The Trinity login manager
+Conflicts=getty@tty1.service
+After=systemd-user-sessions.service getty@tty1.service plymouth-quit.service
+
+[Service]
+ExecStart=/opt/trinity/bin/kdm
+Restart=always
+IgnoreSIGPIPE=no
+
+[Install]
+Alias=display-manager.service
diff --git a/redhat/tdemultimedia/tdemultimedia-3.5.13.2.spec b/redhat/tdemultimedia/tdemultimedia-3.5.13.2.spec
index 62e718f27..8251da58a 100644
--- a/redhat/tdemultimedia/tdemultimedia-3.5.13.2.spec
+++ b/redhat/tdemultimedia/tdemultimedia-3.5.13.2.spec
@@ -130,13 +130,15 @@ BuildRequires: libXt-devel
# XINE support
%if 0%{?fedora} || 0%{?rhel} >= 4 || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion}
%define with_xine 1
+%if 0%{?pclinuxos} == 0
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}xine1.2-devel
%endif
+%endif
%if 0%{?fedora} || 0%{?rhel}
BuildRequires: xine-lib-devel
%endif
-%if 0%{?suse_version}
+%if 0%{?suse_version} || 0%{?pclinuxos}
BuildRequires: libxine-devel
%endif
%endif