source: projects/specs/trunk/k/kuftp/kuftp-vl.spec @ 834

Revision 834, 3.2 KB checked in by owa, 14 years ago (diff)

added --with-qt-libraries

Line 
1Name:           kuftp
2Version:        1.5.0
3Summary:        A graphical FTP client for the K Desktop Environment
4Summary(ja):    K デスクトップ環境用のグラフィカルな FTP クライアント
5Release:        4%{?_dist_release}
6License:        GPLv2+
7Url:            http://kuftp.sourceforge.net/   
8Group:          Applications/Internet
9Source0:        %{name}-%{version}.tar.bz2
10Source1:        %{name}.mo
11BuildRoot:      %{_tmppath}/%{name}-%{version}-root
12BuildRequires:  kdelibs3-devel
13BuildRequires:  openssl-devel
14BuildRequires:  desktop-file-utils
15Requires(post): desktop-file-utils
16Requires(postun): desktop-file-utils
17     
18%description
19KuFTP is a graphical FTP client for the K Desktop Environment.
20
21Most notable features is Tab Sessions like Konqueror or Firefox.
22Other features like bookmark manager,queue manager,speed limit,
23proxy support, SSL/TSL support, multi charsets support and some
24small nifty features are currently available in the latest version.
25
26%description -l ja
27KuFTP は K デスクトップ環境用のグラフィカルな FTP クライアントです。
28
29最大の特徴は、Konqueror または Firefox のようなタブ・セッションズです。
30ブックマークマネージャー、キュー・マネージャー、速度制限、
31プロキシサポート、SSL/TSL サポート、複数の charsets のサポート、
32およびその他のいくつかの素敵な細かな特徴は、最新のバージョンにおいて現在利用可能です。
33
34%prep
35%setup -q
36
37%build
38%configure \
39        --with-qt-libraries=`/usr/bin/pkg-config --variable=libdir qt-mt`\
40        --disable-rpath \
41        --enable-new-ldflags \
42        --enable-final
43
44make %{?_smp_mflags}
45
46%install
47rm -rf %buildroot
48%makeinstall
49
50mkdir -p %buildroot%{_localedir}/ja/LC_MESSAGES
51install -m 644 %{SOURCE1} %buildroot%{_localedir}/ja/LC_MESSAGES/%{name}.mo
52
53# changed .desktop file location
54mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications/kde
55mv $RPM_BUILD_ROOT%{_datadir}/applnk/Utilities/kuftp.desktop \
56    $RPM_BUILD_ROOT%{_datadir}/applications/kde/
57
58%find_lang %{name}
59
60%clean
61rm -rf %buildroot
62
63%post
64touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
65
66%postun
67if [ $1 -eq 0 ] ; then
68  update-desktop-database -q &> /dev/null
69  touch --no-create %{_datadir}/icons/hicolor &> /dev/null
70  gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
71fi
72
73%posttrans
74update-desktop-database -q &> /dev/null
75gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
76
77
78%files -f %{name}.lang
79%defattr(-,root,root,755)
80%doc AUTHORS README COPYING TODO ChangeLog
81%doc %{_docdir}/HTML/en/kuftp/*
82%{_bindir}/kuftp
83%{_libdir}/libkuftpbookmarks.a
84%dir %{_datadir}/applications/kde
85%{_datadir}/applications/kde/kuftp.desktop
86%{_datadir}/apps/kuftp/kuftpui.rc
87%{_datadir}/icons/hicolor/*/apps/kuftp.png
88
89%changelog
90* Fri Apr 16 2010 Shu KONNO <owa@bg.wakwak.com> 1.5.0-4
91- added --with-qt-libraries to configure
92
93* Wed Mar 24 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.5.0-3
94- rebuilt with new toolchain
95- added %%post, %%postun and %%posttrans section
96- moved .desktop file location
97
98* Sat Apr 11 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.5.0-2
99- changed Group to Applications/Internet
100
101* Mon Jan 11 2009 TOSHI <milk-tea1977@dune.ocn.ne.jp> 1.5.0-1vl5
102- initial build for Vine Seed
103- spec in utf-8
Note: See TracBrowser for help on using the repository browser.