Accepting request 111664 from GNOME:Factory

Pushing G:F

OBS-URL: https://build.opensuse.org/request/show/111664
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/aisleriot?expand=0&rev=15
This commit is contained in:
Stephan Kulow
2012-03-29 09:34:24 +00:00
committed by Git OBS Bridge
4 changed files with 28 additions and 22 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:00e6d1cb6baa80f1761e0ca1a29ea205605bec98ad2503e655f8b9abe1f9d11c
size 3962920

3
aisleriot-3.4.0.1.tar.xz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dac119c96e503b3957f4054d1d98b189a6673dc1ea73b861c230b550c866be64
size 4161952

View File

@@ -1,3 +1,25 @@
-------------------------------------------------------------------
Mon Mar 26 19:03:37 UTC 2012 - vuntz@opensuse.org
- Update to version 3.4.0.1:
+ Updated translations.
- Remove sed hack in %prep for missing translations: fixed
upstream.
-------------------------------------------------------------------
Mon Mar 26 14:45:27 UTC 2012 - vuntz@opensuse.org
- Update to version 3.4.0:
+ Updated translations.
- Note that we keep the sed hack in %prep for missing translations:
things are still broken, unfortunately.
-------------------------------------------------------------------
Mon Mar 26 07:28:49 UTC 2012 - vuntz@opensuse.org
- Remove hack to find localized help: this has been fixed in
find-lang.sh.
-------------------------------------------------------------------
Sun Feb 26 14:06:37 UTC 2012 - vuntz@opensuse.org

View File

@@ -17,15 +17,13 @@
Name: aisleriot
Version: 3.3.2
Version: 3.4.0.1
Release: 0
# FIXME drop sed hack in %%prep on update to > 3.3.2
# FIXME: the %%{_datadir}/help/$locale/ files should be found by %%find_lang
Summary: Solitaire Card Games for GNOME
License: GPL-3.0+
Group: Amusements/Games/Board/Card
Url: http://www.gnome.org
Source0: http://download.gnome.org/sources/aisleriot/3.3/%{name}-%{version}.tar.xz
Source0: http://download.gnome.org/sources/aisleriot/3.4/%{name}-%{version}.tar.xz
BuildRequires: guile-devel
BuildRequires: intltool
BuildRequires: lsb-release
@@ -63,12 +61,6 @@ This package provides extra themes for Aisleriot.
%lang_package
%prep
%setup -q
if test "%{version}" != "3.3.2"; then
echo "Sed hack should be dropped."
/bin/false
fi
sed -i "s/HELP_LINGUAS = ca de el en_GB es eu fr gl oc ru sl sr sr@latin sv zh_CN/HELP_LINGUAS = de en_GB fr/g" help/Makefile.am
sed -i "s/HELP_LINGUAS = ca de el en_GB es eu fr gl oc ru sl sr sr@latin sv zh_CN/HELP_LINGUAS = de en_GB fr/g" help/Makefile.in
%build
%configure \
@@ -83,14 +75,6 @@ make %{?_smp_mflags}
%suse_update_desktop_file -N "AisleRiot" -G "Solitaire" sol
%find_lang %{name} %{?no_lang_C}
%find_gconf_schemas
# Localized help
for help in %{buildroot}%{_datadir}/help/*/aisleriot/; do
LOCALE=`echo $help | sed "s:.*%{_datadir}/help/\([^/]*\)/aisleriot/:\1:g"`
echo "%%lang($LOCALE) %%dir %%{_datadir}/help/$LOCALE" >> %{name}.help-lang.tmp
echo "%%lang($LOCALE) %%doc /${help##%{buildroot}}" >> %{name}.help-lang.tmp
done
echo "%%defattr(-,root,root)" > %{name}.help-lang
sort -u %{name}.help-lang.tmp | grep -v "^%%lang(C)" >> %{name}.help-lang
%pre -f aisleriot.schemas_pre
@@ -157,6 +141,6 @@ sort -u %{name}.help-lang.tmp | grep -v "^%%lang(C)" >> %{name}.help-lang
%{_datadir}/aisleriot/cards/gnomangelo_bitmap.svgz
%{_datadir}/aisleriot/cards/ornamental.svgz
%files lang -f aisleriot.lang -f %{name}.help-lang
%files lang -f aisleriot.lang
%changelog