]> git.pld-linux.org Git - packages/gnome-klotski.git/commitdiff
New
authorMarcin Banasiak <marcin.banasiak@gmail.com>
Sun, 27 Apr 2014 15:23:52 +0000 (17:23 +0200)
committerMarcin Banasiak <marcin.banasiak@gmail.com>
Sun, 27 Apr 2014 15:23:52 +0000 (17:23 +0200)
gnome-klotski.spec [new file with mode: 0644]

diff --git a/gnome-klotski.spec b/gnome-klotski.spec
new file mode 100644 (file)
index 0000000..6780ced
--- /dev/null
@@ -0,0 +1,82 @@
+Summary:       GNOME Klotski
+Summary(pl.UTF-8):     Klotski dla GNOME
+Name:          gnome-klotski
+Version:       3.12.1
+Release:       1
+License:       GPL v2
+Group:         X11/Applications/Games
+Source0:       http://ftp.gnome.org/pub/GNOME/sources/gnome-klotski/3.12/%{name}-%{version}.tar.xz
+# Source0-md5: e0b3fd66ce7f1f0ae7eb1c519e4745e1
+URL:           https://wiki.gnome.org/Apps/Klotski
+BuildRequires: appdata-tools
+BuildRequires: autoconf >= 2.63
+BuildRequires: automake >= 1:1.11
+BuildRequires: gtk+3-devel >= 3.4.0
+BuildRequires: intltool >= 0.50.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-gnotski = 1:%{version}-%{release}
+Obsoletes:     gnome-games-gnotski < 1:3.8.0
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Clone of the Klotski game. The objective is to move the patterned
+block to the area bordered by green markers.
+
+%description -l pl.UTF-8
+Klon gry Klotski. Celem gry jest przesunięcie zaznaczonego klocka w
+pole ograniczone zielonymi znacznikami.
+
+%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-klotski
+%{_datadir}/appdata/gnome-klotski.appdata.xml
+%{_datadir}/glib-2.0/schemas/org.gnome.klotski.gschema.xml
+%{_datadir}/gnome-klotski
+%{_desktopdir}/gnome-klotski.desktop
+%{_iconsdir}/HighContrast/*/*/*.png
+%{_iconsdir}/hicolor/*/*/*.png
+%{_iconsdir}/hicolor/*/*/*.svg
+%{_mandir}/man6/gnome-klotski.6*
This page took 0.0868679999999999 seconds and 4 git commands to generate.