source: projects/specs/trunk/b/black-box/black-box-vl.spec @ 5647

Revision 5647, 2.8 KB checked in by Takemikaduchi, 12 years ago (diff)

libsrtp,gstreamer-filters: new package

Line 
1Name:         black-box
2License:      GPL
3Group:        Applications/Games
4Summary:      Find the crystals
5Summary(ja):  隠された水晶の位置を推測するパズルゲーム
6Version:      1.4.8
7Release:      1%{?_dist_release}
8URL:          http://www.linux-games.com/black-box/
9Source:       %{name}-%{version}.tar.gz
10Source1:      %{name}.xpm
11Source2:      %{name}.desktop
12Source3:      %{name}.6
13Patch1:       black-box-1.4.3-maxpath.dif
14Patch3:       black-box-1.4.3-config.patch
15BuildRoot:    %{_tmppath}/%{name}-%{version}-build
16
17BuildRequires: automake
18BuildRequires: autoconf
19BuildRequires: SDL-devel
20BuildRequires: SDL_mixer-devel
21BuildRequires: SDL_image-devel
22BuildRequires: libpng-devel
23Requires: SDL
24Requires: SDL_mixer
25Requires: SDL_image
26Requires: libpng
27
28Vendor: Project Vine
29Distribution: Vine Linux
30Packager: OOI Keita <ooik.ovwqlsjxcqwg4dc@privango.jp>
31
32%description
33There's a black box. You can shoot in and watch, where the shot leaves
34the box. In the box, crystals are reflecting the shots. You have to
35guess where the crystals are hidden, by watching your shots.
36
37%description -l ja
38ブラックボックスに光線をあてると、光の跡が残ります。
39箱の中にある水晶が、光を反射しているのです。
40光の跡を手がかりにに、水晶が隠されている場所を推測しなければなりません。
41
42%prep
43%setup
44%patch1
45%patch3 -p0 -b .config
46
47%build
48aclocal
49automake -a
50autoconf
51#CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" ./configure --prefix=%{_prefix}
52%configure --prefix=%{_prefix}
53make
54
55%install
56rm -rf $RPM_BUILD_ROOT
57make DESTDIR=$RPM_BUILD_ROOT install-strip
58
59# add desktop icon
60mkdir -p $RPM_BUILD_ROOT/%{_datadir}/pixmaps
61install -p -m0644 %{SOURCE1} $RPM_BUILD_ROOT/%{_datadir}/pixmaps/%{name}.xpm
62
63# add desktop
64mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
65install -p -m0644 %{SOURCE2} $RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop
66
67# add man
68mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man6
69install -p -D -m 644 %{SOURCE3} ${RPM_BUILD_ROOT}/%{_mandir}/man6/%{name}.6
70
71
72%clean
73rm -rf $RPM_BUILD_ROOT
74
75%files
76%defattr(-,root,root)
77%doc AUTHORS COPYING ChangeLog README NEWS
78%{_bindir}/%{name}
79%{_datadir}/black-box
80%{_datadir}/pixmaps
81%{_datadir}/applications
82%{_mandir}/man6
83
84%changelog -n black-box
85* Tue Feb 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.8-1
86- update to 1.4.8
87- remove Patch0,2
88- add BuildRequires: SDL_image-devel
89
90* Sat Sep 06 2008 Shu KONNO <owa@bg.wakwak.com> 1.4.3-2vl5
91- applied new versioning policy, spec in utf-8
92- added black-box-1.4.3-config.patch
93
94* Tue Oct 3 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.4.3-1vl2
95- rebuilt for Vine Linux 4.0
96- changed Group to Applications/Games
97
98* Sun Feb 6 2005 OOI Keita <ooik.ovwqlsjxcqwg4dc@privango.jp> - 1.4.3-1vl1
99- initial build
100- patchs (and source) from suse
101- man from deb
102- add desktop and icon
Note: See TracBrowser for help on using the repository browser.