diff --git a/_service b/_service new file mode 100644 index 0000000..0adffb4 --- /dev/null +++ b/_service @@ -0,0 +1,12 @@ + + + git://anongit.kde.org/kde-gtk-config.git + git + 5.7.90git~%ci~%h + + + *.tar + xz + + + diff --git a/_service:recompress:tar_scm:kde-gtk-config-5.7.90git~20160915T100818~c7d8738.tar.xz b/_service:recompress:tar_scm:kde-gtk-config-5.7.90git~20160915T100818~c7d8738.tar.xz new file mode 100644 index 0000000..6fe8639 --- /dev/null +++ b/_service:recompress:tar_scm:kde-gtk-config-5.7.90git~20160915T100818~c7d8738.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2069f625eac438c7a218bcaa1651c60d9f0b06df9a91cf297d4bd2fda7e9cef2 +size 113528 diff --git a/_service:set_version:kde-gtk-config5.spec b/_service:set_version:kde-gtk-config5.spec new file mode 100644 index 0000000..7547846 --- /dev/null +++ b/_service:set_version:kde-gtk-config5.spec @@ -0,0 +1,111 @@ +# +# spec file for package kde-gtk-config5 +# +# 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 +Name: kde-gtk-config5 +Version: 5.7.90git~20160915T100818~c7d8738 +Release: 0 +Summary: KCM Module to Configure GTK2 and GTK3 Applications Appearance Under KDE +License: LGPL-3.0+ and GPL-3.0+ +Group: System/GUI/KDE +Url: http://projects.kde.org/kde-gtk-config +Source1: kde_gtk_config.suse.sh +Source2: gtkrc-2.0-kde4.template +Source3: gtk3-settings.ini-kde4.template +Source: kde-gtk-config-%{version}.tar.xz +Source99: kde-gtk-config5-rpmlintrc +BuildRequires: extra-cmake-modules >= 0.0.9 +BuildRequires: kf5-filesystem +BuildRequires: xz +BuildRequires: cmake(KF5Archive) +BuildRequires: cmake(KF5ConfigWidgets) +BuildRequires: cmake(KF5I18n) +BuildRequires: cmake(KF5IconThemes) +BuildRequires: cmake(KF5KCMUtils) +BuildRequires: cmake(KF5KIO) +BuildRequires: cmake(KF5NewStuff) +BuildRequires: cmake(Qt5Test) >= 5.4.0 +BuildRequires: cmake(Qt5Widgets) >= 5.4.0 +BuildRequires: pkgconfig(gtk+-2.0) +BuildRequires: pkgconfig(gtk+-3.0) +BuildRequires: pkgconfig(x11) +%if %{with lang} +Recommends: %{name}-lang +%endif +Suggests: gtk2-theme-oxygen +Suggests: gtk3-theme-oxygen +%if 0%{?suse_version} > 1314 && "%{suse_version}" != "1320" +Provides: kde-gtk-config = %{version} +Obsoletes: kde-gtk-config < %{version} +%else +Conflicts: kde-gtk-config +%endif +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +kde-gtk-config is a KCM module to configure GTK2 and GTK3 applications +appearance under KDE. + +Among its many features, it lets you: + - Choose which theme is used for GTK2 and GTK3 applications. + - Tweak some GTK applications behaviour. + - Select what icon theme to use in GTK applications. + - Select GTK applications default fonts. + - Easily browse and install new GTK2 and GTK3 themes. + +%lang_package + +%prep +%setup -q -n kde-gtk-config-%{version} + +%build + %cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=share/locale/kf5 + %make_jobs + +%install + %kf5_makeinstall -C build + +install -Dpm 0755 %{SOURCE1} %{buildroot}%{_kf5_configdir}/plasma-workspace/env/kde_gtk_config.suse.sh +install -Dpm 0644 %{SOURCE2} %{buildroot}%{_kf5_sharedir}/%{name}/gtkrc-2.0-kde4.template +install -Dpm 0644 %{SOURCE3} %{buildroot}%{_kf5_sharedir}/%{name}/gtk3-settings.ini-kde4.template + +%files +%defattr(-,root,root) +%doc COPYING* +%dir %{_kf5_configdir}/plasma-workspace/env +%dir %{_kf5_configdir}/plasma-workspace +%config %{_kf5_configdir}/plasma-workspace/env/kde_gtk_config.suse.sh +%{_kf5_sharedir}/%{name}/ +%config %{_kf5_configdir}/cgcicon.knsrc +%config %{_kf5_configdir}/cgctheme.knsrc +%config %{_kf5_configdir}/cgcgtk3.knsrc +%{_kf5_servicesdir}/ +%{_kf5_plugindir}/ +%{_kf5_libdir}/libexec/ +%{_kf5_sharedir}/kcm-gtk-module/ +%dir %{_kf5_sharedir}/icons/hicolor/8x8 +%dir %{_kf5_sharedir}/icons/hicolor/8x8/apps +%{_kf5_sharedir}/icons/hicolor/*/*/*.* + +%if %{with lang} +%files lang +%defattr(-,root,root) +%{_kf5_localedir}/ +%endif + +%changelog diff --git a/gtkrc-2.0-kde4.template b/gtkrc-2.0-kde4.template index 4b9d859..a6813e3 100644 --- a/gtkrc-2.0-kde4.template +++ b/gtkrc-2.0-kde4.template @@ -2,7 +2,7 @@ include "/usr/share/themes/@@THEME_NAME@@/gtk-2.0/gtkrc" include "/etc/gtk-2.0/gtkrc" style "user-font" { - font_name="Noto Sans Regular" + font_name="Oxygen Regular" } widget_class "*" style "user-font" gtk-font-name="Noto Sans Regular 10" diff --git a/kde-gtk-config-5.7.4.tar.xz b/kde-gtk-config-5.7.4.tar.xz deleted file mode 100644 index e2ee105..0000000 --- a/kde-gtk-config-5.7.4.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:74d5a166aef8e506adf05f8fd501093932aa34dfc96573857a356520b369c950 -size 147292 diff --git a/kde-gtk-config5-rpmlintrc b/kde-gtk-config5-rpmlintrc new file mode 100644 index 0000000..cc4ae51 --- /dev/null +++ b/kde-gtk-config5-rpmlintrc @@ -0,0 +1,2 @@ +# we don't use find_lang macro as it doesn't searches in subdirectories +addFilter("file-not-in-%lang .*") \ No newline at end of file diff --git a/kde-gtk-config5.changes b/kde-gtk-config5.changes index a9694e6..52b1bd2 100644 --- a/kde-gtk-config5.changes +++ b/kde-gtk-config5.changes @@ -1,82 +1,3 @@ -------------------------------------------------------------------- -Fri Aug 26 20:36:41 UTC 2016 - fabian@ritter-vogt.de - -- Update to 5.7.4 - * New bugfix release - * For more details please see: - https://www.kde.org/announcements/plasma-5.7.4.php - -------------------------------------------------------------------- -Tue Aug 2 11:35:52 UTC 2016 - hrvoje.senjan@gmail.com - -- Update to 5.7.3 - * New bugfix release - * For more details please see: - https://www.kde.org/announcements/plasma-5.7.3.php - -------------------------------------------------------------------- -Wed Jul 20 08:54:19 UTC 2016 - hrvoje.senjan@gmail.com - -- Update to 5.7.2 - * New bugfix release - * For more details please see: - https://www.kde.org/announcements/plasma-5.7.2.php - -------------------------------------------------------------------- -Wed Jul 13 06:13:25 UTC 2016 - hrvoje.senjan@gmail.com - -- Update to 5.7.1 - * New bugfix release - * For more details please see: - https://www.kde.org/announcements/plasma-5.7.1.php - -------------------------------------------------------------------- -Tue Jul 5 11:17:06 UTC 2016 - wbauer@tmo.at - -- Use the new %kf5_find_lang macro to create the file list for the - lang package -- Remove rpmlintrc file, it is not needed any more now - -------------------------------------------------------------------- -Thu Jun 30 12:02:20 UTC 2016 - hrvoje.senjan@gmail.com - -- Update to 5.7.0 - * New feature release - * For more details please see: - https://www.kde.org/announcements/plasma-5.7.0.php - -------------------------------------------------------------------- -Sun May 15 16:50:12 UTC 2016 - hrvoje.senjan@gmail.com - -- Update to 5.6.4 - * New bugfix release - * For more details please see: - https://www.kde.org/announcements/plasma-5.6.4.php - -------------------------------------------------------------------- -Tue Apr 19 20:45:32 UTC 2016 - hrvoje.senjan@gmail.com - -- Update to 5.6.3 - * New bugfix release - * For more details please see: - https://www.kde.org/announcements/plasma-5.6.3.php - -------------------------------------------------------------------- -Tue Apr 5 15:53:44 UTC 2016 - hrvoje.senjan@gmail.com - -- Update to 5.6.2 - * New bugfix release - * For more details please see: - https://www.kde.org/announcements/plasma-5.6.2.php - -------------------------------------------------------------------- -Tue Mar 29 16:20:41 UTC 2016 - hrvoje.senjan@gmail.com - -- Update to 5.6.1 - * New bugfix release - * For more details please see: - https://www.kde.org/announcements/plasma-5.6.1.php - ------------------------------------------------------------------- Sun Mar 20 09:19:48 UTC 2016 - hrvoje.senjan@gmail.com diff --git a/kde-gtk-config5.spec b/kde-gtk-config5.spec index 1cc595a..e0f3ff8 100644 --- a/kde-gtk-config5.spec +++ b/kde-gtk-config5.spec @@ -18,7 +18,7 @@ %bcond_without lang Name: kde-gtk-config5 -Version: 5.7.4 +Version: 5.6.0 Release: 0 Summary: KCM Module to Configure GTK2 and GTK3 Applications Appearance Under KDE License: LGPL-3.0+ and GPL-3.0+ @@ -28,6 +28,7 @@ Source1: kde_gtk_config.suse.sh Source2: gtkrc-2.0-kde4.template Source3: gtk3-settings.ini-kde4.template Source: kde-gtk-config-%{version}.tar.xz +Source99: kde-gtk-config5-rpmlintrc BuildRequires: extra-cmake-modules >= 0.0.9 BuildRequires: kf5-filesystem BuildRequires: xz @@ -73,14 +74,11 @@ Among its many features, it lets you: %setup -q -n kde-gtk-config-%{version} %build - %cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir} + %cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=share/locale/kf5 %make_jobs %install %kf5_makeinstall -C build -%if %{with lang} - %kf5_find_lang -%endif install -Dpm 0755 %{SOURCE1} %{buildroot}%{_kf5_configdir}/plasma-workspace/env/kde_gtk_config.suse.sh install -Dpm 0644 %{SOURCE2} %{buildroot}%{_kf5_sharedir}/%{name}/gtkrc-2.0-kde4.template @@ -105,7 +103,9 @@ install -Dpm 0644 %{SOURCE3} %{buildroot}%{_kf5_sharedir}/%{name}/gtk3-settings. %{_kf5_sharedir}/icons/hicolor/*/*/*.* %if %{with lang} -%files lang -f %{name}.lang +%files lang +%defattr(-,root,root) +%{_kf5_localedir}/ %endif %changelog