source: projects/specs/trunk/i/iagno/iagno-vl.spec @ 12198

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

updated games

Line 
1Name:                   iagno
2Summary:                GNOME Reversi
3Summary(ja):    GNOME リバーシ
4Version:                3.30.0
5Release:                1%{?_dist_release}
6License:                GPLv2
7Group:                  Applications/Games
8URL:                    https://live.gnome.org/Iagno
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/iagno/raw/master/po/ja.po
12BuildRoot: %{_tmppath}/%{name}-%{version}-root
13
14BuildRequires:  gtk3-devel
15BuildRequires:  librsvg2-devel
16BuildRequires:  libcanberra-gtk3-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
27Iagno is a computer version of the game Reversi, more popularly called Othello.
28
29
30%prep
31%setup -q
32cp -f %{SOURCE1} po/
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%license COPYING
68%doc NEWS
69%{_bindir}/%{name}
70%{_datadir}/metainfo/%{name}.appdata.xml
71%{_datadir}/applications/%{name}.desktop
72%{_datadir}/glib-2.0/schemas/org.gnome.iagno.gschema.xml
73%{_datadir}/%{name}
74%{_datadir}/icons/*/*/apps/*
75%{_mandir}/man6/%{name}.6.gz
76
77
78%changelog
79* Mon Sep 09 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.30.0-1
80- new upstream release.
81- imported newest ja.po from upstream.
82
83* Mon Jul 18 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.20.2-1
84- new upstream release
85
86* Fri Nov 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.2-1
87- new upstream release
88
89* Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.1-1
90- new upstream release
91
92* Sun Apr 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.1-1
93- new upstream release
94
95* Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
96- new upstream release
97
98* Wed Nov 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2-1
99- new upstream release
100
101* Tue Oct 28 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1-1
102- new upstream release
103
104* Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-1
105- new upstream release
106
107* Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1
108- new upstream release
109
110* Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
111- new upstream release
112
113* Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-2
114- rebuild with VineSeed environment
115
116* Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
117- new upstream release
118
119* Tue Aug 27 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1
120- new upstream release
121
122* Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
123- initial build
124
Note: See TracBrowser for help on using the repository browser.