summaryrefslogtreecommitdiffstats
path: root/redhat/kdelibs/trinity-kdelibs-3.5.12.spec
diff options
context:
space:
mode:
authoralbator <albator@aria.vtf>2011-09-04 19:00:24 +0200
committeralbator <albator@aria.vtf>2011-09-04 19:00:24 +0200
commit21debd86d012442ee121ce271d56967290343975 (patch)
treef2b798f2bfc18b027b80a4c270846b3bb6d919ce /redhat/kdelibs/trinity-kdelibs-3.5.12.spec
parentaa68ab3ac0eb04feea60826d19e41e1c53ac9e0f (diff)
downloadtde-packaging-21debd86d012442ee121ce271d56967290343975.tar.gz
tde-packaging-21debd86d012442ee121ce271d56967290343975.zip
Initial KDELIBS build for RHEL 6
Versions 3.5.12 and 3.5.13
Diffstat (limited to 'redhat/kdelibs/trinity-kdelibs-3.5.12.spec')
-rwxr-xr-xredhat/kdelibs/trinity-kdelibs-3.5.12.spec263
1 files changed, 263 insertions, 0 deletions
diff --git a/redhat/kdelibs/trinity-kdelibs-3.5.12.spec b/redhat/kdelibs/trinity-kdelibs-3.5.12.spec
new file mode 100755
index 000000000..b6d1eaa16
--- /dev/null
+++ b/redhat/kdelibs/trinity-kdelibs-3.5.12.spec
@@ -0,0 +1,263 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?_prefix}" != "/usr"
+%define _variant .opt
+%define _libdir %{_prefix}/lib
+%define _docdir %{_prefix}/share/doc
+%endif
+
+
+Name: trinity-kdelibs
+Version: 3.5.12
+Release: 5%{?dist}%{?_variant}
+License: GPL
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+Summary: Trinity KDE Libraries
+
+Source0: kdelibs-%{version}.tar.gz
+Prefix: %{_prefix}
+
+BuildRequires: autoconf automake libtool m4
+BuildRequires: tqtinterface-devel
+BuildRequires: trinity-arts-devel
+BuildRequires: qt3-devel
+BuildRequires: avahi-devel avahi-qt3-devel
+BuildRequires: lua-devel
+BuildRequires: krb5-devel libxslt-devel cups-devel libart_lgpl-devel pcre-devel
+BuildRequires: libutempter-devel
+BuildRequires: bzip2-devel
+BuildRequires: openssl-devel
+
+Requires: tqtinterface
+Requires: trinity-arts
+Requires: qt3
+Requires: avahi avahi-qt3
+
+%if "%{?_prefix}" == "/usr"
+Obsoletes: kdelibs3
+%endif
+
+%description
+Libraries for the Trinity K Desktop Environment
+
+%package devel
+Requires: %{name}
+Summary: %{name} - Development files
+%if "%{?_prefix}" == "/usr"
+Obsoletes: kdelibs3-devel
+%endif
+
+%description devel
+Development files for %{name}
+
+%package apidocs
+Requires: %{name}
+Summary: %{name} - API documentation
+
+%description apidocs
+This package includes the KDE 3 API documentation in HTML
+format for easy browsing
+
+%prep
+%setup -q -n kdelibs
+%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
+%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
+%__make -f admin/Makefile.common
+
+%build
+unset QTDIR || : ; . /etc/profile.d/qt.sh
+export PATH="%{_bindir}:${PATH}"
+export LD_LIBRARY_PATH="%{_libdir}"
+export LDFLAGS="-L%{_libdir} -I%{_includedir}"
+%configure \
+ --disable-rpath \
+ --enable-new-ldflags \
+ --disable-dependency-tracking \
+ --disable-debug --disable-warnings --enable-final \
+ --disable-fast-malloc \
+ --enable-cups \
+ --enable-mitshm \
+ --enable-pie \
+ --enable-sendfile \
+ --with-distribution="$(cat /etc/redhat-release 2>/dev/null)" \
+ --with-alsa \
+ --without-aspell \
+ --without-hspell \
+ --disable-libfam \
+ --enable-dnotify \
+ --enable-inotify \
+ --with-utempter \
+ --with-jasper \
+ --with-openexr \
+ --with-xinerama \
+ --with-extra-includes=%{_includedir}/tqt
+
+# Do NOT use %{?_smp_mflags} for this package, or it will fail to build !
+%__make
+
+%install
+%__rm -rf %{?buildroot}
+%__mkdir_p %{?buildroot}
+%make_install
+
+%__mkdir_p %{?buildroot}%{_sysconfdir}/ld.so.conf.d
+cat <<EOF >%{?buildroot}%{_sysconfdir}/ld.so.conf.d/trinity.conf
+%if "%{?_prefix}" != "/usr"
+%{_libdir}
+%endif
+%{_libdir}/trinity
+EOF
+
+%clean
+%__rm -rf %{?buildroot}
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root,-)
+%doc README
+%doc COPYING.LIB
+%{_bindir}/artsmessage
+%{_bindir}/cupsdconf
+%{_bindir}/cupsdoprint
+%{_bindir}/dcop
+%{_bindir}/dcopclient
+%{_bindir}/dcopfind
+%{_bindir}/dcopobject
+%{_bindir}/dcopquit
+%{_bindir}/dcopref
+%{_bindir}/dcopserver
+%{_bindir}/dcopserver_shutdown
+%{_bindir}/dcopstart
+%{_bindir}/filesharelist
+%{_bindir}/fileshareset
+%{_bindir}/imagetops
+%{_bindir}/kab2kabc
+%{_bindir}/kaddprinterwizard
+%{_bindir}/kbuildsycoca
+%{_bindir}/kcmshell
+%{_bindir}/kconf_update
+%{_bindir}/kcookiejar
+%{_bindir}/kde-config
+%{_bindir}/kde-menu
+%{_bindir}/kded
+%{_bindir}/kdeinit
+%{_bindir}/kdeinit_shutdown
+%{_bindir}/kdeinit_wrapper
+%{_bindir}/kdesu_stub
+%{_bindir}/kdontchangethehostname
+%{_bindir}/kdostartupconfig
+%{_bindir}/kfile
+%{_bindir}/kfmexec
+%{_bindir}/khotnewstuff
+%{_bindir}/kinstalltheme
+%{_bindir}/kio_http_cache_cleaner
+%{_bindir}/kio_uiserver
+%{_bindir}/kioexec
+%{_bindir}/kioslave
+%{_bindir}/klauncher
+%{_bindir}/kmailservice
+%{_bindir}/kmimelist
+%attr(4755,root,root) %{_bindir}/kpac_dhcp_helper
+%{_bindir}/ksendbugmail
+%{_bindir}/kshell
+%{_bindir}/kstartupconfig
+%{_bindir}/ktelnetservice
+%{_bindir}/ktradertest
+%{_bindir}/kwrapper
+%{_bindir}/lnusertemp
+%{_bindir}/make_driver_db_cups
+%{_bindir}/make_driver_db_lpr
+%{_bindir}/meinproc
+%{_bindir}/networkstatustestservice
+%{_bindir}/start_kdeinit
+%{_bindir}/start_kdeinit_wrapper
+%attr(4755,root,root) %{_bindir}/kgrantpty
+%{_libdir}/lib*.so.*
+%{_libdir}/libkdeinit_*.so
+%{_libdir}/lib*.la
+%{_libdir}/kde3/
+%{_datadir}/applications/kde/*.desktop
+%{_datadir}/autostart/kab2kabc.desktop
+%{_datadir}/applnk/kio_iso.desktop
+%{_datadir}/apps/*
+%exclude %{_datadir}/apps/ksgmltools2/
+%config(noreplace) %{_datadir}/config/*
+%{_datadir}/emoticons/*
+%{_datadir}/icons/default.kde
+%{_datadir}/mimelnk/magic
+%{_datadir}/mimelnk/*/*.desktop
+%{_datadir}/services/*
+%{_datadir}/servicetypes/*
+%{_datadir}/icons/crystalsvg/
+%{_docdir}/HTML/en/kspell
+# remove conflicts with kdelibs-4
+%if "%{?_prefix}" != "/usr"
+%{_bindir}/checkXML
+%{_bindir}/ksvgtopng
+%{_bindir}/kunittestmodrunner
+%{_bindir}/preparetips
+%{_datadir}/icons/hicolor/index.theme
+%{_datadir}/locale/all_languages
+%{_docdir}/HTML/en/common/*
+%else
+%exclude %{_bindir}/checkXML
+%exclude %{_bindir}/ksvgtopng
+%exclude %{_bindir}/kunittestmodrunner
+%exclude %{_bindir}/preparetips
+%exclude %{_datadir}/config/colors
+%exclude %{_datadir}/config/kdebug.areas
+%exclude %{_datadir}/config/kdebugrc
+%exclude %{_datadir}/config/ksslcalist
+%exclude %{_datadir}/config/ui/ui_standards.rc
+%exclude %{_datadir}/icons/hicolor/index.theme
+%exclude %{_datadir}/locale/all_languages
+%exclude %{_docdir}/HTML/en/common/*
+%endif
+%{_sysconfdir}/ld.so.conf.d/trinity.conf
+
+# Provided by 'redhat-menus' package
+%exclude %{_sysconfdir}/xdg/menus/applications.menu
+
+%files devel
+%defattr(-,root,root,-)
+%{_bindir}/dcopidl*
+%{_bindir}/kconfig_compiler
+%{_bindir}/makekdewidgets
+%{_datadir}/apps/ksgmltools2/
+%{_includedir}/
+%{_libdir}/lib*.so
+%{_libdir}/lib*.a
+%exclude %{_libdir}/libkdeinit_*.so
+
+%files apidocs
+%defattr(-,root,root,-)
+%{_docdir}/%{name}-%{version}/
+%{_docdir}/HTML/en/kdelibs*
+
+
+%changelog
+* Sun Sep 04 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-5
+- Import to GIT
+- Removes cmake stuff, build with autotools only
+
+* Tue Aug 23 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-4
+- Add missing BuildRequires
+
+* Mon Aug 22 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-3
+- Correct macro to install under "/opt", if desired
+
+* Sun Dec 19 2010 Francois Andriot <francois.andriot@free.fr> - 3.5.12-2
+- Rebuilt
+
+* Fri Dec 17 2010 Francois Andriot <francois.andriot@free.fr> - 3.5.12-1
+- Add macro _kde3_prefix to define custom installation prefix (ex: /opt/trinity)
+- Add '--with-extra-includes=%{_includedir}/tqt'
+
+* Wed Dec 14 2010 Francois Andriot <francois.andriot@free.fr> - 3.5.12-0
+- Initial version
+