source: projects/specs/trunk/f/fillets-ng/fillets-ng-vl.spec @ 8867

Revision 8867, 3.9 KB checked in by munepi, 10 years ago (diff)

rebuilt with current environment

Line 
1%define dataversion 1.0.0
2
3Summary:        a Linux port of wonderful puzzle game Fish Fillets
4Summary(ja):    海をモチーフにした倉庫番形式のパズルゲーム
5Name:           fillets-ng
6Version:        1.0.1
7Release:        2%{?_dist_release}
8Source0:        %{name}-%{version}.tar.gz
9Source1:        %{name}-data-%{dataversion}.tar.gz
10License:        GPLv2
11Group:          Applications/Games
12URL:            http://fillets.sourceforge.net/
13
14Requires:       SDL SDL_mixer SDL_image SDL_ttf
15Requires:       lua
16BuildRequires:  SDL-devel >= 1.2.0
17BuildRequires:  SDL_mixer-devel SDL_image-devel SDL_ttf-devel
18BuildRequires:  lua-devel >= 5.0
19BuildRequires:  fribidi-devel
20BuildRequires:  smpeg-devel
21BuildRequires:  libX11-devel
22
23BuildRoot:      %{_tmppath}/%{name}-%{version}-root
24
25Obsoletes:      fillets-ng-data < 0.9.0
26
27Vendor:         Project Vine
28Distribution:   Vine Linux
29Packager:       munepi
30
31%description
32Fish Fillets NG is a Linux port of wonderful puzzle game Fish Fillets from
33ALTAR interactive.
34
35%description -l ja
36Fish Fillets NG は,ALTAR interactive による不可思議なパズルゲーム
37Fish Fillets の Linux port です.
38
39
40%prep
41%__rm -rf ${RPM_BUILD_ROOT}
42%setup -q
43
44%build
45%configure --datadir=%{_datadir}/games/fillets-ng
46%{__make} %{?_smp_mflags}
47
48%install
49%__rm -rf ${RPM_BUILD_ROOT}
50%makeinstall
51
52# dataファイルのインストール
53%__install -d ${RPM_BUILD_ROOT}/%{_datadir}/games
54tar zxf %{SOURCE1} -C ${RPM_BUILD_ROOT}/%{_datadir}/games
55%__mv ${RPM_BUILD_ROOT}/%{_datadir}/games/%{name}-data-%{dataversion} \
56    ${RPM_BUILD_ROOT}/%{_datadir}/games/%{name}
57
58%__install -d ${RPM_BUILD_ROOT}/%{_datadir}/pixmaps
59%__install -m 644 ${RPM_BUILD_ROOT}/%{_datadir}/games/%{name}/images/icon.png \
60    ${RPM_BUILD_ROOT}/%{_datadir}/pixmaps/fillets.png
61%__install -d ${RPM_BUILD_ROOT}/%{_datadir}/applications
62
63cat >  ${RPM_BUILD_ROOT}/%{_datadir}/applications/%{name}.desktop <<EOF
64[Desktop Entry]
65Name=Fish Fillets - Next Generation
66Comment=Fish Fillets is strictly a puzzle game.
67TryExec=fillets
68Exec=%{_bindir}/fillets systemdir="%{_datadir}/games/fillets-ng"
69Icon=fillets.png
70Terminal=false
71Type=Application
72Categories=GNOME;Application;Game
73EOF
74
75
76%clean
77%__rm -rf ${RPM_BUILD_ROOT}
78
79
80%files
81%defattr(-,root,root)
82%{_bindir}/fillets
83%{_datadir}/pixmaps/fillets.png
84%{_datadir}/applications/%{name}.desktop
85%{_mandir}/man6/fillets.6.gz
86%{_datadir}/games/%{name}/
87
88
89%changelog
90* Sat Jul 12 2014 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.1-2
91- rebuilt with current environment
92
93* Wed Nov  9 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.1-1
94- new upstream release
95
96* Wed Dec 29 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.0-1
97- new upstream release
98- added BuildRequires:
99  - fribidi-devel
100  - smpeg-devel
101  - libX11-devel
102
103* Mon Jul 19 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.3-1
104- new upstream release
105
106* Sun Nov 01 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.2-1
107- new upstream release
108
109* Sun Aug 02 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.1-1
110- new upstream release
111- added Summary(ja) tag
112- obsoleted fillets-ng-data < 0.9.0
113
114* Sun Jan 25 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.8.1-1
115- new upstream release
116
117* Thu Sep 25 2008 Shu KONNO <owa@bg.wakwak.com> 0.8.0-1vl5
118- applied new versioning policy, spec in utf-8
119
120* Sun Jan 27 2008 Shu KONNO <owa@bg.wakwak.com> 0.8.0-0vl4
121- rebuilt
122
123* Sun Jan 13 2008 Shu KONNO <owa@bg.wakwak.com> 0.8.0-0vl3
124- added "--datadir=%%{_datadir}/games/fillets-ng" to configure
125
126* Mon Jan 07 2008 Shu KONNO <owa@bg.wakwak.com> 0.8.0-0vl2
127- new upstream release
128- updated desktop file
129
130* Sun Aug 5 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 0.7.4-0vl1
131- initial build for Vine Linux 4.1
132 - new upstream release for Vine Linux 4.1
133 - drop fillets-ng-0.7.4-lua-pkgconfig.patch
134
135* Fri Dec 16 2005 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 0.7.3-0vl1
136- update base system to 0.7.3 (but data version is 0.7.1)
137
138* Sat Jul 23 2005 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 0.7.1-0vl1
139- initial build for Vine Linux 3.2
140
141# end of file
Note: See TracBrowser for help on using the repository browser.