#1 Update to 0.1.99
Merged 5 years ago by rdieter. Opened 5 years ago by tosky.
rpms/ tosky/kio_gopher master  into  master

file modified
+31 -25
@@ -1,22 +1,31 @@ 

  Name:           kio_gopher

- Version:        0.1.4

- Release:        13%{?dist}

- Summary:        Gopher KIO slave for Konqueror

+ Version:        0.1.99

+ Release:        1%{?dist}

+ Summary:        Gopher KIO slave

  

  Group:          System Environment/Libraries

  License:        GPLv2+

  URL:            http://userbase.kde.org/Kio_gopher

- Source0:        ftp://ftp.kde.org/pub/kde/stable/extragear/kio-gopher-%{version}.tar.bz2

  

- BuildRequires:  kdelibs4-devel

- BuildRequires:  cmake

- BuildRequires:  gettext

- 

- %{?_kde4_macros_api:Requires: kde4-macros(api) = %{_kde4_macros_api}}

- %{?_kde4_version:Requires: kdelibs4%{?_isa} >= %{_kde4_version}}

+ %global revision %(echo %{version} | cut -d. -f3)

+ %if %{revision} >= 50

+ %global stable unstable

+ %else

+ %global stable stable

+ %endif

+ Source0: https://download.kde.org/%{stable}/kio-gopher/kio-gopher-%{version}.tar.xz

+ 

+ BuildRequires: extra-cmake-modules

+ BuildRequires: kf5-rpm-macros

+ BuildRequires: cmake(KF5Codecs)

+ BuildRequires: cmake(KF5DocTools)

+ BuildRequires: cmake(KF5IconThemes)

+ BuildRequires: cmake(KF5I18n)

+ BuildRequires: cmake(KF5KIO)

  

  %description

- This KIO slave adds support for the Gopher protocol to Konqueror.

+ This KIO slave adds support for the Gopher protocol to any KIO-enabled

+ application.

  

  

  %prep
@@ -26,32 +35,29 @@ 

  %build

  mkdir -p %{_target_platform}

  pushd %{_target_platform}

- %{cmake_kde4} ..

+ %{cmake_kf5} ..

  popd

  

  make %{?_smp_mflags} -C %{_target_platform}

  

  

  %install

- rm -rf %{buildroot}

- mkdir %{buildroot}

  make install DESTDIR=%{buildroot} -C %{_target_platform}

  

- %find_lang kio_gopher

- %find_lang gopher --with-kde --without-mo

- cat gopher.lang >>kio_gopher.lang

- rm -f gopher.lang

- 

+ %find_lang kio5_gopher --all-name --with-html

  

- 

- %files -f kio_gopher.lang

- %doc README COPYING BUGS

- # FAQ is only about installation problems which shouldn't affect the RPM.

- %{_kde4_libdir}/kde4/kio_gopher.so

- %{_kde4_datadir}/kde4/services/gopher.protocol

+ %files -f kio5_gopher.lang

+ %doc README COPYING

+ %{_kf5_plugindir}/kio/gopher.so

  

  

  %changelog

+ * Sat Aug 04 2018 Luigi Toscano <luigi.toscano@tiscali.it> - 0.1.99-1

+ - Update to 0.1.99

+ - Adapt the spec file to the new base requirements (Qt5/KF5)

+   and the new content of the file

+ - Update the description and few statements in the install section

+ 

  * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.4-13

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

  

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- 401e7a22f35f9528512f36f6e2060d21  kio-gopher-0.1.4.tar.bz2

+ SHA512 (kio-gopher-0.1.99.tar.xz) = 1a61e79eacb88080f89c173ef87d48693ea874b4bf767f0854e44d0f918851baad02fed884ad2a915d5c2cd877cf17c6f076b242652ac6f483fc9a47aea86412

Apart from changing the packaging details to work with a KF5 package,
other relevant changes are:
- updated the description of the package;
- updated few statements in the %install section.

rebased onto 9d58c07

5 years ago

Pull-Request has been merged by rdieter

5 years ago