summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorSebastian Schmelzer2010-09-14 10:33:05 +0200
committerSebastian Schmelzer2010-09-14 10:33:05 +0200
commit3ac01e190e5631bba65d8511671640858f6c5d48 (patch)
treeecfaaebca1b15cac15138a044aa28206ec9b56a1 /packaging
parentdeb creation successfull (diff)
downloadcore-3ac01e190e5631bba65d8511671640858f6c5d48.tar.gz
core-3ac01e190e5631bba65d8511671640858f6c5d48.tar.xz
core-3ac01e190e5631bba65d8511671640858f6c5d48.zip
first steps to rpm pkg builder
Diffstat (limited to 'packaging')
-rw-r--r--packaging/rpm/openslx.spec26
1 files changed, 10 insertions, 16 deletions
diff --git a/packaging/rpm/openslx.spec b/packaging/rpm/openslx.spec
index 893bb877..f2aee04d 100644
--- a/packaging/rpm/openslx.spec
+++ b/packaging/rpm/openslx.spec
@@ -1,17 +1,17 @@
#
-# spec file for OpenSLX (Version 4.0.0)
+# spec file for OpenSLX (Version ###version###)
#
Name: openslx
-Version: 4.0.0
-Release: 0
+Version: ###version###
+Release: ###release###
License: GNU General Public License (GPL)
Group: Productivity/Networking/System
Url: http://openslx.org/
Autoreqprov: on
Requires: perl-DBD-SQLite perl-DBD-mysql
-#PreReq:
-Source: %{name}-%{version}.tar.bz2
+PreReq: perl
+Source: %{name}-v%{version}-%{release}.tar.gz
Summary: Open StateLess Extensions
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl-DBD-SQLite perl-DBD-mysql
@@ -29,27 +29,21 @@ see any difference
Authors:
--------
- Dirk von Suchodoletz, <dvs@OpenSLX.com>, 2002 - 2007
- Michael Janczyk, 2003 - 2007
- Nico Dietrich, 2005 - 2006
- Felix Endres, 2005 - 2007
- Tobias Maier, 2005 - 2006
- Bastian Wissler, 2006 - 2007
- Lars Mueller, <lm@OpenSLX.com>, 2006 - 2007
- Oliver Tappe, <ot@OpenSLX.com>, 2006 - 2007
+###authors###
+
%prep
+
%setup
%build
%install
[ "${RPM_BUILD_ROOT}" != "/" -a -d ${RPM_BUILD_ROOT} ] && rm -rf ${RPM_BUILD_ROOT}
-make install \
- DESTDIR="${RPM_BUILD_ROOT}"
+./tools/installer plain-install SLX_BUILD_PATH="${RPM_BUILD_ROOT}"
%clean
[ "${RPM_BUILD_ROOT}" != "/" -a -d ${RPM_BUILD_ROOT} ] && rm -rf ${RPM_BUILD_ROOT}
-%files -f packaging/rpm/openslx-filelist
+%files -f %{_topdir}/FILES
%defattr(-,root,root)