osc copypac from project:KDE:Unstable:Frameworks package:kde-gtk-config5 revision:50
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5:LTS/kde-gtk-config5?expand=0&rev=1
This commit is contained in:
parent
27778c920d
commit
9e56b2f972
12
_service
Normal file
12
_service
Normal file
@ -0,0 +1,12 @@
|
||||
<services>
|
||||
<service name="tar_scm">
|
||||
<param name="url">git://anongit.kde.org/kde-gtk-config.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="versionformat">5.7.90git~%ci~%h</param>
|
||||
</service>
|
||||
<service name="recompress">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
<service name="set_version"/>
|
||||
</services>
|
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2069f625eac438c7a218bcaa1651c60d9f0b06df9a91cf297d4bd2fda7e9cef2
|
||||
size 113528
|
111
_service:set_version:kde-gtk-config5.spec
Normal file
111
_service:set_version:kde-gtk-config5.spec
Normal file
@ -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
|
@ -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"
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:74d5a166aef8e506adf05f8fd501093932aa34dfc96573857a356520b369c950
|
||||
size 147292
|
2
kde-gtk-config5-rpmlintrc
Normal file
2
kde-gtk-config5-rpmlintrc
Normal file
@ -0,0 +1,2 @@
|
||||
# we don't use find_lang macro as it doesn't searches in subdirectories
|
||||
addFilter("file-not-in-%lang .*")
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user