123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269 |
- %define make_cvs 1
- Name: kdewebdev
- Summary: Web development applications for the K Desktop Environment.
- Summary: K デスクトップ環境向け WEB 開発アプリケーション集
- Version: 3.5.10
- Release: 2%{?_dist_release}
- License: GPLv2
- URL: http://kdewebdev.org/
- Group: Applications/Development
- Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.bz2
- 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
- Patch2: arts-acinclude.patch
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- %if %{make_cvs}
- BuildRequires: automake libtool
- %endif
- BuildRequires: desktop-file-utils
- BuildRequires: kdelibs3-devel >= %{version}
- BuildRequires: arts-devel
- BuildRequires: libxslt-devel >= 1.0.18
- BuildRequires: libxml2-devel >= 2.6.0
- BuildRequires: perl
- 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
- The kdewebdev package contains Quanta Plus and other applications,
- which are useful for web development. They are runtime dependencies
- of Quanta Plus, and it is highly recommended that you install them.
- The extra applications are:
- * 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
- Summary: Development files for kdewebdev
- Group: Development/Libraries
- Requires: %{name} = %{version}-%{release}
- Requires: kdelibs3-devel
- Provides: kdewebdev3-devel = %{version}-%{release}
- %description devel
- Development files for kdewebdev.
- %prep
- %setup -q -a 1 -a 2 -a 3 -a 4
- %patch0 -p0 -b .javascript
- %patch1 -p1 -b .kxsldbg-icons
- %patch2 -p1 -b .autoconf
- install -m644 -p %{SOURCE5} kxsldbg/
- %if %{make_cvs}
- # hack/fix for newer automake
- sed -iautomake -e 's|automake\*1.10\*|automake\*1.1[0-5]\*|' admin/cvs.sh
- make -f admin/Makefile.common cvs
- %endif
- %build
- unset QTDIR && . /etc/profile.d/qt.sh
- %configure \
- --with-qt-libraries=$QTDIR/lib \
- --includedir=%{_includedir}/kde \
- --disable-rpath \
- --enable-new-ldflags \
- --disable-debug --disable-warnings \
- --disable-dependency-tracking --enable-final
- make %{?_smp_mflags}
- %install
- rm -rf $RPM_BUILD_ROOT
- make DESTDIR=$RPM_BUILD_ROOT install
- ## package separately? Why doesn't upstream include this? -- Rex
- # install docs
- for i in css html javascript ; do
- pushd $i
- ./install.sh <<EOF
- $RPM_BUILD_ROOT%{_datadir}/apps/quanta/doc
- EOF
- popd
- rm -rf $i
- done
- cp -a php php.docrc $RPM_BUILD_ROOT%{_datadir}/apps/quanta/doc/
- # Make symlinks relative
- pushd $RPM_BUILD_ROOT%{_datadir}/doc/HTML/en
- for i in *; do
- if [ -d $i -a -L $i/common ]; then
- rm -f $RPM_BUILD_ROOT%{_datadir}/doc/HTML/en/$i/common
- ln -sf ../common $RPM_BUILD_ROOT%{_datadir}/doc/HTML/en/$i
- fi
- done
- popd
- # rpmdocs
- for dir in k* quanta; do
- for file in AUTHORS ChangeLog README TODO ; do
- test -s "$dir/$file" && install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file"
- done
- done
- %clean
- rm -rf $RPM_BUILD_ROOT
- %post
- /sbin/ldconfig
- for f in crystalsvg hicolor locolor ; do
- touch --no-create %{_datadir}/icons/$f 2> /dev/null ||:
- done
- %postun
- /sbin/ldconfig
- if [ $1 -eq 0 ] ; then
- 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 || :
- fi
- %posttrans
- for f in crystalsvg hicolor locolor ; do
- gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||:
- done
- update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
- %files
- %defattr(-,root,root)
- %doc %{_datadir}/doc/HTML/en/*
- %{_bindir}/*
- %{_libdir}/*.so.*
- %{_libdir}/*.la
- %{_libdir}/kde3/*
- %{_datadir}/applications/*
- %{_datadir}/applnk
- %{_datadir}/apps/*
- %{_datadir}/config.kcfg/*
- %{_datadir}/icons/*
- %{_datadir}/mimelnk/*
- %{_datadir}/services/*
- %{_datadir}/servicetypes/*
- %files devel
- %defattr(-,root,root)
- %{_includedir}/kde/*
- %{_libdir}/*.so
- %changelog
- * Sat Jul 17 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.5.10-2
- - added BR: arts-devel
- * Sun Mar 21 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.5.10-1
- - updated to 3.5.10 based on FC
- - updated %%post and %%postun section, added %%posttrans section
- - built with new toolchain
- * Wed May 13 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.5.8-1
- - applied new versioning policy, spec in UTF-8
- - added Japanese summary
- - changed Group to Applictions/Development
- * Sun Nov 25 2007 NAKAMURA Kenta <kenta@vinelinux.org> 3.5.8-0vl3
- - added --with-qt-libraries option
- * Mon Oct 29 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.8-0vl2
- - rebuild for VineSeed
- * Mon Oct 29 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.8-0vl1
- - new upstream release
- * Wed Jun 27 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.7-0vl2
- - rebuild for VineSeed
- * Tue Jun 26 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.7-0vl1
- - new upstream release
- - added --enable-libsuffix option
- * Tue Oct 3 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.5-0vl2
- - rebuild for VineSeed
- * Tue Oct 3 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.5-0vl1
- - new upstream release
- * Wed Aug 2 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.4-0vl2
- - rebuild for VineSeed
- * Wed Aug 2 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.4-0vl1
- - new upstream release
- * Wed May 31 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.3-0vl2
- - rebuild for VineSeed
- * Wed May 31 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.3-0vl1
- - new upstream release
- * Wed Mar 22 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.2-0vl2
- - rebuild for VineSeed
- * Wed Mar 22 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.2-0vl1
- - new upstream release
- * Mon Feb 6 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.1-0vl2
- - rebuild for VineSeed
- * Mon Feb 6 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.1-0vl1
- - new upstream release
- * Thu Dec 8 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.0-0vl2
- - rebuild for VineSeed
- * Mon Nov 28 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.0-0vl1
- - new upstream release
- * Tue Nov 15 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.0-0vl0.rc1
- - new upstream release
- * Tue Oct 18 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.92-0vl1
- - new upstream release
- - delete Patch0
- * Thu Sep 22 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.91-0vl1
- - new upstream release
- - add Patch0
- * Mon Jul 25 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.2-0vl2
- - rebuild for VineSeed
- * Mon Jul 25 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.2-0vl1
- - new upstream release
- * Mon Jul 4 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.1-0vl2
- - build for VineSeed
- - add --disable-rpath to configure option
- * Tue Jun 7 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.1-0vl1
- - new upstream release
- - remove patch0
- * Mon Apr 25 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.0-0vl1
- - initial release for VineSeed
|