Accepting request 128590 from GNOME:Next

Split out lang package.. no importance.. just cleaning up old bugs

OBS-URL: https://build.opensuse.org/request/show/128590
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-backgrounds?expand=0&rev=50
This commit is contained in:
Dominique Leuenberger 2012-07-23 20:46:06 +00:00 committed by Git OBS Bridge
parent 24f18f42b4
commit b4cbd62caa
2 changed files with 14 additions and 4 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sat Jul 21 17:37:57 UTC 2012 - dimstar@opensuse.org
- Split out lang-package (bnc#645077).
- Recommend -lang package from the main package.
- Drop xz BuildRequires as it now comes for free in the build
system.
-------------------------------------------------------------------
Mon May 14 15:55:01 UTC 2012 - vuntz@opensuse.org

View File

@ -21,8 +21,6 @@ BuildRequires: fdupes
BuildRequires: glib2-devel
BuildRequires: intltool
BuildRequires: translation-update-upstream
# Only needed because we don't (and won't) support building xz tarballs by default... See bnc#697467
BuildRequires: xz
AutoReqProv: off
BuildArch: noarch
Version: 3.4.2
@ -33,10 +31,12 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: GNOME Backgrounds
License: GPL-2.0+
Group: System/GUI/GNOME
Recommends: %{name}-lang
%description
Background images from the GNOME project.
%lang_package
%prep
%setup -q
translation-update-upstream
@ -53,16 +53,18 @@ make %{?jobs:-j%jobs}
mv $RPM_BUILD_ROOT/%{_datadir}/locale/sr@latin $RPM_BUILD_ROOT/%{_datadir}/locale/sr@Latn
# Change sr@Latn to sr@latin
mv %{buildroot}%{_datadir}/locale/sr@Latn %{buildroot}%{_datadir}/locale/sr@latin
%find_lang %{name}
%find_lang %{name} %{?no_lang_C}
%fdupes -s %buildroot
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %name.lang
%files
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_datadir}/gnome-background-properties/
%{_datadir}/backgrounds/
%files lang -f %{name}.lang
%changelog