Browse Source

upload: kuftp, kcoloredit, kdbg, kiconedit

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@653 ec354946-7b23-47d6-9f5a-488ba84defc7
inagaki 14 years ago
parent
commit
01498e8793
4 changed files with 90 additions and 21 deletions
  1. 5 1
      k/kcoloredit/kcoloredit-vl.spec
  2. 39 9
      k/kdbg/kdbg-vl.spec
  3. 5 1
      k/kiconedit/kiconedit-vl.spec
  4. 41 10
      k/kuftp/kuftp-vl.spec

+ 5 - 1
k/kcoloredit/kcoloredit-vl.spec

@@ -1,7 +1,7 @@
 %define iversion 2.0.0
 
 Name:           kcoloredit
-Version:        4.3.3
+Version:        4.4.0
 Release:        1%{?_dist_release}
 Summary:        A color palette Editor
 Summary(ja):    カラーパレットエディタ
@@ -86,6 +86,10 @@ xdg-icon-resource forceupdate --theme hicolor 2> /dev/null || :
 %{_datadir}/icons//hicolor/*/*/kcoloredit.png
 
 %changelog
+* Mon Mar 22 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.0-1
+- new upstream release
+- built with new toolchain
+
 * Fri Nov 27 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.3.3-1
 - new upstream release
 

+ 39 - 9
k/kdbg/kdbg-vl.spec

@@ -2,18 +2,20 @@ Summary: KDbg - a graphical user interface to gdb
 Summary(ja): GDB のグラフィカルユーザインターフェイス
 Name: kdbg
 Version: 2.1.1
-Release: 1%{?_dist_release}
-Group: Applications/Development
+Release: 2%{?_dist_release}
 License: GPL
-Source: %{name}-%{version}.tar.gz
 URL: http://www.kdbg.org/
+Group: Applications/Development
+
+Source: %{name}-%{version}.tar.gz
+Patch0: kdbg-2.1.0-gcc44.patch
+
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
-BuildRequires: qt-devel >= 3.2.1
-BuildRequires: kdelibs-devel >= 3.1.4
-BuildRequires: libpng-devel zlib-devel libart_lgpl-devel
+BuildRequires: kdelibs3-devel
+BuildRequires: desktop-file-utils
+Requires(post): desktop-file-utils
+Requires(postun): desktop-file-utils
 Requires: gdb
-Requires: qt >= 3.2.1
-Requires: kdelibs >= 3.1.4
 
 %description
 KDbg is a graphical user interface to gdb, the GNU debugger. 
@@ -25,9 +27,15 @@ of course debug any program.
 
 %prep
 %setup -q
+%patch0 -p1 -b .gcc44
 
 %build
-%configure
+unset QTDIR || : ; source /etc/profile.d/qt.sh
+
+%configure \
+	--disable-rpath \
+        --enable-new-ldflags
+
 make %{?_smp_mflags}
 
 %install
@@ -37,6 +45,21 @@ make DESTDIR=$RPM_BUILD_ROOT install
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
+
+%postun
+if [ $1 -eq 0 ] ; then
+  update-desktop-database -q &> /dev/null
+  touch --no-create %{_datadir}/icons/hicolor &> /dev/null
+  gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
+fi
+
+%posttrans
+update-desktop-database -q &> /dev/null
+gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
+
+
 %files
 %defattr(-,root,root)
 %doc COPYING ChangeLog README
