source: projects/specs/trunk/s/swell-foop/swell-foop-vl.spec @ 8119

Revision 8119, 2.3 KB checked in by Takemikaduchi, 10 years ago (diff)

rebuild or new upstream release

Line 
1Name:                   swell-foop
2Summary:                GNOME Swell Foop (Same GNOME)
3Summary(ja):    さめ GNOME
4Version:                3.10.1
5Release:                2%{?_dist_release}
6License:                GPLv2
7Group:                  Applications/Games
8URL:                    https://live.gnome.org/Swell%20Foop
9Source:                 ftp://ftp.gnome.org/pub/gnome/sources/%{name}/3.10/%{name}-%{version}.tar.xz
10
11BuildRoot: %{_tmppath}/%{name}-%{version}-root
12
13BuildRequires:  gtk3-devel
14BuildRequires:  clutter-gtk-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
26Swell Foop is a puzzle game, previously known as Same GNOME. The goal is to
27remove the objects in as few moves as possible. Similar objects that are
28adjacent to each other are removed as a group. The remaining objects then
29collapse to fill in the gaps and new groups are formed. You cannot remove
30single objects.
31
32
33%prep
34%setup -q
35
36%build
37%configure
38make %{?_smp_mflags}
39
40%install
41rm -rf $RPM_BUILD_ROOT
42
43make install DESTDIR=$RPM_BUILD_ROOT
44
45%find_lang %{name} --with-gnome
46
47%clean
48rm -rf $RPM_BUILD_ROOT
49
50%post
51touch %{_datadir}/icons/hicolor
52gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || :
53
54%postun
55if [ $1 -eq 0 ]; then
56  touch %{_datadir}/icons/hicolor
57  gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || :
58  glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
59  update-desktop-database -q > /dev/null || :
60fi
61
62%posttrans
63glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
64update-desktop-database -q > /dev/null || :
65
66
67%files -f %{name}.lang
68%defattr(-, root, root)
69%doc  COPYING NEWS
70#%attr(2551, root, games) %{_bindir}/%{name}
71%{_bindir}/%{name}
72%{_datadir}/appdata/swell-foop.appdata.xml
73%{_datadir}/applications/%{name}.desktop
74%{_datadir}/glib-2.0/schemas/org.gnome.swell-foop.gschema.xml
75%{_datadir}/%{name}
76%{_datadir}/icons/HighContrast/*/*/%{name}.*
77%{_datadir}/icons/hicolor/*/*/%{name}.*
78
79
80%changelog
81* Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-2
82- rebuild with VineSeed environment
83
84* Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
85- new upstream release
86
87* Tue Aug 27 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1
88- new upstream release
89- change permission
90
91* Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
92- initial build
93
Note: See TracBrowser for help on using the repository browser.