forked from pool/kactivities-stats
This commit is contained in:
commit
48fa4bc23b
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
baselibs.conf
Normal file
3
baselibs.conf
Normal file
@ -0,0 +1,3 @@
|
||||
libKF5ActivitiesStats5
|
||||
kactivities-stats-devel
|
||||
requires "libKF5ActivitiesStats5-<targettype> = <version>"
|
3
kactivities-stats-5.22.0.tar.xz
Normal file
3
kactivities-stats-5.22.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:387203fb9bdddde78f85b0f48b8b3afb9009b70974775316e68bdb3346e5a5bf
|
||||
size 58404
|
5
kactivities-stats.changes
Normal file
5
kactivities-stats.changes
Normal file
@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 31 20:24:39 UTC 2016 - hrvoje.senjan@gmail.com
|
||||
|
||||
- Activate kactivities-stats package
|
||||
|
107
kactivities-stats.spec
Normal file
107
kactivities-stats.spec
Normal file
@ -0,0 +1,107 @@
|
||||
#
|
||||
# spec file for package kactivities-stats
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%bcond_without lang
|
||||
%define lname libKF5ActivitiesStats5
|
||||
%define _tar_path 5.22
|
||||
Name: kactivities-stats
|
||||
Version: 5.22.0
|
||||
Release: 0
|
||||
%define kf5_version %{version}
|
||||
Summary: KDE Plasma Activities support
|
||||
License: LGPL-2.0+
|
||||
Group: System/GUI/KDE
|
||||
Url: http://projects.kde.org/kactivities-stats
|
||||
Source: http://download.kde.org/stable/frameworks/%{_tar_path}/kactivities-stats-%{version}.tar.xz
|
||||
Source1: baselibs.conf
|
||||
BuildRequires: boost-devel
|
||||
BuildRequires: cmake >= 2.8.12
|
||||
BuildRequires: extra-cmake-modules >= %{_tar_path}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: kf5-filesystem
|
||||
BuildRequires: xz
|
||||
BuildRequires: cmake(KF5Activities) >= %{_tar_path}
|
||||
BuildRequires: cmake(KF5Config) >= %{_tar_path}
|
||||
BuildRequires: cmake(Qt5Core) >= 5.3.0
|
||||
BuildRequires: cmake(Qt5DBus) >= 5.3.0
|
||||
BuildRequires: cmake(Qt5Sql) >= 5.3.0
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
Kactivities provides an API for using and interacting with the Plasma Activities Manager.
|
||||
|
||||
%package -n %lname
|
||||
Summary: Library for KDE's Plasma Activities support
|
||||
Group: System/GUI/KDE
|
||||
%if %{with lang}
|
||||
Recommends: %lname-lang = %{version}
|
||||
%endif
|
||||
|
||||
%description -n %lname
|
||||
Kactivities provides an API for using and interacting with the Plasma Activities Manager.
|
||||
|
||||
%package devel
|
||||
Summary: KDE Plasma Activities support
|
||||
Group: Development/Libraries/KDE
|
||||
Requires: %lname = %{version}
|
||||
Requires: extra-cmake-modules >= 1.7.0
|
||||
Requires: cmake(Qt5Core) >= 5.3.0
|
||||
|
||||
%description devel
|
||||
Kactivities provides an API for using and interacting with the Plasma Activities Manager.
|
||||
Development files.
|
||||
|
||||
%lang_package -n %lname
|
||||
%prep
|
||||
%setup -q -n kactivities-stats-%{version}
|
||||
|
||||
%build
|
||||
%cmake_kf5 -d build
|
||||
%make_jobs
|
||||
|
||||
%install
|
||||
%kf5_makeinstall -C build
|
||||
%fdupes %{buildroot}
|
||||
|
||||
%if %{with lang}
|
||||
%find_lang %{name}
|
||||
%endif
|
||||
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
|
||||
%if %{with lang}
|
||||
%files -n %lname-lang -f %{name}.lang
|
||||
%endif
|
||||
|
||||
%files -n %lname
|
||||
%defattr(-,root,root,-)
|
||||
%{_kf5_libdir}/libKF5ActivitiesStats.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_kf5_libdir}/libKF5ActivitiesStats.so
|
||||
%{_kf5_libdir}/cmake/KF5ActivitiesStats/
|
||||
%dir %{_kf5_includedir}/*/
|
||||
%{_kf5_includedir}/*/
|
||||
%{_kf5_includedir}/*.h
|
||||
%{_kf5_libdir}/pkgconfig/libKActivitiesStats.pc
|
||||
%{_kf5_mkspecsdir}/qt_KActivitiesStats.pri
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user