Branch: master

9e3b9d1e 2016-04-19 16:07:05 François Andriot
RPM Packaging: update tde-style-baghira and tde-style-ia-ora
A redhat/applications/tde-style-baghira/tde-style-baghira.spec
A redhat/applications/tde-style-ia-ora/style-ia-ora-14.0.0.spec
R redhat/extras/style-ia-ora/style-ia-ora-14.0.0.spec
R redhat/extras/theme-baghira/baghira-0.8-fix_autotools.patch
R redhat/extras/theme-baghira/baghira-0.8.tar.bz2
R redhat/extras/theme-baghira/baghira-3.5.13.1-fix_ftbfs.patch
R redhat/extras/theme-baghira/theme-baghira-3.5.13.1.spec
R redhat/extras/theme-baghira/theme-baghira-3.5.13.2.spec
R redhat/extras/theme-baghira/theme-baghira.tar.gz
diff --git a/redhat/applications/tde-style-baghira/tde-style-baghira.spec b/redhat/applications/tde-style-baghira/tde-style-baghira.spec
new file mode 100644
index 0000000..9cd043e
--- /dev/null
+++ b/redhat/applications/tde-style-baghira/tde-style-baghira.spec
@@ -0,0 +1,153 @@
+# TDE specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+%define tde_mandir %{tde_datadir}/man
+
+%define tde_tdeappdir %{tde_datadir}/applications/tde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+Name:                   trinity-theme-baghira
+Version:                0.8
+Release:                1%{?dist}
+Summary:                Baghira theme for Trinity
+License:                GPL
+Group:                  Graphical desktop/TDE
+Source0:                theme-baghira-%{tde_version}.tar.gz
+Url:                    http://baghira.sourceforge.net/
+BuildRoot:              %{_tmppath}/baghira-%{version}-buildroot
+
+BuildRequires:          trinity-tdelibs-devel >= %{tde_version}
+BuildRequires:          trinity-tdebase-devel >= %{tde_version}
+
+%if 0%{?fedora} || 0%{?rhel} || 0%{?suse_version}
+BuildRequires:          libjpeg-devel
+%else
+BuildRequires:          X11-devel
+BuildRequires:          jpeg-devel
+%endif
+
+%description
+Baghira is a very nice native Trinity style and windec
+originally based on Mosfet's Liquid style.
+
+This package contains non-free icons.
+
+%package devel
+Summary:        Header files and static libraries from %name
+Group:          Development/C
+Requires:		%{name} = %{version}-%{release}
+
+%description devel
+Libraries and includes files for
+developing programs based on %name
+
+This package contains non-free icons.
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+%prep
+%setup -q -n baghira-%{version} 
+
+%__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"
+%__make -f "admin/Makefile.common"
+
+
+%build
+unset QTDIR QTINC QTLIB
+export PATH="%{tde_bindir}:${PATH}"
+export KDEDIR=%{tde_prefix}
+
+%configure \
+  --prefix=%{tde_prefix} \
+  --exec-prefix=%{tde_prefix} \
+  --bindir=%{tde_bindir} \
+  --libdir=%{tde_libdir} \
+  --includedir=%{tde_tdeincludedir} \
+  --datadir=%{tde_datadir} \
+  --disable-static \
+  --enable-rpath \
+  --disable-debug \
+  --disable-warnings \
+  --disable-dependency-tracking \
+  --enable-final \
+  --with-extra-includes=%{tde_includedir}/tqt
+
+%__make %{?_smp_mflags}
+
+
+%install
+%__rm -rf $RPM_BUILD_ROOT
+%__make install DESTDIR=$RPM_BUILD_ROOT
+
+install -d %{buildroot}/%{tde_libdir}/baghira-%{version}
+install -d %{buildroot}/%{tde_tdeincludedir}/baghira-%{version}
+
+mv %{buildroot}/%{tde_libdir}/libbaghirastarter.la %{buildroot}/%{tde_libdir}/baghira-%{version}/libbaghirastarter.la
+mv %{buildroot}/%{tde_libdir}/libbaghirastarter.so %{buildroot}/%{tde_libdir}/baghira-%{version}/libbaghirastarter.so.%{major}
+mv %{buildroot}/%{tde_libdir}/usermanager_panelapplet.la %{buildroot}/%{tde_libdir}/baghira-%{version}/usermanager_panelapplet.la
+mv %{buildroot}/%{tde_libdir}/usermanager_panelapplet.so %{buildroot}/%{tde_libdir}/baghira-%{version}/usermanager_panelapplet.so.%{major}
+mv %{buildroot}/%{tde_tdeincludedir}/baghirasidebar.h %{buildroot}/%{tde_tdeincludedir}/baghira-%{version}/baghirasidebar.h
+mv %{buildroot}/%{tde_tdeincludedir}/baghirasidebariface.h %{buildroot}/%{tde_tdeincludedir}/baghira-%{version}/baghirasidebariface.h
+mv %{buildroot}/%{tde_tdeincludedir}/dndlistbox.h %{buildroot}/%{tde_tdeincludedir}/baghira-%{version}/dndlistbox.h
+mv %{buildroot}/%{tde_tdeincludedir}/linkview.h %{buildroot}/%{tde_tdeincludedir}/baghira-%{version}/linkview.h
+mv %{buildroot}/%{tde_tdeincludedir}/listboxlink.h %{buildroot}/%{tde_tdeincludedir}/baghira-%{version}/listboxlink.h
+
+ln -s libbaghirastarter.so.%{major} %{buildroot}/%{tde_libdir}/baghira-%{version}/libbaghirastarter.so
+ln -s usermanager_panelapplet.so.%{major} %{buildroot}/%{tde_libdir}/baghira-%{version}/usermanager_panelapplet.so
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root)
+%doc README AUTHORS ChangeLog COPYING NEWS TODO
+%{tde_bindir}/bab
+%{tde_tdelibdir}/b_menu_panelapplet.*
+%{tde_tdelibdir}/kstyle_baghira_config.*
+%{tde_tdelibdir}/kwin3_baghira.*
+%{tde_tdelibdir}/kwin_baghira_config.*
+%{tde_tdelibdir}/plugins/styles/baghira.*
+%{tde_datadir}/apps/kdisplay/color-schemes/Aqua*
+#%{tde_datadir}/apps/kicker/applets/b_menuapplet.desktop
+%{tde_datadir}/apps/kicker/applets/usermanager.desktop
+%{tde_datadir}/apps/konqsidebartng/add/baghirasidebar_add.desktop
+%{tde_datadir}/apps/konqsidebartng/entries/baghirasidebar.desktop
+%{tde_datadir}/apps/kicker/applets/starter.desktop
+%{tde_datadir}/apps/kstyle/themes/baghira.themerc
+%{tde_datadir}/apps/kwin/baghira.desktop
+%{tde_datadir}/icons/crystalsvg/*/*/baghira*
+%{tde_datadir}/icons/crystalsvg/*/*/bab_*
+%{tde_datadir}/apps/baghira/poof.png
+%{tde_datadir}/icons/crystalsvg/22x22/actions/bStarter.png
+%{tde_datadir}/icons/crystalsvg/22x22/actions/bStarter_down.png
+%{tde_datadir}/icons/crystalsvg/22x22/actions/bStarter_hover.png
+
+
+%files devel
+%defattr(-,root,root)
+%{tde_libdir}/baghira-%{version}/libbaghirastarter.la
+%{tde_libdir}/baghira-%{version}/libbaghirastarter.so*
+%{tde_tdelibdir}/konqsidebar_baghirasidebar.la
+%{tde_tdelibdir}/konqsidebar_baghirasidebar.so
+%{tde_libdir}/baghira-%{version}/usermanager_panelapplet.la
+%{tde_libdir}/baghira-%{version}/usermanager_panelapplet.so*
+%{tde_tdeincludedir}/baghira-%{version}/baghirasidebar.h
+%{tde_tdeincludedir}/baghira-%{version}/baghirasidebariface.h
+%{tde_tdeincludedir}/baghira-%{version}/dndlistbox.h
+%{tde_tdeincludedir}/baghira-%{version}/linkview.h
+%{tde_tdeincludedir}/baghira-%{version}/listboxlink.h
+
+
+%changelog
diff --git a/redhat/applications/tde-style-ia-ora/style-ia-ora-14.0.0.spec b/redhat/applications/tde-style-ia-ora/style-ia-ora-14.0.0.spec
new file mode 100644
index 0000000..cc7ab27
--- /dev/null
+++ b/redhat/applications/tde-style-ia-ora/style-ia-ora-14.0.0.spec
@@ -0,0 +1,130 @@
+#
+# spec file for package style-ia-ora (version R14)
+#
+# Copyright (c) 2014 Trinity Desktop Environment
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+#
+# Please submit bugfixes or comments via http://www.trinitydesktop.org/
+#
+
+# Default version for this component
+%define tde_pkg style-ia-ora
+%if "%{?tde_version}" == ""
+%define tde_version 14.0.0
+%endif
+
+# TDE specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+%define tde_mandir %{tde_datadir}/man
+%define tde_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/tde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+
+Name:			trinity-%{tde_pkg}
+Summary:        Mandriva theme for TDE - Widget design
+Version:        1.0.8
+Release:		%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}
+
+License:        GPL
+Group:          Environment/Desktop
+URL:            http://www.mandrivalinux.com/
+
+Prefix:			%{tde_prefix}
+BuildRoot:		%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0:        %{tde_pkg}-%{tde_version}.tar.gz
+
+Prefix:		%{_prefix}
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot
+
+BuildRequires:	trinity-tdelibs-devel >= %{tde_version}
+BuildRequires:	trinity-tdebase-devel >= %{tde_version}
+
+Requires:	trinity-twin
+
+%description
+Mandriva theme for Trinity
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n ia_ora-kde-%{version}
+
+%__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"
+%__make -f "admin/Makefile.common"
+
+
+%build
+unset QTDIR QTINC QTLIB
+export PATH="%{tde_bindir}:${PATH}"
+
+%configure \
+  --prefix=%{tde_prefix} \
+  --exec-prefix=%{tde_prefix} \
 ** Diff limit reached (max: 250 lines) **