source: projects/specs/trunk/g/gnome-mahjongg/gnome-mahjongg-vl.spec @ 12198

Revision 12198, 3.1 KB checked in by tomop, 5 years ago (diff)

updated games

Line 
1Name:                   gnome-mahjongg
2Summary:                GNOME Mahjongg
3Summary(ja):    GNOME 上海
4Version:                3.22.0
5Release:                1%{?_dist_release}
6License:                GPLv2
7Group:                  Applications/Games
8URL:                    https://live.gnome.org/Mahjongg
9%global                 shortver %(echo "%{version}" | sed -e 's/\.[0-9]*$//')
10Source:                 https://download.gnome.org/sources/%{name}/%{shortver}/%{name}-%{version}.tar.xz
11Source1:                https://github.com/GNOME/gnome-mahjongg/raw/master/po/ja.po
12
13BuildRoot: %{_tmppath}/%{name}-%{version}-root
14
15BuildRequires:  gtk3-devel
16BuildRequires:  librsvg2-devel
17BuildRequires:  yelp-tools
18BuildRequires:  vala
19
20Requires(postun,posttrans): desktop-file-utils
21Requires(postun,posttrans): gtk3
22
23Vendor:                 Project Vine
24Distribution:   Vine Linux
25
26%description
27gnome-mahjongg is a solitaire (one player) version of the classic Eastern tile game,
28Mahjongg. The objective is to select pairs of similar tiles.
29
30
31%prep
32%setup -q
33cp -f %{SOURCE1} po/
34
35%build
36%configure
37make %{?_smp_mflags}
38
39%install
40rm -rf $RPM_BUILD_ROOT
41
42make install DESTDIR=$RPM_BUILD_ROOT
43
44%find_lang %{name} --with-gnome
45
46%clean
47rm -rf $RPM_BUILD_ROOT
48
49%post
50touch %{_datadir}/icons/hicolor
51gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || :
52
53%postun
54if [ $1 -eq 0 ]; then
55  touch %{_datadir}/icons/hicolor
56  gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || :
57  glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
58  update-desktop-database -q > /dev/null || :
59fi
60
61%posttrans
62glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
63update-desktop-database -q > /dev/null || :
64
65
66%files -f %{name}.lang
67%defattr(-, root, root)
68%license COPYING
69%doc NEWS
70%{_bindir}/%{name}
71%{_datadir}/appdata/%{name}.appdata.xml
72%{_datadir}/applications/%{name}.desktop
73%{_datadir}/glib-2.0/schemas/org.gnome.mahjongg.gschema.xml
74%{_datadir}/%{name}
75%{_datadir}/icons/hicolor/*/*/*
76%{_mandir}/man6/%{name}.6.gz
77
78
79%changelog
80* Mon Sep 09 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.22.0-1
81- new upstream release.
82- imported newest ja.po from upstream.
83
84* Mon Jul 18 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.20.0-1
85- new upstream release
86
87* Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.0-1
88- new upstream release
89
90* Sat Oct 10 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.2-1
91- new upstream release
92
93* Sat May 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.1-1
94- new upstream release
95
96* Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
97- new upstream release
98
99* Tue Oct 28 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1-1
100- new upstream release
101
102* Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-1
103- new upstream release
104
105* Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1
106- new upstream release
107
108* Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
109- new upstream release
110
111* Sat Nov 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.2-1
112- new upstream release
113
114* Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
115- new upstream release
116
117* Tue Aug 27 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.0-2
118- change permission
119
120* Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.0-1
121- initial build
122
Note: See TracBrowser for help on using the repository browser.