[packages/gnome-mahjongg] Initial release
megabajt
megabajt at pld-linux.org
Sun Feb 16 17:15:56 CET 2014
commit c084ba0056fee0da884da7299366992f576e9072
Author: Marcin Banasiak <marcin.banasiak at gmail.com>
Date: Sun Feb 16 17:15:28 2014 +0100
Initial release
gnome-mahjongg.spec | 82 +++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 82 insertions(+)
---
diff --git a/gnome-mahjongg.spec b/gnome-mahjongg.spec
new file mode 100644
index 0000000..b5a72d6
--- /dev/null
+++ b/gnome-mahjongg.spec
@@ -0,0 +1,82 @@
+Summary: GNOME Mahjongg
+Summary(pl.UTF-8): Mahjongg dla GNOME
+Name: gnome-mahjongg
+Version: 3.10.2
+Release: 1
+License: GPL v2
+Group: X11/Applications/Games
+Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-mahjongg/3.10/%{name}-%{version}.tar.xz
+# Source0-md5: 81b4a36677a7ac865a64d9abd65b31f8
+URL: https://wiki.gnome.org/Apps/Mahjongg
+BuildRequires: autoconf
+BuildRequires: automake >= 1:1.11
+BuildRequires: gtk+3-devel >= 3.4.0
+BuildRequires: intltool >= 0.35.0
+BuildRequires: librsvg-devel >= 2.32.0
+BuildRequires: pkgconfig
+BuildRequires: vala >= 2:0.16.0
+BuildRequires: yelp-tools
+Requires(post,postun): gtk-update-icon-cache
+Requires(post,postun): glib2 >= 1:2.26.0
+Requires: gtk+3 >= 3.4.0
+Requires: hicolor-icon-theme
+Requires: librsvg >= 2.32.0
+Provides: gnome-games-mahjongg
+Provides: gnome-games-mahjongg = 1:%{version}-%{release}
+Obsoletes: gnome-games-mahjongg
+Obsoletes: gnome-games-mahjongg < 1:3.8.0
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Disassemble a pile of tiles by removing matching pairs.
+
+%description -l pl.UTF-8
+Gra polegająca na demontażu stosu kafli poprzez usuwanie pasujących
+par.
+
+%prep
+%setup -q
+
+%build
+%{__intltoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure \
+ --disable-silent-rules
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%find_lang %{name} --with-gnome
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%glib_compile_schemas
+%update_icon_cache HighContrast
+%update_icon_cache hicolor
+
+%postun
+%glib_compile_schemas
+%update_icon_cache HighContrast
+%update_icon_cache hicolor
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc NEWS
+%attr(755,root,root) %{_bindir}/gnome-mahjongg
+%{_datadir}/appdata/gnome-mahjongg.appdata.xml
+%{_datadir}/glib-2.0/schemas/org.gnome.gnome-mahjongg.gschema.xml
+%{_datadir}/gnome-mahjongg
+%{_desktopdir}/mahjongg.desktop
+%{_iconsdir}/HighContrast/*/*/*.png
+%{_iconsdir}/hicolor/*/*/*.png
+%{_iconsdir}/hicolor/*/*/*.svg
+%{_mandir}/man6/gnome-mahjongg.6*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gnome-mahjongg.git/commitdiff/c084ba0056fee0da884da7299366992f576e9072
More information about the pld-cvs-commit
mailing list