osc copypac from project:home:wolfi323:test package:kde-gtk-config5 revision:14
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kde-gtk-config5?expand=0&rev=81
This commit is contained in:
parent
801007bfb5
commit
a9bb05fa07
@ -1,2 +0,0 @@
|
||||
# we don't use find_lang macro as it doesn't searches in subdirectories
|
||||
addFilter("file-not-in-%lang .*")
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
|
@ -28,7 +28,6 @@ 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
|
||||
@ -74,11 +73,14 @@ Among its many features, it lets you:
|
||||
%setup -q -n kde-gtk-config-%{version}
|
||||
|
||||
%build
|
||||
%cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=share/locale/kf5
|
||||
%cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir}
|
||||
%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
|
||||
@ -103,9 +105,7 @@ install -Dpm 0644 %{SOURCE3} %{buildroot}%{_kf5_sharedir}/%{name}/gtk3-settings.
|
||||
%{_kf5_sharedir}/icons/hicolor/*/*/*.*
|
||||
|
||||
%if %{with lang}
|
||||
%files lang
|
||||
%defattr(-,root,root)
|
||||
%{_kf5_localedir}/
|
||||
%files lang -f %{name}.lang
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user