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

Revision 10716, 2.8 KB checked in by Takemikaduchi, 8 years ago (diff)

GNOME-3.20

Line 
1Name:                   gnome-tetravex
2Summary:                GNOME Tetravex
3Summary(ja):    GNOME Tetravex
4Version:                3.20.0
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.20/%{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%{_bindir}/%{name}
69%{_datadir}/appdata/%{name}.appdata.xml
70%{_datadir}/applications/%{name}.desktop
71%{_datadir}/glib-2.0/schemas/org.gnome.tetravex.gschema.xml
72%{_datadir}/icons/hicolor/*/*/*
73%{_mandir}/man6/%{name}.6.gz
74
75
76%changelog
77* Mon Jul 18 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.20.0-1
78- new upstream release
79
80* Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.0-1
81- new upstream release
82
83* Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
84- new upstream release
85
86* Tue Oct 28 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.0-1
87- new upstream release
88
89* Sat Jun 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.3-1
90- new upstream release
91
92* Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-1
93- new upstream release
94
95* Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1
96- new upstream release
97
98* Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
99- new upstream release
100
101* Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-2
102- rebuild with VineSeed environment
103
104* Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
105- new upstream release
106
107* Tue Aug 27 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-2
108- change permission
109
110* Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
111- initial build
112
Note: See TracBrowser for help on using the repository browser.