[2777] | 1 | Name: kio_gopher |
---|
| 2 | Summary: Gopher KIO slave for Konqueror |
---|
[9248] | 3 | Version: 0.1.4 |
---|
| 4 | Release: 1%{?_dist_release} |
---|
[2777] | 5 | |
---|
| 6 | Group: System Environment/Libraries |
---|
| 7 | License: GPLv2+ |
---|
| 8 | URL: http://kgopher.berlios.de/ |
---|
| 9 | |
---|
[9248] | 10 | Source0: http://ftp.kde.org/pub/kde/stable/extragear/kio-gopher-%{version}.tar.bz2 |
---|
[2777] | 11 | |
---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[9248] | 13 | BuildRequires: kdelibs4-devel >= 4.3.80 |
---|
[2777] | 14 | BuildRequires: cmake |
---|
| 15 | BuildRequires: gettext |
---|
| 16 | |
---|
| 17 | #{?_kde4_macros_api:Requires: kde4-macros(api) = %{_kde4_macros_api} } |
---|
| 18 | |
---|
| 19 | %description |
---|
| 20 | This KIO slave adds support for the Gopher protocol to Konqueror. |
---|
| 21 | |
---|
| 22 | |
---|
| 23 | %prep |
---|
[9248] | 24 | %setup -q -n kio-gopher-%{version} |
---|
[2777] | 25 | |
---|
| 26 | %build |
---|
| 27 | mkdir -p %{_target_platform} |
---|
| 28 | pushd %{_target_platform} |
---|
| 29 | %{cmake} \ |
---|
| 30 | -DCMAKE_BUILD_TYPE=release \ |
---|
| 31 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
| 32 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
| 33 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
| 34 | .. |
---|
| 35 | popd |
---|
| 36 | |
---|
| 37 | make %{?_smp_mflags} -C %{_target_platform} |
---|
| 38 | |
---|
| 39 | |
---|
| 40 | %install |
---|
| 41 | rm -rf %{buildroot} |
---|
| 42 | mkdir %{buildroot} |
---|
| 43 | make install DESTDIR=%{buildroot} -C %{_target_platform} |
---|
| 44 | |
---|
[9248] | 45 | rm -rf %{buildroot}%{_docdir}/HTML |
---|
| 46 | |
---|
[2777] | 47 | %find_lang kio_gopher |
---|
| 48 | |
---|
| 49 | |
---|
| 50 | %clean |
---|
| 51 | rm -rf %{buildroot} |
---|
| 52 | |
---|
| 53 | |
---|
| 54 | %files -f kio_gopher.lang |
---|
| 55 | %defattr(-,root,root,-) |
---|
| 56 | %doc README COPYING BUGS |
---|
| 57 | # FAQ is only about installation problems which shouldn't affect the RPM. |
---|
| 58 | %{_libdir}/kde4/kio_gopher.so |
---|
| 59 | %{_datadir}/kde4/services/gopher.protocol |
---|
| 60 | |
---|
| 61 | |
---|
| 62 | %changelog |
---|
[9248] | 63 | * Sun Jan 11 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.1.4-1 |
---|
| 64 | - updated to 0.1.4 |
---|
| 65 | |
---|
[2777] | 66 | * Sun Jan 16 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.1.3-4 |
---|
| 67 | - Initial build for Vine Linux |
---|
| 68 | |
---|
| 69 | * Sat Feb 13 2010 Kevin Kofler <Kevin@tigcc.ticalc.org> - 0.1.3-3 |
---|
| 70 | - new tarball from 4.4.0 extragear, contains updates translations |
---|
| 71 | |
---|
| 72 | * Wed Sep 16 2009 Kevin Kofler <Kevin@tigcc.ticalc.org> - 0.1.3-2 |
---|
| 73 | - drop postfix tag from Release |
---|
| 74 | |
---|
| 75 | * Tue Sep 15 2009 Kevin Kofler <Kevin@tigcc.ticalc.org> - 0.1.3-1.kde4.3.1 |
---|
| 76 | - Initial Fedora package |
---|