source: projects/specs/trunk/g/gnome-klotski/gnome-klotski-vl.spec @ 9102

Revision 9102, 2.5 KB checked in by Takemikaduchi, 9 years ago (diff)

new upstream release

Line 
1Name:                   gnome-klotski
2Summary:                GNOME Klotski
3Summary(ja):    GNOME Klotski
4Version:                3.14.2
5Release:                1%{?_dist_release}
6License:                GPLv2
7Group:                  Applications/Games
8URL:                    https://live.gnome.org/Klotski
9Source:                 ftp://ftp.gnome.org/pub/gnome/sources/%{name}/3.14/%{name}-%{version}.tar.xz
10
11BuildRoot: %{_tmppath}/%{name}-%{version}-root
12
13BuildRequires:  gtk3-devel
14BuildRequires:  librsvg2-devel
15BuildRequires:  yelp-tools
16BuildRequires:  vala
17
18Requires(postun,posttrans): desktop-file-utils
19Requires(postun,posttrans): gtk3
20
21Vendor:                 Project Vine
22Distribution:   Vine Linux
23Packager:               Takemikaduchi
24
25%description
26gnome-klotski is a clone of the Klotski game.
27The objective is to move the patterned block to the area bordered by green markers.
28
29
30%prep
31%setup -q
32
33%build
34%configure
35make %{?_smp_mflags}
36
37%install
38rm -rf $RPM_BUILD_ROOT
39
40make install DESTDIR=$RPM_BUILD_ROOT
41
42%find_lang %{name} --with-gnome
43
44%clean
45rm -rf $RPM_BUILD_ROOT
46
47%post
48touch %{_datadir}/icons/hicolor
49gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || :
50
51%postun
52if [ $1 -eq 0 ]; then
53  touch %{_datadir}/icons/hicolor
54  gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || :
55  glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
56  update-desktop-database -q > /dev/null || :
57fi
58
59%posttrans
60glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
61update-desktop-database -q > /dev/null || :
62
63
64%files -f %{name}.lang
65%defattr(-, root, root)
66%doc  COPYING NEWS
67%{_bindir}/%{name}
68%{_datadir}/appdata/%{name}.appdata.xml
69%{_datadir}/applications/%{name}.desktop
70%{_datadir}/glib-2.0/schemas/org.gnome.klotski.gschema.xml
71%{_datadir}/%{name}
72%{_datadir}/icons/hicolor/*/apps/%{name}.*
73%{_datadir}/icons/HighContrast/*/apps/%{name}.*
74%{_mandir}/man6/%{name}.6.gz
75
76
77%changelog
78* Wed Nov 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2-1
79- new upstream release
80
81* Tue Oct 28 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1-1
82- new upstream release
83
84* Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-1
85- new upstream release
86
87* Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1
88- new upstream release
89
90* Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
91- new upstream release
92
93* Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.0-2
94- rebuild with VineSeed environment
95
96* Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.0-1
97- new upstream release
98
99* Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1
100- new upstream release
101
102* Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
103- initial build
104
Note: See TracBrowser for help on using the repository browser.