- tabs in preamble
[packages/SearchAndRescue-scnedit.git] / SearchAndRescue-scnedit.spec
CommitLineData
e6ca58a1 1Summary: Search And Rescue scenery editor
d7b35ddf 2Summary(pl.UTF-8): Edytor scenerii gry Search And Rescue
e6ca58a1
JB
3Name: SearchAndRescue-scnedit
4%define rname scnedit
5Version: 0.0.2
6Release: 1
7License: GPL
8Group: X11/Applications/Games
9Source0: ftp://wolfpack.twu.net/users/wolfpack/%{rname}-%{version}.tar.bz2
10# Source0-md5: 19b7e9ce36ad0d83f5f21d323b0b5c84
11URL: http://wolfpack.twu.net/SearchAndRescue/
12BuildRequires: gtk+-devel >= 1.2.10
13Requires: SearchAndRescue >= 0.7.21
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
17Scenery Editor (scnedit) allows you to edit the scenery files (.scn
18files) for the game Search and Rescue.
19
1734f30d
JR
20%description -l pl.UTF-8
21Scenery Editor (scnedit) pozwala na edycję plików scenerii (.scn) dla
e6ca58a1
JB
22gry Search And Rescue.
23
24%prep
25%setup -q -n %{rname}-%{version}
26
27%build
28# not autoconf-generated
29./configure Linux -v
30
31%{__make} \
32 CFLAGS="%{rpmcflags} `gtk-config --cflags`"
33
34%install
35rm -rf $RPM_BUILD_ROOT
36
37%{__make} install \
38 PREFIX=$RPM_BUILD_ROOT%{_prefix} \
39 BIN_DIR=$RPM_BUILD_ROOT%{_bindir} \
40 MAN_DIR=$RPM_BUILD_ROOT%{_mandir}/man6 \
41 DATA_DIR=$RPM_BUILD_ROOT%{_datadir}/SearchAndRescue/scnedit
42
43bzip2 -d $RPM_BUILD_ROOT%{_mandir}/man6/*.bz2
44
45%clean
46rm -rf $RPM_BUILD_ROOT
47
48%files
49%defattr(644,root,root,755)
50%doc AUTHORS README
51%attr(755,root,root) %{_bindir}/*
52%{_mandir}/man6/*.6*
This page took 0.062625 seconds and 4 git commands to generate.