summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Blättermann <mario.blaettermann@gmail.com>2015-02-07 21:37:38 +0100
committerMario Blättermann <mario.blaettermann@gmail.com>2015-02-07 21:37:38 +0100
commit6ad9154f32d4b27225b3a468a9fe684b79e1c5e0 (patch)
tree503dc16bb56431da5938f31cdb73456bf631f17b
parente93adc5d0c3d458916a1d058e00a5fe436401098 (diff)
downloadtanglet-6ad9154f32d4b27225b3a468a9fe684b79e1c5e0.tar.gz
tanglet-6ad9154f32d4b27225b3a468a9fe684b79e1c5e0.tar.xz
tanglet-6ad9154f32d4b27225b3a468a9fe684b79e1c5e0.zip
Initial commit
-rw-r--r--.gitignore1
-rw-r--r--sources1
-rw-r--r--tanglet.spec113
3 files changed, 115 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..0789e44 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/tanglet-1.3.1-src.tar.bz2
diff --git a/sources b/sources
index e69de29..ab54d28 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+c20df39e63bbf3235268736e05802bbd tanglet-1.3.1-src.tar.bz2
diff --git a/tanglet.spec b/tanglet.spec
new file mode 100644
index 0000000..2d633d1
--- /dev/null
+++ b/tanglet.spec
@@ -0,0 +1,113 @@
+Name: tanglet
+Version: 1.3.1
+Release: 2%{?dist}
+Summary: Word finding game
+License: GPLv3+
+URL: http://gottcode.org/%{name}/
+Source: http://gottcode.org/%{name}/%{name}-%{version}-src.tar.bz2
+
+BuildRequires: desktop-file-utils
+BuildRequires: libappstream-glib
+BuildRequires: qt5-qttools-devel
+BuildRequires: zlib-devel
+
+Requires: %{name}-data = %{version}-%{release}
+
+%description
+A single player word finding game based on Boggle. The object of the game is
+to list as many words as you can before the time runs out. There are several
+timer modes that determine how much time you start with, and if you get extra
+time when you find a word.
+
+You can join letters horizontally, vertically, or diagonally in any direction
+to make a word, so as long as the letters are next to each other on the board.
+However, you can not reuse the same letter cells in a single word. Also, each
+word must be at least three letters on a normal board, and four letters on a
+large board.
+
+%package data
+Summary: Shared files for %{name}
+BuildArch: noarch
+
+Requires: hicolor-icon-theme
+
+%description data
+This package contains arch-independent files for %{name}.
+
+%prep
+%setup -q
+
+%build
+%{qmake_qt5} PREFIX=%{_prefix}
+make %{?_smp_mflags}
+
+%install
+make install INSTALL_ROOT=%{buildroot}
+mkdir -p %{buildroot}%{_mandir}/man6/
+install -p -m 644 doc/%{name}.6 %{buildroot}%{_mandir}/man6/
+
+%check
+desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop || :
+appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml || :
+
+%post data
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+
+%postun data
+if [ $1 -eq 0 ] ; then
+ touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+fi
+
+%posttrans data
+gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
+%files
+%doc CREDITS NEWS README
+%license COPYING
+%{_bindir}/%{name}
+%{_datadir}/appdata/%{name}.appdata.xml
+%{_datadir}/applications/%{name}.desktop
+%{_mandir}/man6/%{name}.6.*
+
+%files data
+%license COPYING
+%{_datadir}/%{name}/
+%{_datadir}/icons/hicolor/*/apps/%{name}.*
+%{_datadir}/pixmaps/%{name}.xpm
+
+%changelog
+* Sat Feb 07 2015 Mario Blättermann <mario.blaettermann@gmail.com> - 1.3.1-2
+- Fix issues according to review (bz1190060)
+
+* Thu Feb 05 2015 Mario Blättermann <mario.blaettermann@gmail.com> - 1.3.1-1
+- New upstream release (switch to Qt5)
+- Spec file cleanup
+- Create -data subpackage
+
+* Wed Sep 25 2013 Huaren Zhong <huaren.zhong@gmail.com> - 1.2.1
+- Rebuild for Fedora
+
+* Wed Feb 01 2012 graeme@gottcode.org 1.2.1-1
+- New upstream release
+
+* Mon Dec 05 2011 graeme@gottcode.org 1.2.0-4
+- Update GNOME icon cache
+
+* Fri Nov 11 2011 graeme@gottcode.org 1.2.0-3
+- Improve spec file
+
+* Sat Oct 29 2011 graeme@gottcode.org 1.2.0-2
+- Remove patch
+
+* Sat Oct 29 2011 graeme@gottcode.org 1.2.0-1
+- New upstream release
+
+* Sat Apr 02 2011 graeme@gottcode.org 1.1.1-3
+- Add dependency on hicolor-icon-theme
+
+* Wed Sep 22 2010 graeme@gottcode.org 1.1.1-2
+- Fixed build issue on openSUSE 11.2
+
+* Tue Sep 21 2010 graeme@gottcode.org 1.1.1-1
+- Initial package