@@ -49,6 +72,13 @@ rm -rf $RPM_BUILD_ROOT
 %doc %{_datadir}/doc/HTML/*
 
 %changelog
+* Wed Mar 24 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.1.1-2
+- rebuilt with new toolchain
+- added %%post, %%postun and %%posttrans section
+- added Patch0 from Fedora
+  * Fri Feb 27 2009 Than Ngo <than@redhat.com> - 2.1.1-1
+  - fix build issue against gcc-4.4
+
 * Sun May 10 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.1.1-1
 - applied new versioning policy, spec in UTF-8
 - new upstream release

+ 5 - 1
k/kiconedit/kiconedit-vl.spec

@@ -1,5 +1,5 @@
 Name:           kiconedit
-Version:        4.3.3
+Version:        4.4.0
 Release:        1%{?_dist_release}
 Summary:        An icon editor
 Summary(ja):    アイコンエディタ
@@ -89,6 +89,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
 
 
 %changelog
+* Mon Mar 22 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.0-1
+- new upstream release
+- built with new toolchain
+
 * Fri Nov 27 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.3.3-1
 - new upstream release
 

+ 41 - 10
k/kuftp/kuftp-vl.spec

@@ -2,23 +2,25 @@ Name:		kuftp
 Version:	1.5.0
 Summary:        A graphical FTP client for the K Desktop Environment
 Summary(ja):	K デスクトップ環境用のグラフィカルな FTP クライアント
-Release:	2%{?_dist_release}
+Release:	3%{?_dist_release}
 License:	GPLv2+
 Url:	        http://kuftp.sourceforge.net/	
 Group:		Applications/Internet
 Source0:	%{name}-%{version}.tar.bz2
 Source1:	%{name}.mo
 BuildRoot:	%{_tmppath}/%{name}-%{version}-root
-BuildRequires:	kdelibs-devel
+BuildRequires:	kdelibs3-devel
 BuildRequires:	openssl-devel
 BuildRequires:	desktop-file-utils
-
+Requires(post): desktop-file-utils
+Requires(postun): desktop-file-utils
+      
 %description
 KuFTP is a graphical FTP client for the K Desktop Environment.
 
 Most notable features is Tab Sessions like Konqueror or Firefox.
 Other features like bookmark manager,queue manager,speed limit,
-proxy support,SSL/TSL support, multi charsets support and some
+proxy support, SSL/TSL support, multi charsets support and some
 small nifty features are currently available in the latest version.
 
 %description -l ja
@@ -34,32 +36,61 @@ KuFTP は K デスクトップ環境用のグラフィカルな FTP クライア
 
 %build
 %configure \
-	--disable-final
-%{__make}
+        --disable-rpath \
+        --enable-new-ldflags \
+	--enable-final
+
+make %{?_smp_mflags}
 
 %install
-%{__rm} -rf %buildroot
+rm -rf %buildroot
 %makeinstall
 
-%{__mkdir} -p %buildroot%{_localedir}/ja/LC_MESSAGES
-%{__install} -m 644 %{SOURCE1} %buildroot%{_localedir}/ja/LC_MESSAGES/%{name}.mo
+mkdir -p %buildroot%{_localedir}/ja/LC_MESSAGES
+install -m 644 %{SOURCE1} %buildroot%{_localedir}/ja/LC_MESSAGES/%{name}.mo
+
+# changed .desktop file location
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications/kde
+mv $RPM_BUILD_ROOT%{_datadir}/applnk/Utilities/kuftp.desktop \
+    $RPM_BUILD_ROOT%{_datadir}/applications/kde/
 
 %find_lang %{name}
 
 %clean
 rm -rf %buildroot
 
+%post
+touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
+
+%postun
+if [ $1 -eq 0 ] ; then
+  update-desktop-database -q &> /dev/null
+  touch --no-create %{_datadir}/icons/hicolor &> /dev/null
+  gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
+fi
+
+%posttrans
+update-desktop-database -q &> /dev/null
+gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
+
+
 %files -f %{name}.lang
 %defattr(-,root,root,755)
 %doc AUTHORS README COPYING TODO ChangeLog
 %doc %{_docdir}/HTML/en/kuftp/*
 %{_bindir}/kuftp
 %{_libdir}/libkuftpbookmarks.a
-%{_datadir}/applnk/Utilities/kuftp.desktop
+%dir %{_datadir}/applications/kde
+%{_datadir}/applications/kde/kuftp.desktop
 %{_datadir}/apps/kuftp/kuftpui.rc
 %{_datadir}/icons/hicolor/*/apps/kuftp.png
 
 %changelog
+* Wed Mar 24 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.5.0-3
+- rebuilt with new toolchain
+- added %%post, %%postun and %%posttrans section
+- moved .desktop file location
+
 * Sat Apr 11 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.5.0-2
 - changed Group to Applications/Internet