1 | %if %{?_dist_release} != "vl5" |
---|
2 | %define kde KDE |
---|
3 | %else |
---|
4 | %define kde KDE4 |
---|
5 | %endif |
---|
6 | |
---|
7 | Name: kio-ftps |
---|
8 | Summary: An ftps KIO slave for %{kde} |
---|
9 | Version: 0.2 |
---|
10 | Release: 2%{?_dist_release} |
---|
11 | |
---|
12 | Group: System Environment/Libraries |
---|
13 | License: GPLv2+ |
---|
14 | URL: http://kasablanca.berlios.de/kio-ftps/ |
---|
15 | |
---|
16 | Source0: http://download.berlios.de/kasablanca/%{name}-%{version}.tar.gz |
---|
17 | Patch0: qtnetwork.patch |
---|
18 | |
---|
19 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
20 | BuildRequires: kdelibs4-devel |
---|
21 | #BuildRequires: kde-filesystem >= 4 |
---|
22 | BuildRequires: cmake |
---|
23 | |
---|
24 | #{?_kde4_macros_api:Requires: kde4-macros(api) = %{_kde4_macros_api} } |
---|
25 | |
---|
26 | %description |
---|
27 | An ftps KIO slave for %{kde}, based on rfc4217. It should work yet with |
---|
28 | most server implementations. |
---|
29 | |
---|
30 | %prep |
---|
31 | %setup -q -n %{name} |
---|
32 | %patch0 -p0 -b .qtnetwork |
---|
33 | |
---|
34 | %build |
---|
35 | mkdir -p %{_target_platform} |
---|
36 | pushd %{_target_platform} |
---|
37 | %{cmake} \ |
---|
38 | -DCMAKE_BUILD_TYPE=release \ |
---|
39 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
40 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
41 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
42 | .. |
---|
43 | popd |
---|
44 | |
---|
45 | make %{?_smp_mflags} -C %{_target_platform} |
---|
46 | |
---|
47 | |
---|
48 | %install |
---|
49 | rm -rf %{buildroot} |
---|
50 | mkdir %{buildroot} |
---|
51 | make install DESTDIR=%{buildroot} -C %{_target_platform} |
---|
52 | |
---|
53 | |
---|
54 | %clean |
---|
55 | rm -rf %{buildroot} |
---|
56 | |
---|
57 | |
---|
58 | %files |
---|
59 | %defattr(-,root,root,-) |
---|
60 | %doc README LICENSE.txt rfc4217.txt |
---|
61 | %{_libdir}/kde4/kio_ftps.so |
---|
62 | %{_datadir}/kde4/services/ftps.protocol |
---|
63 | |
---|
64 | |
---|
65 | %changelog |
---|
66 | * Sun Jan 16 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.2-2 |
---|
67 | - initial build for Vine Linux |
---|
68 | |
---|
69 | * Tue Apr 28 2009 Jaroslav Reznik <jreznik@redhat.com> - 0.2-1 |
---|
70 | - initial package |
---|