about summary refs log tree commit diff
path: root/nix.spec.in
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2004-01-02T16·04+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2004-01-02T16·04+0000
commit9ff365709541b8f50fddcf667ded07a5b9f774de (patch)
tree8d9780afe6dbc0c36fd6108b5d3004bf90a1f0a1 /nix.spec.in
parent0e09cc12c08ad2db0b8620ca537bd81ca45c05df (diff)
* Generate RPM spec file.
Diffstat (limited to 'nix.spec.in')
-rw-r--r--nix.spec.in42
1 files changed, 42 insertions, 0 deletions
diff --git a/nix.spec.in b/nix.spec.in
new file mode 100644
index 000000000000..388c4075196c
--- /dev/null
+++ b/nix.spec.in
@@ -0,0 +1,42 @@
+Summary: The Nix software deployment system
+Name: nix
+Version: @version@
+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
+%{_prefix}/store
+%config
+%{_prefix}/etc
+#%doc
+#%{_prefix}/share/nix/manual