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

Revision 3881, 3.4 KB checked in by Takemikaduchi, 13 years ago (diff)

add BuildRequires?

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