From a4ad3157c7e19564d686c9ee0576444fb03489892d78f4331389342c67baa2e2 Mon Sep 17 00:00:00 2001 From: Hrvoje Senjan Date: Fri, 7 Feb 2014 21:41:57 +0000 Subject: [PATCH] osc copypac from project:KDE:Unstable:Frameworks package:kauth revision:29 OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kauth?expand=0&rev=1 --- .gitattributes | 23 +++++ .gitignore | 1 + _service | 12 +++ ...mpress:tar_scm:kauth-4.96.0~5270fe3.tar.xz | 3 + _service:set_version:kauth.spec | 94 +++++++++++++++++++ kauth.changes | 5 + kauth.spec | 94 +++++++++++++++++++ 7 files changed, 232 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 _service:recompress:tar_scm:kauth-4.96.0~5270fe3.tar.xz create mode 100644 _service:set_version:kauth.spec create mode 100644 kauth.changes create mode 100644 kauth.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..92dae78 --- /dev/null +++ b/_service @@ -0,0 +1,12 @@ + + + git://anongit.kde.org/kauth.git + git + 4.96.0~%h + + + *.tar + xz + + + \ No newline at end of file diff --git a/_service:recompress:tar_scm:kauth-4.96.0~5270fe3.tar.xz b/_service:recompress:tar_scm:kauth-4.96.0~5270fe3.tar.xz new file mode 100644 index 0000000..f041af0 --- /dev/null +++ b/_service:recompress:tar_scm:kauth-4.96.0~5270fe3.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f215865b02f8202e5b4517297c2803a32ad96f8c561d39a011960ea48cc00762 +size 47904 diff --git a/_service:set_version:kauth.spec b/_service:set_version:kauth.spec new file mode 100644 index 0000000..beaf62b --- /dev/null +++ b/_service:set_version:kauth.spec @@ -0,0 +1,94 @@ +# +# spec file for package kauth +# +# Copyright (c) 2014 SUSE LINUX Products 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/ +# + + +%define lname libKF5Auth4 +Name: kauth +Version: 4.96.0~5270fe3 +Release: 0 +BuildRequires: cmake >= 2.8.12 +BuildRequires: extra-cmake-modules >= 0.0.9 +BuildRequires: fdupes +BuildRequires: kcoreaddons-devel >= %{_kf5_platform_version} +BuildRequires: kf5-filesystem +BuildRequires: pkgconfig(Qt5DBus) >= 5.2.0 +BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.0 +Summary: Framework which lets applications perform actions as a privileged user +License: LGPL-2.1+ +Group: System/GUI/KDE +Url: http://www.kde.org +Source0: kauth-%{version}.tar.xz +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +KAuth is a framework to let applications perform actions as a privileged user. + +%package -n %lname +Summary: Framework which lets applications perform actions as a privileged user +Group: System/GUI/KDE + +%description -n %lname +KAuth is a framework to let applications perform actions as a privileged user. + +%package devel +Summary: Framework which lets applications perform actions as a privileged user +Group: Development/Libraries/KDE +Requires: extra-cmake-modules +Requires: kcoreaddons-devel >= %{_kf5_platform_version} +Requires: %lname = %{version} + +%description devel +KAuth is a framework to let applications perform actions as a privileged user. +Development files. + +%prep +%setup -q + +%build + %cmake_kf5 -d build -- -DSYSCONF_INSTALL_DIR=%{_kf5_sysconfdir} + %make_jobs + +%install + %kf5_makeinstall -C build + %fdupes -s %{buildroot} + +echo "setBadness('suse-dbus-unauthorized-service', 0)" > $RPM_SOURCE_DIR/%name-rpmlintrc + +%post -n %lname -p /sbin/ldconfig + +%postun -n %lname -p /sbin/ldconfig + +%files -n %lname +%defattr(-,root,root) +%doc COPYING* README* +%{_kf5_libdir}/libKF5Auth.so.* +%{_kf5_plugindir}/ +%{_kf5_sysconfdir}/dbus-1/system.d/org.kde.kf5auth.conf +%dir %{_kf5_datadir}/kauth +%{_kf5_datadir}/kauth/dbus_policy.stub +%{_kf5_datadir}/kauth/dbus_service.stub + +%files devel +%defattr(-,root,root) +%{_kf5_libdir}/libKF5Auth.so +%{_kf5_libdir}/cmake/KF5Auth/ +%dir %{_kf5_includedir}/*/ +%{_kf5_includedir}/*/ +%{_kf5_includedir}/*.h +%{_kf5_mkspecsdir}/qt_KAuth.pri + +%changelog diff --git a/kauth.changes b/kauth.changes new file mode 100644 index 0000000..264abdb --- /dev/null +++ b/kauth.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Mon Jan 6 01:59:27 UTC 2014 - hrvoje.senjan@gmail.com + +- Init kauth package + diff --git a/kauth.spec b/kauth.spec new file mode 100644 index 0000000..170524f --- /dev/null +++ b/kauth.spec @@ -0,0 +1,94 @@ +# +# spec file for package kauth +# +# Copyright (c) 2014 SUSE LINUX Products 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/ +# + + +%define lname libKF5Auth4 +Name: kauth +Version: 4.95.0~git +Release: 0 +BuildRequires: cmake >= 2.8.12 +BuildRequires: extra-cmake-modules >= 0.0.9 +BuildRequires: fdupes +BuildRequires: kcoreaddons-devel >= %{_kf5_platform_version} +BuildRequires: kf5-filesystem +BuildRequires: pkgconfig(Qt5DBus) >= 5.2.0 +BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.0 +Summary: Framework which lets applications perform actions as a privileged user +License: LGPL-2.1+ +Group: System/GUI/KDE +Url: http://www.kde.org +Source0: kauth-%{version}.tar.xz +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +KAuth is a framework to let applications perform actions as a privileged user. + +%package -n %lname +Summary: Framework which lets applications perform actions as a privileged user +Group: System/GUI/KDE + +%description -n %lname +KAuth is a framework to let applications perform actions as a privileged user. + +%package devel +Summary: Framework which lets applications perform actions as a privileged user +Group: Development/Libraries/KDE +Requires: extra-cmake-modules +Requires: kcoreaddons-devel >= %{_kf5_platform_version} +Requires: %lname = %{version} + +%description devel +KAuth is a framework to let applications perform actions as a privileged user. +Development files. + +%prep +%setup -q + +%build + %cmake_kf5 -d build -- -DSYSCONF_INSTALL_DIR=%{_kf5_sysconfdir} + %make_jobs + +%install + %kf5_makeinstall -C build + %fdupes -s %{buildroot} + +echo "setBadness('suse-dbus-unauthorized-service', 0)" > $RPM_SOURCE_DIR/%name-rpmlintrc + +%post -n %lname -p /sbin/ldconfig + +%postun -n %lname -p /sbin/ldconfig + +%files -n %lname +%defattr(-,root,root) +%doc COPYING* README* +%{_kf5_libdir}/libKF5Auth.so.* +%{_kf5_plugindir}/ +%{_kf5_sysconfdir}/dbus-1/system.d/org.kde.kf5auth.conf +%dir %{_kf5_datadir}/kauth +%{_kf5_datadir}/kauth/dbus_policy.stub +%{_kf5_datadir}/kauth/dbus_service.stub + +%files devel +%defattr(-,root,root) +%{_kf5_libdir}/libKF5Auth.so +%{_kf5_libdir}/cmake/KF5Auth/ +%dir %{_kf5_includedir}/*/ +%{_kf5_includedir}/*/ +%{_kf5_includedir}/*.h +%{_kf5_mkspecsdir}/qt_KAuth.pri + +%changelog