-
Notifications
You must be signed in to change notification settings - Fork 46
/
darkradiant.spec
64 lines (52 loc) · 1.58 KB
/
darkradiant.spec
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
Name: darkradiant
Version: 0.9.12
Release: 2%{?dist}
Summary: Level editor for Doom 3 and The Dark Mod
Group: Applications/Editors
License: GPLv2 and LGPLv2 and BSD
URL: http://darkradiant.sourceforge.net/
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: automake, autoconf, libtool, desktop-file-utils
%description
DarkRadiant is a 3D level editor for Doom 3 and The Dark Mod, based on the GPL
release of GtkRadiant.
%prep
%setup -q
%build
%configure --enable-darkmod-plugins --enable-debug --prefix=/usr
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
desktop-file-install \
--dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
${RPM_BUILD_ROOT}%{_datadir}/applications/darkradiant.desktop
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README
%{_bindir}/*
%{_libdir}/darkradiant/lib*
%{_libdir}/darkradiant/modules
%{_libdir}/darkradiant/scripts
%{_libdir}/darkradiant/plugins/eclasstree*
%{_datadir}/*
%package plugins-darkmod
Summary: DarkMod-specific plugins for DarkRadiant
Group: Applications/Editors
Requires: darkradiant
%description plugins-darkmod
These plugins are used for editing Dark Mod missions.
%files plugins-darkmod
%defattr(-,root,root,-)
%doc README.linux
%{_libdir}/darkradiant/plugins/dm_*
%changelog
* Tue Mar 26 2009 ibix <[email protected]> - 0.9.12-2
- patches upstream. Removed here.
* Tue Mar 24 2009 ibix <[email protected]> - 0.9.12-1
- spec file.
- patch for sound detection on fedora.
- patch for valid desktop entry.