rdieter pushed to kde-gtk-config (master). "import"

notifications at fedoraproject.org notifications at fedoraproject.org
Fri May 1 15:12:45 UTC 2015


>From 112fd5544ecbdb786caaba82109b4fcf1a5e658d Mon Sep 17 00:00:00 2001
From: Rex Dieter <rdieter at math.unl.edu>
Date: Fri, 1 May 2015 09:56:49 -0500
Subject: import


diff --git a/.gitignore b/.gitignore
index e69de29..adfd280 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/kde-gtk-config-5.2.0.tar.xz
diff --git a/kde-gtk-config.spec b/kde-gtk-config.spec
new file mode 100644
index 0000000..4ddc665
--- /dev/null
+++ b/kde-gtk-config.spec
@@ -0,0 +1,91 @@
+Name:           kde-gtk-config
+Summary:        Configure the appearance of GTK apps in KDE
+Version:        5.2.0
+Release:        2%{?dist}
+
+# KDE e.V. may determine that future GPL versions are accepted
+# KDE e.V. may determine that future LGPL versions are accepted
+License:        (GPLv2 or GPLv3) and (LGPLv2 or LGPLv3)
+URL:            https://projects.kde.org/projects/kde/workspace/kde-gtk-config
+
+%global revision %(echo %{version} | cut -d. -f3)
+%if %{revision} >= 50
+%global stable unstable
+%else
+%global stable stable
+%endif
+Source0:        http://download.kde.org/%{stable}/plasma/%{version}/kde-gtk-config-%{version}.tar.xz
+
+
+BuildRequires:  extra-cmake-modules
+BuildRequires:  kf5-rpm-macros
+BuildRequires:  qt5-qtbase-devel
+
+BuildRequires:  kf5-ki18n-devel
+BuildRequires:  kf5-kconfigwidgets-devel
+BuildRequires:  kf5-knewstuff-devel
+BuildRequires:  kf5-karchive-devel
+BuildRequires:  kf5-kcmutils-devel
+
+BuildRequires:  gtk3-devel
+BuildRequires:  gtk2-devel
+
+# need kcmshell5 from kde-cli-tools
+Requires:       kde-cli-tools
+
+%description
+This is a System Settings configuration module for configuring the
+appearance of GTK apps in KDE.
+
+%prep
+%setup -q -n kde-gtk-config-%{version}
+
+%build
+mkdir %{_target_platform}
+pushd %{_target_platform}
+%{cmake_kf5} ..
+popd
+
+make %{?_smp_mflags} -C %{_target_platform}
+
+
+%install
+make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
+%find_lang kcmgtk5_qt --with-qt --all-name
+
+
+%post
+/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+
+%postun
+if [ $1 -eq 0 ] ; then
+    /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+    /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+fi
+
+%posttrans
+/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
+%files -f kcmgtk5_qt.lang
+%doc ChangeLog COPYING COPYING.LIB
+%{_kf5_qtplugindir}/kcm_kdegtkconfig.so
+%{_sysconfdir}/xdg/*.knsrc
+%{_kf5_datadir}/kservices5/kde-gtk-config.desktop
+%{_libexecdir}/reload_gtk_apps
+%{_libexecdir}/gtk_preview
+%{_libexecdir}/gtk3_preview
+%{_datadir}/kcm-gtk-module/
+%{_datadir}/icons/hicolor/*/apps/kde-gtk-config.*
+
+
+%changelog
+* Tue Jan 27 2015 Daniel Vrátil <dvratil at redhat.com> - 5.2.0-2
+- fix license
+- remove Obsoletes/Provides kcm-gtk
+- remove Requires xsettings-kde
+
+* Mon Jan 26 2015 Daniel Vrátil <dvratil at redhat.com> - 5.2.0-1
+- Plasma 5.2.0
+
+* Mon Jan 12 2015 Daniel Vrátil <dvratil at redhat.com> - 5.1.95-1.beta
+- Plasma 5.1.95 Beta
diff --git a/sources b/sources
index e69de29..e7d6833 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+283896b01e1d0a2bacf45498aeffefae  kde-gtk-config-5.2.0.tar.xz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/kde-gtk-config.git/commit/?h=master&id=112fd5544ecbdb786caaba82109b4fcf1a5e658d


More information about the scm-commits mailing list