diff options
author | Mario Blättermann <mario.blaettermann@gmail.com> | 2015-02-07 21:37:38 +0100 |
---|---|---|
committer | Mario Blättermann <mario.blaettermann@gmail.com> | 2015-02-07 21:37:38 +0100 |
commit | 6ad9154f32d4b27225b3a468a9fe684b79e1c5e0 (patch) | |
tree | 503dc16bb56431da5938f31cdb73456bf631f17b | |
parent | e93adc5d0c3d458916a1d058e00a5fe436401098 (diff) | |
download | tanglet-6ad9154f32d4b27225b3a468a9fe684b79e1c5e0.tar.gz tanglet-6ad9154f32d4b27225b3a468a9fe684b79e1c5e0.tar.xz tanglet-6ad9154f32d4b27225b3a468a9fe684b79e1c5e0.zip |
Initial commit
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | sources | 1 | ||||
-rw-r--r-- | tanglet.spec | 113 |
3 files changed, 115 insertions, 0 deletions
@@ -0,0 +1 @@ +/tanglet-1.3.1-src.tar.bz2 @@ -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 |