From c76ba860a3c1b48c3a9c57911bf7f17a4831b86f Mon Sep 17 00:00:00 2001 From: albator Date: Thu, 15 Sep 2011 20:26:59 +0200 Subject: Initial KDEWEBDEV for TDE 3.5.12 Confirmed working on RHEL 6 and Fedora 15 --- redhat/kdewebdev/css.tar.bz2 | Bin 0 -> 121295 bytes redhat/kdewebdev/html.tar.bz2 | Bin 0 -> 93345 bytes redhat/kdewebdev/javascript.patch | Bin 0 -> 239 bytes redhat/kdewebdev/javascript.tar.bz2 | Bin 0 -> 336563 bytes .../kdewebdev/kdewebdev-3.5.4-kxsldbg-icons.patch | 11 + redhat/kdewebdev/php_manual_en_20030401.tar.bz2 | Bin 0 -> 1346608 bytes redhat/kdewebdev/trinity-kdewebdev-3.5.12.spec | 222 +++++++++++++++++++++ 7 files changed, 233 insertions(+) create mode 100644 redhat/kdewebdev/css.tar.bz2 create mode 100644 redhat/kdewebdev/html.tar.bz2 create mode 100644 redhat/kdewebdev/javascript.patch create mode 100644 redhat/kdewebdev/javascript.tar.bz2 create mode 100644 redhat/kdewebdev/kdewebdev-3.5.4-kxsldbg-icons.patch create mode 100644 redhat/kdewebdev/php_manual_en_20030401.tar.bz2 create mode 100644 redhat/kdewebdev/trinity-kdewebdev-3.5.12.spec (limited to 'redhat') diff --git a/redhat/kdewebdev/css.tar.bz2 b/redhat/kdewebdev/css.tar.bz2 new file mode 100644 index 000000000..c66fc5ba4 Binary files /dev/null and b/redhat/kdewebdev/css.tar.bz2 differ diff --git a/redhat/kdewebdev/html.tar.bz2 b/redhat/kdewebdev/html.tar.bz2 new file mode 100644 index 000000000..7aa4db193 Binary files /dev/null and b/redhat/kdewebdev/html.tar.bz2 differ diff --git a/redhat/kdewebdev/javascript.patch b/redhat/kdewebdev/javascript.patch new file mode 100644 index 000000000..200e21ee8 Binary files /dev/null and b/redhat/kdewebdev/javascript.patch differ diff --git a/redhat/kdewebdev/javascript.tar.bz2 b/redhat/kdewebdev/javascript.tar.bz2 new file mode 100644 index 000000000..aa044ec2d Binary files /dev/null and b/redhat/kdewebdev/javascript.tar.bz2 differ diff --git a/redhat/kdewebdev/kdewebdev-3.5.4-kxsldbg-icons.patch b/redhat/kdewebdev/kdewebdev-3.5.4-kxsldbg-icons.patch new file mode 100644 index 000000000..6de350389 --- /dev/null +++ b/redhat/kdewebdev/kdewebdev-3.5.4-kxsldbg-icons.patch @@ -0,0 +1,11 @@ +--- kdewebdev-3.5.4/kxsldbg/Makefile.am.orig 2006-08-25 17:24:17.000000000 +0200 ++++ kdewebdev-3.5.4/kxsldbg/Makefile.am 2006-08-25 17:25:10.000000000 +0200 +@@ -56,6 +56,8 @@ + shellrcdir = $(kde_datadir)/kxsldbg + shellrc_DATA = kxsldbg_shell.rc + ++KDE_ICON = kxsldbg ++ + messages: rc.cpp + LIST=`find . -name \*.ui -o -name \*.rc`; \ + $(EXTRACTRC) $$LIST >> rc.cpp ;\ diff --git a/redhat/kdewebdev/php_manual_en_20030401.tar.bz2 b/redhat/kdewebdev/php_manual_en_20030401.tar.bz2 new file mode 100644 index 000000000..0b39d8cd0 Binary files /dev/null and b/redhat/kdewebdev/php_manual_en_20030401.tar.bz2 differ diff --git a/redhat/kdewebdev/trinity-kdewebdev-3.5.12.spec b/redhat/kdewebdev/trinity-kdewebdev-3.5.12.spec new file mode 100644 index 000000000..d89e250f3 --- /dev/null +++ b/redhat/kdewebdev/trinity-kdewebdev-3.5.12.spec @@ -0,0 +1,222 @@ +# Default version for this component +%if "%{?version}" == "" +%define version 3.5.12 +%endif +%define release 1 + +# 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 _docdir %{_prefix}/share/doc +%endif + +# TDE 3.5.12 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir} +%define tde_includedir %{_includedir}/kde +%define tde_libdir %{_libdir}/kde3 + +Name: trinity-kdewebdev +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} +License: GPL +Summary: Web development applications +Group: Applications/Editors + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} + +Source0: kdewebdev-%{version}.tar.gz +Source1: http://download.sourceforge.net/quanta/css.tar.bz2 +Source2: http://download.sourceforge.net/quanta/html.tar.bz2 +Source3: http://download.sourceforge.net/quanta/php_manual_en_20030401.tar.bz2 +Source4: http://download.sourceforge.net/quanta/javascript.tar.bz2 +Source5: hi48-app-kxsldbg.png + +Patch0: javascript.patch +Patch1: kdewebdev-3.5.4-kxsldbg-icons.patch + + +BuildRequires: desktop-file-utils +BuildRequires: trinity-kdelibs-devel +BuildRequires: trinity-kdesdk-devel +BuildRequires: libxslt-devel libxml2-devel +%if 0%{?rhel} == 4 +# a bogus dep in libexslt.la file from EL-4 (WONTFIX bug http://bugzilla.redhat.com/142241) +BuildRequires: libgcrypt-devel +%endif +BuildRequires: perl + +Requires: %{name}-libs = %{version}-%{release} + +# optional +Requires: tidy + +Provides: kdewebdev3 = %{version}-%{release} + +Obsoletes: quanta < %{version}-%{release} +Provides: quanta = %{version}-%{release} + +%define kommander_ver 1.2.2 +#Obsoletes: kommander < %{kommander_ver}-%{release} +Provides: kommander = %{kommander_ver}-%{release} + +%description +%{summary}, including: +* kfilereplace: batch search and replace tool +* kimagemapeditor: HTML image map editor +* klinkstatus: link checker +* kommander: visual dialog building tool +* kxsldbg: xslt Debugger +* quanta+: web development + +%package devel +Group: Development/Libraries +Summary: Header files and documentation for %{name} +Provides: kdewebdev3-devel = %{version}-%{release} +Requires: trinity-kdelibs-devel +Requires: %{name}-libs = %{version}-%{release} +Obsoletes: quanta-devel < %{version}-%{release} +%description devel +%{summary}. + +%package libs +Summary: %{name} runtime libraries +Group: System Environment/Libraries +Requires: trinity-kdelibs +# helps multilib upgrades +%description libs +%{summary}. + + +%prep +%setup -q -a 1 -a 2 -a 3 -a 4 -n kdewebdev +%patch0 -p0 -b .javascript +%patch1 -p1 -b .kxsldbg-icons + +install -m644 -p %{SOURCE5} kxsldbg/ + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f admin/Makefile.common + + +%build +unset QTDIR || : ; source /etc/profile.d/qt.sh +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +%if 0%{?fedora} >= 15 +export CXXFLAGS="${CXXFLAGS} -fpermissive" +%endif + +%configure \ + --includedir=%{tde_includedir} \ + --disable-rpath \ + --enable-new-ldflags \ + --disable-debug --disable-warnings \ + --disable-dependancy-tracking --enable-final \ + --with-extra-includes=%{_includedir}/tqt \ + +%__make %{?_smp_mflags} + + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{?buildroot} +%make_install + + +## package separately? Why doesn't upstream include this? -- Rex +# install docs +for i in css html javascript ; do + pushd $i + ./install.sh < /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun +for f in crystalsvg hicolor locolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + + +%post libs -p /sbin/ldconfig + +%postun libs -p /sbin/ldconfig + + +%clean +%__rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README +%doc rpmdocs/* +%{_bindir}/* +%{tde_libdir}/* +%{_datadir}/applications/kde/* +%{_datadir}/applnk/.hidden/* +%{_datadir}/apps/* +%doc %{_datadir}/apps/quanta/doc +%{_datadir}/config.kcfg/* +%{_datadir}/icons/crystalsvg/*/*/* +%{_datadir}/icons/hicolor/*/*/* +%{_datadir}/icons/locolor/*/*/* +%{_datadir}/mimelnk/application/* +%{_datadir}/services/* +%{_datadir}/servicetypes/* +%{tde_docdir}/HTML/en/* + + +%files libs +%defattr(-,root,root,-) +%{_libdir}/lib*.so.* +%{_libdir}/lib*.la + +%files devel +%defattr(-,root,root,-) +%{_libdir}/lib*.so +%{tde_includedir}/* + + +%changelog +* Thu Sep 15 2011 Francois Andriot - 3.5.12-1 +- Initial build for RHEL 6 / Fedora 15 +- Use Spec file from Fedora8 "kdewebdev-3.5.10-1" +- Import to GIT -- cgit v1.2.1