12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- %if %{?_dist_release} != "vl5"
- %define kde KDE
- %else
- %define kde KDE4
- %endif
- Name: kio-ftps
- Summary: An ftps KIO slave for %{kde}
- Version: 0.2
- Release: 2%{?_dist_release}
- Group: System Environment/Libraries
- License: GPLv2+
- URL: http://kasablanca.berlios.de/kio-ftps/
- Source0: http://download.berlios.de/kasablanca/%{name}-%{version}.tar.gz
- Patch0: qtnetwork.patch
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildRequires: kdelibs4-devel
- #BuildRequires: kde-filesystem >= 4
- BuildRequires: cmake
- #{?_kde4_macros_api:Requires: kde4-macros(api) = %{_kde4_macros_api} }
- %description
- An ftps KIO slave for %{kde}, based on rfc4217. It should work yet with
- most server implementations.
- %prep
- %setup -q -n %{name}
- %patch0 -p0 -b .qtnetwork
- %build
- mkdir -p %{_target_platform}
- pushd %{_target_platform}
- %{cmake} \
- -DCMAKE_BUILD_TYPE=release \
- -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
- -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
- -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
- ..
- popd
- make %{?_smp_mflags} -C %{_target_platform}
- %install
- rm -rf %{buildroot}
- mkdir %{buildroot}
- make install DESTDIR=%{buildroot} -C %{_target_platform}
- %clean
- rm -rf %{buildroot}
- %files
- %defattr(-,root,root,-)
- %doc README LICENSE.txt rfc4217.txt
- %{_libdir}/kde4/kio_ftps.so
- %{_datadir}/kde4/services/ftps.protocol
- %changelog
- * Sun Jan 16 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.2-2
- - initial build for Vine Linux
- * Tue Apr 28 2009 Jaroslav Reznik <jreznik@redhat.com> - 0.2-1
- - initial package
|