source: projects/specs/branches/6/k/kio-ftps/kio-ftps-vl.spec @ 2777

Revision 2777, 1.6 KB checked in by inagaki, 13 years ago (diff)

NEW: kio-ftps, kio_gopher, kgrab

Line 
1%if %{?_dist_release} != "vl5"
2%define kde KDE
3%else
4%define kde KDE4
5%endif
6
7Name:           kio-ftps
8Summary:        An ftps KIO slave for %{kde}
9Version:        0.2
10Release:        2%{?_dist_release}
11
12Group:          System Environment/Libraries
13License:        GPLv2+
14URL:            http://kasablanca.berlios.de/kio-ftps/
15
16Source0:        http://download.berlios.de/kasablanca/%{name}-%{version}.tar.gz
17Patch0:         qtnetwork.patch
18
19BuildRoot:      %{_tmppath}/%{name}-%{version}-root
20BuildRequires:  kdelibs4-devel
21#BuildRequires:  kde-filesystem >= 4
22BuildRequires:  cmake
23
24#{?_kde4_macros_api:Requires: kde4-macros(api) = %{_kde4_macros_api} }
25
26%description
27An ftps KIO slave for %{kde}, based on rfc4217. It should work yet with
28most server implementations.
29
30%prep
31%setup -q -n %{name}
32%patch0 -p0 -b .qtnetwork
33
34%build
35mkdir -p %{_target_platform}
36pushd %{_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    ..
43popd
44
45make %{?_smp_mflags} -C %{_target_platform}
46
47
48%install
49rm -rf %{buildroot}
50mkdir %{buildroot}
51make install DESTDIR=%{buildroot} -C %{_target_platform}
52
53
54%clean
55rm -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
Note: See TracBrowser for help on using the repository browser.