-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdirt.spec.in
More file actions
89 lines (73 loc) · 2.78 KB
/
dirt.spec.in
File metadata and controls
89 lines (73 loc) · 2.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# This is the spec file for building a RPM of dirt
# Originaly created by Rodrigo Parra Novo
Summary: Dirt: A MUD client for Unix
Summary(pt_BR): Dirt: Um cliente de MUD para Unix
Name: dirt
# The below line is automatically updated
Version: @DIRT_VERSION2@
Release: 1
Copyright: GPL
Group: Amusements/Games
Group(pt_BR): Passatempos/Jogos
Packager: Erwin S. Andreasen <erwin@andreasen.org>
URL: http://draal.physics.wisc.edu/dirt/
Source: http://draal.physics.wisc.edu/dist/dirt-%{version}-src.tar.gz
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-install-root
Prefix: /usr
DocDir: %{prefix}/doc
%description
dirt is a MUD client running under Unix. Under Linux console, it uses direct
Virtual Console access for high speed, but it can also run in an xterm or on a
VT100/ANSI compatible terminal. Embedded Perl and Python provide a high degree
of tweakability.
%description -l pt_BR
O dirt é um cliente de MUD que roda no Unix. No console virtual do Linux
ele usa acesso direto ao console para obter uma velocidade maior, mas
ele também pode rodar em um xterm, ou em um terminal compatível com a
especificação VT100/ANSI. O dirt tem suporte a scripts via plugins, sendo que
já estão disponíveis perl e python.
%prep
%setup -q
%build
export CFLAGS="$RPM_OPT_FLAGS"
export CXXFLAGS="$RPM_OPT_FLAGS"
export LDFLAGS="-s"
./configure --prefix=%{prefix} --with-install-root=$RPM_BUILD_ROOT
make
strip dirt o/plugins/*.so || : # Strip may fail in some cases
%install
make install
%files
%defattr (-, root, root)
%doc README.1ST INSTALL doc/
%{prefix}/bin/dirt
%{prefix}/lib/dirt
%clean
rm -rf $RPM_BUILD_ROOT
%changelog
* Fri Jan 26 2000 Bob McElrath <mcelrath+dirt@draal.physics.wisc.edu>
- Renamed everything to "dirt" from mcl.
* Sun Oct 03 1999 Rodrigo Parra Novo <rodarvus@conectiva.com.br>
- Modified the spec file to work with autoconf
- Allowed non-root builds
- Allowed the use of prefixes in the install
- Create mcl.spec directly from mcl.spec.in
- Modified the RPM group mcl belongs to
* Mon Sep 24 1999 Erwin S. Andreasen <erwin@andreasen.org>
- Moved samples to /usr/lib/mcl/, tweaked things.
* Mon Sep 20 1999 Erwin S. Andreasen <erwin@andreasen.org>
- Plugins added
* Fri Mar 12 1999 Erwin S. Andreasen <erwin@andreasen.org>
- Trying to build the 0.50.02 version myself :)
* Tue Feb 16 1999 Rodrigo Parra Novo <rodarvus@conectiva.com.br>
- Updated package to version 0.50.01
- Changed version of perl needed to 5.004
- Removed patch to make mcl compile on an alpha
* Mon Feb 15 1999 Rodrigo Parra Novo <rodarvus@conectiva.com.br>
- Updated package to version 0.50.00
- Added requires perl >= 5.00502
- Added patch to make alpha compile again
- Now mcl goes stripped by default
* Wed Dec 30 1998 Rodrigo Parra Novo <rodarvus@conectiva.com.br>
- First build with RPM (version 0.42.05)
- Added pt_BR translations