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

Revision 9520, 3.3 KB checked in by Takemikaduchi, 9 years ago (diff)

GNOME 3.16.1

Line 
1%define pkg_version 3.16.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.16/%{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/hitori.appdata.xml
76%{_datadir}/applications/hitori.desktop
77%{_datadir}/glib-2.0/schemas/org.gnome.hitori.gschema.xml
78%{_datadir}/icons/hicolor/*/*/*
79
80
81%changelog
82* Sun Apr 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
83- new upstream release
84
85* Sun Mar 08 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.3-1
86- new upstream release
87
88* Mon Dec 22 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2.1-1
89- new upstream release
90
91* Mon Nov 03 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1-1
92- new upstream release
93
94* Sun Jun 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.4-1
95- new upstream release
96
97* Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.3-1
98- new upstream release
99
100* Sun Nov 10 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.2-1
101- new upstream release
102
103* Sun Aug 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.1-1
104- new upstream release
105
106* Mon Oct 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.0-1
107- new upstream release
108- change BuildRequires: yelp-tools instead of gome-doc-utils
109
110* Sat Aug 27 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.1-1
111- new upstream release
112- change BuildRequires: gtk3-devel instead of gtk2-devel
113
114* Fri Feb 18 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.6-1
115- new upstream release
116
117* Thu Dec 09 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.5-1
118- new upstream release
119
120* Sun Jul 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.4-1
121- new upstream release
122- fix %install and %files
123
124* Sun Jan 10 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.3-1
125- initial build for Vine Linux
126
Note: See TracBrowser for help on using the repository browser.