source: projects/specs/trunk/x/xbill/xbill-vl.spec @ 9247

Revision 9247, 3.4 KB checked in by inagaki, 9 years ago (diff)

2015-01-11 Ryoichi INAGAKI <ryo1@…>

  • libXaw3dXft: updated
  • xbill: built with libXaw3dXft
  • xfig: added xft patch


Line 
1Summary: Get rid of those Wingdows Viruses!
2Summary(ja): Wingdows ウィルスを撲滅しよう!
3Name: xbill
4Version: 2.1
5Release: 6%{?_dist_release}
6
7License: GPLv2
8Group: Applications/Games
9URL: http://www.xbill.org/
10
11Source: ftp://ftp.xbill.org/pub/xbill/%{name}-%{version}.tar.gz
12Source1: %{name}.desktop
13Source2: %{name}.png
14
15BuildRoot: %{_tmppath}/%{name}-%{version}-root
16BuildRequires: libXaw3dXft-devel
17BuildRequires: libXpm-devel
18
19Vendor: Project Vine
20Distribution: Vine Linux
21
22%description
23Ever get the feeling that nothing is going right? You're a sysadmin,
24and someone's trying to destroy your computers. The little people
25running around the screen are trying to infect your computers with
26Wingdows [TM], a virus cleverly designed to resemble a popular
27operating system. Your objective is to click the mouse on them, ending
28their potential threat. If one of the people reaches a computer, it
29will attempt to replace your operating system with the virus it
30carries. It will then attempt to run off the screen with your vital
31software.
32
33%description -l ja
34くそ!何もかもうまくいかない。誰かがシステム管理者の俺の目を盗んでコン
35ピュータをめちゃめちゃにしやがる。小人さんが画面を駆け回ってありふれた
36OS そっくりににせた Wingdows (TM) ウィルスに感染させようとしているに違
37いない。かくなるうえはマウスを使ってこいつらをとっつかまえて絞り上げて
38やる。なんせやつらはコンピュータに付くやいなや OS をウィルスに取り替え
39て、大事なソフトウェアをかっさらって逃げるからな。
40
41
42%prep
43%setup -q
44
45%build
46# fixed for building with libXaw3dxft
47sed -i -e 's|Xaw3d|Xaw3dxft|g' configure
48sed -i -e 's|X11/Xaw/|X11/Xaw3dxft/|g' x11-athena.c
49
50LIBS="-lXpm" ./configure \
51    --prefix=%{_prefix} \
52    --localstatedir=/var/lib/games \
53    --disable-motif \
54    --enable-athena \
55    --disable-gtk
56make
57
58%install
59rm -rf $RPM_BUILD_ROOT
60
61# install desktop
62mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
63install -p -m 0644 %{SOURCE1} $RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop
64
65# install icon
66mkdir -p ${RPM_BUILD_ROOT}/%{_datadir}/pixmaps
67install -p -m 0644 %{SOURCE2} ${RPM_BUILD_ROOT}/%{_datadir}/pixmaps/%{name}.png
68
69#install man6
70mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man6/
71install -p -m0644 %{name}.6 $RPM_BUILD_ROOT/%{_mandir}/man6/%{name}.6
72
73make DESTDIR=$RPM_BUILD_ROOT install
74
75# remove unpackaged files
76rm -rf $RPM_BUILD_ROOT/usr/man/man6
77
78%clean
79rm -rf $RPM_BUILD_ROOT
80
81%files
82%defattr(-,root,root)
83%config(noreplace) /var/lib/games/xbill/scores
84%doc README
85%{_bindir}/xbill
86%{_mandir}/man6/*
87%{_datadir}/xbill
88%{_datadir}/pixmaps/*
89%{_datadir}/applications/*
90
91%changelog
92* Wed Jan  7 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.1-6
93- linked to libXaw3dxft
94- rebuilt with current VineSeed
95
96* Sat Apr 16 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.1-5
97- rebuilt with current VineSeed
98
99* Mon Sep 29 2008 Shu KONNO <owa@bg.wakwak.com> 2.1-4
100- spec in utf-8
101
102* Sat Jun  7 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.1-2
103- applied new versioning policy
104
105* Sun Jun  3 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.1-1vl3
106- rebuilt with Xaw3d-1.5E
107
108* Fri Sep 29 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.1-1vl2
109- changed Group to Applications/Games
110
111* Wed Feb 8 2005 OOI Keita <ooik.ovwqlsjxcqwg4dc@privango.jp> - 2.1-1vl1
112- initial build
113- summary and description from deb
114- setup desktop icon
Note: See TracBrowser for help on using the repository browser.