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

Revision 10716, 3.6 KB checked in by Takemikaduchi, 5 years ago (diff)

GNOME-3.20

Line 
1%define pkg_version 3.20.0
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}
9Source0:     http://ftp.gnome.org/pub/GNOME/sources/hitori/3.20/%{name}-%{version}.tar.xz
10License:     GPLv3+
11Group: Applications/Games
12URL: http://live.gnome.org/Hitori
13
14BuildRequires: gtk3-devel
15BuildRequires: yelp-tools
16BuildRequires: which
17
18Requires(post,postun):  desktop-file-utils
19Requires(postun,posttrans):     glib2
20
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
46%find_lang %{name} --with-gnome
47
48
49%clean
50%{__rm} -rf ${RPM_BUILD_ROOT}
51
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
58
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
71%files -f %{name}.lang
72%defattr(-,root,root)
73%doc COPYING ChangeLog NEWS README
74%{_bindir}/hitori
75%{_datadir}/appdata/org.gnome.Hitori.appdata.xml
76%{_datadir}/applications/org.gnome.Hitori.desktop
77%{_datadir}/glib-2.0/schemas/org.gnome.hitori.gschema.xml
78%{_datadir}/icons/hicolor/*/*/*
79
80
81%changelog
82* Mon Jul 18 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.20.0-1
83- new upstream release
84
85* Wed Nov 25 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.2-1
86- new upstream release
87
88* Sun May 03 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.1-1
89- new upstream release
90
91* Sun Apr 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
92- new upstream release
93
94* Sun Mar 08 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.3-1
95- new upstream release
96
97* Mon Dec 22 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2.1-1
98- new upstream release
99
100* Mon Nov 03 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1-1
101- new upstream release
102
103* Sun Jun 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.4-1
104- new upstream release
105
106* Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.3-1
107- new upstream release
108
109* Sun Nov 10 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.2-1
110- new upstream release
111
112* Sun Aug 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.1-1
113- new upstream release
114
115* Mon Oct 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.0-1
116- new upstream release
117- change BuildRequires: yelp-tools instead of gome-doc-utils
118
119* Sat Aug 27 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.1-1
120- new upstream release
121- change BuildRequires: gtk3-devel instead of gtk2-devel
122
123* Fri Feb 18 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.6-1
124- new upstream release
125
126* Thu Dec 09 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.5-1
127- new upstream release
128
129* Sun Jul 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.4-1
130- new upstream release
131- fix %install and %files
132
133* Sun Jan 10 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.3-1
134- initial build for Vine Linux
135
Note: See TracBrowser for help on using the repository browser.