Accepting request 59555 from GNOME:Apps
Accepted submit request 59555 from user dimstar OBS-URL: https://build.opensuse.org/request/show/59555 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gbrainy?expand=0&rev=23
This commit is contained in:
commit
bcf2728f32
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 26 19:38:18 UTC 2011 - dimstar@opensuse.org
|
||||
|
||||
- Split out -lang package which is Recommended by the main package.
|
||||
Keep the C lang help in the main package
|
||||
- Recommend mimehandler(x-scheme-handler/ghelp) for the help
|
||||
system to work.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 14 08:39:12 CET 2011 - vuntz@opensuse.org
|
||||
|
||||
|
12
gbrainy.spec
12
gbrainy.spec
@ -47,6 +47,9 @@ BuildRequires: update-desktop-files
|
||||
%if 0%{?fedora_version}
|
||||
BuildRequires: gnome-sharp-devel gtk-sharp2-devel
|
||||
%endif
|
||||
Recommends: %{name}-lang
|
||||
# For the help system to work, we require a ghelp:// URI handler.
|
||||
Recommends: mimehandler(x-scheme-handler/ghelp)
|
||||
|
||||
%description
|
||||
gbrainy is a brain teaser game and trainer to have fun and to keep
|
||||
@ -70,6 +73,7 @@ It provides the following types of games:
|
||||
%patch
|
||||
%patch1 -p1
|
||||
|
||||
%lang_package
|
||||
%build
|
||||
export MONO_SHARED_DIR=/var/tmp
|
||||
%configure --disable-static
|
||||
@ -78,7 +82,7 @@ make
|
||||
%install
|
||||
%makeinstall
|
||||
%suse_update_desktop_file %name Game
|
||||
%find_lang %{name}
|
||||
%find_lang %{name} %no_lang_C
|
||||
rm -rf $RPM_BUILD_ROOT%{_datadir}/pixmaps
|
||||
# It's not the right size: 32x32
|
||||
rm -rf $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/gbrainy.png
|
||||
@ -88,9 +92,11 @@ rm %{buildroot}%{_libdir}/pkgconfig/gbrainy.pc
|
||||
%clean
|
||||
rm -rf "$RPM_BUILD_ROOT"
|
||||
|
||||
%files -f %{name}.lang
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS NEWS README COPYING
|
||||
%dir %{_datadir}/gnome/help/gbrainy/
|
||||
%doc %{_datadir}/gnome/help/gbrainy/C/
|
||||
%{_bindir}/gbrainy
|
||||
%{_libexecdir}/gbrainy/
|
||||
%{_datadir}/games/gbrainy/
|
||||
@ -98,4 +104,6 @@ rm -rf "$RPM_BUILD_ROOT"
|
||||
%{_datadir}/icons/hicolor/*/apps/*
|
||||
%{_datadir}/man/man6/gbrainy.6.gz
|
||||
|
||||
%files lang -f %{name}.lang
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user