|
@@ -2,23 +2,25 @@ Name: kuftp
|
|
Version: 1.5.0
|
|
Version: 1.5.0
|
|
Summary: A graphical FTP client for the K Desktop Environment
|
|
Summary: A graphical FTP client for the K Desktop Environment
|
|
Summary(ja): K デスクトップ環境用のグラフィカルな FTP クライアント
|
|
Summary(ja): K デスクトップ環境用のグラフィカルな FTP クライアント
|
|
-Release: 2%{?_dist_release}
|
|
|
|
|
|
+Release: 3%{?_dist_release}
|
|
License: GPLv2+
|
|
License: GPLv2+
|
|
Url: http://kuftp.sourceforge.net/
|
|
Url: http://kuftp.sourceforge.net/
|
|
Group: Applications/Internet
|
|
Group: Applications/Internet
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
Source1: %{name}.mo
|
|
Source1: %{name}.mo
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
-BuildRequires: kdelibs-devel
|
|
|
|
|
|
+BuildRequires: kdelibs3-devel
|
|
BuildRequires: openssl-devel
|
|
BuildRequires: openssl-devel
|
|
BuildRequires: desktop-file-utils
|
|
BuildRequires: desktop-file-utils
|
|
-
|
|
|
|
|
|
+Requires(post): desktop-file-utils
|
|
|
|
+Requires(postun): desktop-file-utils
|
|
|
|
+
|
|
%description
|
|
%description
|
|
KuFTP is a graphical FTP client for the K Desktop Environment.
|
|
KuFTP is a graphical FTP client for the K Desktop Environment.
|
|
|
|
|
|
Most notable features is Tab Sessions like Konqueror or Firefox.
|
|
Most notable features is Tab Sessions like Konqueror or Firefox.
|
|
Other features like bookmark manager,queue manager,speed limit,
|
|
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.
|
|
small nifty features are currently available in the latest version.
|
|
|
|
|
|
%description -l ja
|
|
%description -l ja
|
|
@@ -34,32 +36,61 @@ KuFTP は K デスクトップ環境用のグラフィカルな FTP クライア
|
|
|
|
|
|
%build
|
|
%build
|
|
%configure \
|
|
%configure \
|
|
- --disable-final
|
|
|
|
-%{__make}
|
|
|
|
|
|
+ --disable-rpath \
|
|
|
|
+ --enable-new-ldflags \
|
|
|
|
+ --enable-final
|
|
|
|
+
|
|
|
|
+make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
%install
|
|
-%{__rm} -rf %buildroot
|
|
|
|
|
|
+rm -rf %buildroot
|
|
%makeinstall
|
|
%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}
|
|
%find_lang %{name}
|
|
|
|
|
|
%clean
|
|
%clean
|
|
rm -rf %buildroot
|
|
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
|
|
%files -f %{name}.lang
|
|
%defattr(-,root,root,755)
|
|
%defattr(-,root,root,755)
|
|
%doc AUTHORS README COPYING TODO ChangeLog
|
|
%doc AUTHORS README COPYING TODO ChangeLog
|
|
%doc %{_docdir}/HTML/en/kuftp/*
|
|
%doc %{_docdir}/HTML/en/kuftp/*
|
|
%{_bindir}/kuftp
|
|
%{_bindir}/kuftp
|
|
%{_libdir}/libkuftpbookmarks.a
|
|
%{_libdir}/libkuftpbookmarks.a
|
|
-%{_datadir}/applnk/Utilities/kuftp.desktop
|
|
|
|
|
|
+%dir %{_datadir}/applications/kde
|
|
|
|
+%{_datadir}/applications/kde/kuftp.desktop
|
|
%{_datadir}/apps/kuftp/kuftpui.rc
|
|
%{_datadir}/apps/kuftp/kuftpui.rc
|
|
%{_datadir}/icons/hicolor/*/apps/kuftp.png
|
|
%{_datadir}/icons/hicolor/*/apps/kuftp.png
|
|
|
|
|
|
%changelog
|
|
%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
|
|
* Sat Apr 11 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.5.0-2
|
|
- changed Group to Applications/Internet
|
|
- changed Group to Applications/Internet
|
|
|
|
|