source: projects/specs/trunk/g/gnome-tetravex/gnome-tetravex-vl.spec @ 7938

Revision 7938, 2.1 KB checked in by Takemikaduchi, 11 years ago (diff)

GNOME-3.10.1

Line 
1Name:                   gnome-tetravex
2Summary:                GNOME Tetravex
3Summary(ja):    GNOME Tetravex
4Version:                3.10.1
5Release:                1%{?_dist_release}
6License:                GPLv2
7Group:                  Applications/Games
8URL:                    https://live.gnome.org/Tetravex
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:  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-tetravex is a simple puzzle where pieces must be positioned so that the
27same numbers are touching each other. Your game is timed, these times are stored
28in a system-wide scoreboard.
29
30
31%prep
32%setup -q
33
34%build
35%configure
36make %{?_smp_mflags}
37
38%install
39rm -rf $RPM_BUILD_ROOT
40
41make install DESTDIR=$RPM_BUILD_ROOT
42
43%find_lang %{name} --with-gnome
44
45%clean
46rm -rf $RPM_BUILD_ROOT
47
48%post
49touch %{_datadir}/icons/hicolor
50gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || :
51
52%postun
53if [ $1 -eq 0 ]; then
54  touch %{_datadir}/icons/hicolor
55  gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || :
56  glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
57  update-desktop-database -q > /dev/null || :
58fi
59
60%posttrans
61glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
62update-desktop-database -q > /dev/null || :
63
64
65%files -f %{name}.lang
66%defattr(-, root, root)
67%doc  COPYING NEWS
68#%attr(2551, root, games) %{_bindir}/%{name}
69%{_bindir}/%{name}
70%{_datadir}/appdata/gnome-tetravex.appdata.xml
71%{_datadir}/applications/%{name}.desktop
72%{_datadir}/glib-2.0/schemas/org.gnome.tetravex.gschema.xml
73%{_datadir}/%{name}
74%{_datadir}/icons/hicolor/*/apps/%{name}.*
75%{_datadir}/icons/HighContrast/*/apps/%{name}.*
76%{_mandir}/man6/%{name}.6.gz
77
78
79%changelog
80* Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
81- new upstream release
82
83* Tue Aug 27 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-2
84- change permission
85
86* Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
87- initial build
88
Note: See TracBrowser for help on using the repository browser.