File: darkradiant.spec

package info (click to toggle)
darkradiant 3.9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 41,080 kB
  • sloc: cpp: 264,743; ansic: 10,659; python: 1,852; xml: 1,650; sh: 92; makefile: 21
file content (64 lines) | stat: -rw-r--r-- 1,613 bytes parent folder | download | duplicates (6)
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
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 <ibixian@gmail.com> - 0.9.12-2
- patches upstream. Removed here.

* Tue Mar 24 2009 ibix <ibixian@gmail.com> - 0.9.12-1
- spec file.
- patch for sound detection on fedora.
- patch for valid desktop entry.