- tabs in preamble
[packages/SearchAndRescue-scnedit.git] / SearchAndRescue-scnedit.spec
1 Summary:        Search And Rescue scenery editor
2 Summary(pl.UTF-8):      Edytor scenerii gry Search And Rescue
3 Name:           SearchAndRescue-scnedit
4 %define rname   scnedit
5 Version:        0.0.2
6 Release:        1
7 License:        GPL
8 Group:          X11/Applications/Games
9 Source0:        ftp://wolfpack.twu.net/users/wolfpack/%{rname}-%{version}.tar.bz2
10 # Source0-md5:  19b7e9ce36ad0d83f5f21d323b0b5c84
11 URL:            http://wolfpack.twu.net/SearchAndRescue/
12 BuildRequires:  gtk+-devel >= 1.2.10
13 Requires:       SearchAndRescue >= 0.7.21
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 Scenery Editor (scnedit) allows you to edit the scenery files (.scn
18 files) for the game Search and Rescue.
19
20 %description -l pl.UTF-8
21 Scenery Editor (scnedit) pozwala na edycję plików scenerii (.scn) dla
22 gry 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
35 rm -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
43 bzip2 -d $RPM_BUILD_ROOT%{_mandir}/man6/*.bz2
44
45 %clean
46 rm -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.05298 seconds and 3 git commands to generate.