summaryrefslogtreecommitdiff
path: root/dmake.spec
blob: efddd52b64db7882b4167e9ffd04e3fb05add3ef (plain)
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
Summary:	Distributed Make
Name:		dmake
Version:	4.11
Release:	0.2
License:	GPL
Group:		Development/Building
Source0:	http://tools.openoffice.org/dmake/%{name}_%{version}.zip
# Source0-md5:	e00deccf8817eec85ab5c0268d5a7bfb
URL:		http://tools.openoffice.org/dmake/
#BuildRequires:	unzip
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
Dmake is a build utility similar to GNU make or the Sun Studio dmake.
This utility has an irregular syntax. It is currently maintained by
the OpenOffice.org team as it is part of the OpenOffice.org build
environment.

%prep
%setup -q -n dmake

%build
%configure \
	--datadir=%{_datadir}/dmake
%{__make}

%install
rm -rf $RPM_BUILD_ROOT
%{__make} install \
	DESTDIR=$RPM_BUILD_ROOT
install -D man/dmake.tf $RPM_BUILD_ROOT%{_mandir}/man1/dmake.1

%files
%defattr(644,root,root,755)
%doc ChangeLog NEWS readme/release.txt readme/public/unix.txt 
%attr(755,root,root) %{_bindir}/%{name}
%{_datadir}/dmake
%{_mandir}/man1/dmake.1*

%clean
rm -rf $RPM_BUILD_ROOT