source: projects/specs/trunk/h/hitori/hitori-vl.spec @ 9178

Revision 9178, 3.2 KB checked in by Takemikaduchi, 9 years ago (diff)

new upstream release

RevLine 
[9178]1%define pkg_version 3.14.2.1
[521]2%define pkg_release 1%{?_dist_release}
3
4Summary: A logic game similar to Sudoku
5Summary(ja): 数独に類似した論理ゲーム
6Name:        hitori
7Version:     %{pkg_version}
8Release:     %{pkg_release}
[9073]9Source0:     http://ftp.gnome.org/pub/GNOME/sources/hitori/3.14/%{name}-%{version}.tar.xz
[521]10License:     GPLv3+
11Group: Applications/Games
12URL: http://live.gnome.org/Hitori
13
[4675]14BuildRequires: gtk3-devel
[6890]15BuildRequires: yelp-tools
[521]16BuildRequires: which
[9073]17
18Requires(post,postun):  desktop-file-utils
19Requires(postun,posttrans):     glib2
20
[521]21BuildRoot: %{_tmppath}/%{name}-%{version}-root
22
23Vendor: Project Vine
24Distribution: Vine Linux
25Packager: Takemikaduchi
26
27
28%description
29Hitori is a small application written to allow one to play the eponymous puzzle game, which is similar in theme to more popular puzzles such as Sudoku.
30
31%description -l ja
32Hitori は数独のようなより人気のあるパズルとテーマにおいて類似した小さなゲームアプリケーションです。
33
34%prep
35%setup -q
36
37%build
38%configure
39%{__make} %{?_smp_mflags}
40
41
42%install
43%{__rm} -rf ${RPM_BUILD_ROOT}
44%{__make} install DESTDIR=${RPM_BUILD_ROOT}
45
[1387]46%find_lang %{name} --with-gnome
[521]47
48
49%clean
50%{__rm} -rf ${RPM_BUILD_ROOT}
51
[9073]52%post
53update-desktop-database -q
54touch --no-create %{_datadir}/icons/hicolor
55if [ -x /usr/bin/gtk-update-icon-cache ]; then
56  gtk-update-icon-cache -q %{_datadir}/icons/hicolor
57fi
[521]58
[9073]59%postun
60update-desktop-database -q
61touch --no-create %{_datadir}/icons/hicolor
62if [ -x /usr/bin/gtk-update-icon-cache ]; then
63  gtk-update-icon-cache -q %{_datadir}/icons/hicolor
64fi
65glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
66
67%posttrans
68glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
69
70
[521]71%files -f %{name}.lang
72%defattr(-,root,root)
73%doc COPYING ChangeLog NEWS README
[1387]74%{_bindir}/hitori
[7978]75%{_datadir}/appdata/hitori.appdata.xml
[1387]76%{_datadir}/applications/hitori.desktop
[9073]77%{_datadir}/glib-2.0/schemas/org.gnome.hitori.gschema.xml
[1387]78%{_datadir}/hitori/hitori.ui
[9073]79%{_datadir}/hitori/hitori.css
[1387]80%{_datadir}/icons/hicolor/*/*/*
[521]81
82
83%changelog
[9178]84* Mon Dec 22 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2.1-1
85- new upstream release
86
[9073]87* Mon Nov 03 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1-1
88- new upstream release
89
[8622]90* Sun Jun 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.4-1
91- new upstream release
92
[8447]93* Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.3-1
94- new upstream release
95
[7978]96* Sun Nov 10 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.2-1
97- new upstream release
98
[7756]99* Sun Aug 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.1-1
100- new upstream release
101
[6890]102* Mon Oct 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.0-1
103- new upstream release
104- change BuildRequires: yelp-tools instead of gome-doc-utils
105
[4675]106* Sat Aug 27 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.1-1
107- new upstream release
108- change BuildRequires: gtk3-devel instead of gtk2-devel
109
[2721]110* Fri Feb 18 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.6-1
111- new upstream release
112
[2323]113* Thu Dec 09 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.5-1
114- new upstream release
115
[1387]116* Sun Jul 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.4-1
117- new upstream release
118- fix %install and %files
119
[521]120* Sun Jan 10 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.3-1
121- initial build for Vine Linux
122
Note: See TracBrowser for help on using the repository browser.