[tali] Initial import (#920879)

doshitan doshitan at fedoraproject.org
Sun May 12 16:30:41 UTC 2013


commit 19842349d911df3b982e7fa55e14b4ee63a0ee2f
Author: Tanner Doshier <doshitan at gmail.com>
Date:   Sun May 12 11:30:13 2013 -0500

    Initial import (#920879)

 .gitignore |    1 +
 sources    |    1 +
 tali.spec  |   76 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 78 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..c7d23f7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/tali-3.8.0.tar.xz
diff --git a/sources b/sources
index e69de29..b48d681 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+e9f1389df409247074aa24b329888482  tali-3.8.0.tar.xz
diff --git a/tali.spec b/tali.spec
new file mode 100644
index 0000000..f5b5f07
--- /dev/null
+++ b/tali.spec
@@ -0,0 +1,76 @@
+Name:           tali
+Version:        3.8.0
+Release:        1%{?dist}
+Summary:        GNOME Tali game
+
+License:        GPLv2+ and GFDL
+URL:            https://live.gnome.org/Tali
+Source0:        http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.8/%{name}-%{version}.tar.xz
+
+BuildRequires:  desktop-file-utils
+BuildRequires:  gtk3-devel
+BuildRequires:  intltool
+BuildRequires:  itstool
+BuildRequires:  librsvg2-devel
+
+Obsoletes: gnome-games-gtali < 1:3.7.92
+
+%description
+Sort of poker with dice and less money. An ancient Roman game.
+
+%prep
+%setup -q
+
+
+%build
+%configure
+make %{?_smp_mflags}
+
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+
+desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/gtali.desktop
+
+%find_lang %{name} --all-name --with-gnome
+
+
+%post
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+
+
+%postun
+if [ $1 -eq 0 ]; then
+  touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+  gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
+  glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
+fi
+
+
+%posttrans
+gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
+
+
+%files -f %{name}.lang
+%doc COPYING
+%attr(2551, root, games) %{_bindir}/tali
+%{_datadir}/applications/gtali.desktop
+%{_datadir}/glib-2.0/schemas/org.gnome.tali.gschema.xml
+%{_datadir}/icons/hicolor/*/apps/tali.*
+%{_datadir}/tali
+%verify(not md5 size mtime) %config(noreplace) %attr(664, games, games) %{_localstatedir}/games/gtali.*
+%{_mandir}/man6/tali.6*
+
+
+%changelog
+* Fri Mar 29 2013 Tanner Doshier <doshitan at gmail.com> - 3.8.0-1
+- Update to 3.8.0
+- Use setgid games
+
+* Fri Mar 22 2013 Tanner Doshier <doshitan at gmail.com> - 3.7.92-1
+- Update to 3.7.92
+- Use old desktop file name
+
+* Tue Mar 12 2013 Tanner Doshier <doshitan at gmail.com> - 3.7.4-1
+- Initial packaging of standalone tali


More information about the scm-commits mailing list