diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-12-30T20·09+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-12-30T20·09+0000 |
commit | 94175e978a87a79f3362879898dc1cf7d08d7791 (patch) | |
tree | 19bd6e4c73447a886b1915475ac61fa4bcbc541f /nix.spec | |
parent | 68f2fadb788f8d401fad6fd1db1cfac283e5e337 (diff) |
* RPM spec file.
* Respect DESTDIR variable.
Diffstat (limited to 'nix.spec')
-rw-r--r-- | nix.spec | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/nix.spec b/nix.spec new file mode 100644 index 000000000000..9d459034b246 --- /dev/null +++ b/nix.spec @@ -0,0 +1,41 @@ +Summary: The Nix software deployment system +Name: nix +Version: 0.5 +Release: 1 +License: GPL +Group: WeetNiet +URL: http://www.cs.uu.nl/groups/ST/twiki/bin/view/Trace/NixDeploymentSystem +Source0: %{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot +%define _prefix /nix +Prefix: %{_prefix} + +%description + +Nix is a software deployment system. + +%prep +%setup -q + +%build +./configure --prefix=%{_prefix} +make + +%install +rm -rf $RPM_BUILD_ROOT +make DESTDIR=$RPM_BUILD_ROOT install + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +%{_prefix}/bin +%{_prefix}/libexec +%{_prefix}/var +%{_prefix}/share +%{_prefix}/man +%config +%{_prefix}/etc +#%doc +#%{_prefix}/share/nix/manual |