|
|
@ -1,13 +1,13 @@
|
|
|
|
%undefine __cmake_in_source_build
|
|
|
|
%undefine __cmake_in_source_build
|
|
|
|
%global framework attica
|
|
|
|
%global framework attica
|
|
|
|
|
|
|
|
|
|
|
|
Name: kf5-attica
|
|
|
|
Name: kf5-attica
|
|
|
|
Version: 5.72.0
|
|
|
|
Version: 5.72.0
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: KDE Frameworks Tier 1 Addon with Open Collaboration Services API
|
|
|
|
Summary: KDE Frameworks Tier 1 Addon with Open Collaboration Services API
|
|
|
|
|
|
|
|
|
|
|
|
License: LGPLv2+
|
|
|
|
License: LGPLv2+
|
|
|
|
URL: https://cgit.kde.org/%{framework}.git
|
|
|
|
URL: https://cgit.kde.org/%{framework}.git
|
|
|
|
|
|
|
|
|
|
|
|
%global majmin %(echo %{version} | cut -d. -f1-2)
|
|
|
|
%global majmin %(echo %{version} | cut -d. -f1-2)
|
|
|
|
%global revision %(echo %{version} | cut -d. -f3)
|
|
|
|
%global revision %(echo %{version} | cut -d. -f3)
|
|
|
@ -16,22 +16,22 @@ URL: https://cgit.kde.org/%{framework}.git
|
|
|
|
%else
|
|
|
|
%else
|
|
|
|
%global stable stable
|
|
|
|
%global stable stable
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz
|
|
|
|
Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: extra-cmake-modules >= %{version}
|
|
|
|
BuildRequires: extra-cmake-modules >= %{version}
|
|
|
|
BuildRequires: kf5-rpm-macros >= %{version}
|
|
|
|
BuildRequires: kf5-rpm-macros >= %{version}
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
|
|
|
|
|
|
|
|
Requires: kf5-filesystem >= %{majmin}
|
|
|
|
Requires: kf5-filesystem >= %{majmin}
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
Attica is a Qt library that implements the Open Collaboration Services
|
|
|
|
Attica is a Qt library that implements the Open Collaboration Services
|
|
|
|
API version 1.4.
|
|
|
|
API version 1.4.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: qt5-qtbase-devel
|
|
|
|
Requires: qt5-qtbase-devel
|
|
|
|
%description devel
|
|
|
|
%description devel
|
|
|
|
%{summary}.
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
|
|
@ -41,7 +41,8 @@ Requires: qt5-qtbase-devel
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%{cmake_kf5}
|
|
|
|
%cmake_kf5
|
|
|
|
|
|
|
|
|
|
|
|
%cmake_build
|
|
|
|
%cmake_build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|