]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - cmake/da.spec.in
Create DA RPM
[u/mrichter/AliRoot.git] / cmake / da.spec.in
diff --git a/cmake/da.spec.in b/cmake/da.spec.in
new file mode 100644 (file)
index 0000000..6eaba25
--- /dev/null
@@ -0,0 +1,32 @@
+# RPM specfile for  Detector Algorithm
+Summary: @DETECTOR@ Detector Algorithm
+Name: daqDA-@DETECTOR@-@ALGORITHM@
+Version: @ALIROOT_VERSION_RPM@
+Release: @GIT_SHORT_SHA1@
+License: CERN Alice DAQ/Offine
+Group: Applications/Alice
+Prefix: /opt/%{name}
+BuildRoot: /@CMAKE_CURRENT_BINARY_DIR@/da-@ALGORITHM@-rpm
+
+# automatic dependencies
+AutoReqProv: yes
+
+# list here required RPM packages for compilation
+BuildRequires: date
+
+# list here required RPM packages for runtime
+Requires: date, daqDA-lib
+
+# You can specify other dependencies in the description tag below.
+
+# description of the package
+%description
+@RPM_DESCRIPTION@
+
+# Turning off the Fascist build policy
+%define _unpackaged_files_terminate_build 0
+
+# list of files to be installed
+%files
+%defattr (-,root,root)
+%{prefix}/@DA_EXECUTABLE@
\ No newline at end of file