init package
This commit is contained in:
parent
c330420285
commit
3e277ee04f
BIN
attica-5.55.0.tar.xz
Normal file
BIN
attica-5.55.0.tar.xz
Normal file
Binary file not shown.
74
kf5-attica.spec
Normal file
74
kf5-attica.spec
Normal file
@ -0,0 +1,74 @@
|
|||||||
|
%global framework attica
|
||||||
|
|
||||||
|
Name: kf5-attica
|
||||||
|
Version: 5.55.0
|
||||||
|
Release: 1
|
||||||
|
Summary: KDE Frameworks Tier 1 Addon with Open Collaboration Services API
|
||||||
|
|
||||||
|
License: LGPLv2+
|
||||||
|
URL: https://cgit.kde.org/%{framework}.git
|
||||||
|
|
||||||
|
%global majmin %(echo %{version} | cut -d. -f1-2)
|
||||||
|
%global revision %(echo %{version} | cut -d. -f3)
|
||||||
|
%if %{revision} >= 50
|
||||||
|
%global stable unstable
|
||||||
|
%else
|
||||||
|
%global stable stable
|
||||||
|
%endif
|
||||||
|
Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz
|
||||||
|
|
||||||
|
BuildRequires: extra-cmake-modules >= %{version}
|
||||||
|
BuildRequires: kf5-rpm-macros >= %{version}
|
||||||
|
BuildRequires: qt5-qtbase-devel
|
||||||
|
|
||||||
|
Requires: kf5-filesystem >= %{majmin}
|
||||||
|
|
||||||
|
%description
|
||||||
|
Attica is a Qt library that implements the Open Collaboration Services
|
||||||
|
API version 1.4.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development files for %{name}
|
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
Requires: qt5-qtbase-devel
|
||||||
|
%description devel
|
||||||
|
%{summary}.
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n %{framework}-%{version}
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
mkdir %{_target_platform}
|
||||||
|
pushd %{_target_platform}
|
||||||
|
%{cmake_kf5} ..
|
||||||
|
popd
|
||||||
|
|
||||||
|
%make_build -C %{_target_platform}
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
||||||
|
|
||||||
|
|
||||||
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc AUTHORS ChangeLog README.md
|
||||||
|
%license COPYING
|
||||||
|
%{_kf5_sysconfdir}/xdg/%{framework}.*
|
||||||
|
%{_kf5_libdir}/libKF5Attica.so.*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%{_kf5_libdir}/cmake/KF5Attica/
|
||||||
|
%{_kf5_includedir}/attica_version.h
|
||||||
|
%{_kf5_includedir}/Attica/
|
||||||
|
%{_kf5_libdir}/libKF5Attica.so
|
||||||
|
%{_kf5_archdatadir}/mkspecs/modules/qt_Attica.pri
|
||||||
|
%{_kf5_libdir}/pkgconfig/libKF5Attica.pc
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Aug 17 2020 yeqinglong <yeqinglong@uniontech.com> - 5.55.0-1
|
||||||
|
- Initial release for OpenEuler
|
||||||
4
kf5-attica.yaml
Normal file
4
kf5-attica.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: KDE/attica
|
||||||
|
tag_prefix: "^v"
|
||||||
|
seperator: "."
|
||||||
Loading…
x
Reference in New Issue
Block a user