summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile10
-rw-r--r--packaging/rpm/openslx.changes4
-rw-r--r--packaging/rpm/openslx.spec55
3 files changed, 67 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 85be3bf4..38a6cd15 100644
--- a/Makefile
+++ b/Makefile
@@ -75,6 +75,12 @@ tarball:
cd - >/dev/null; \
OPENSLX_SOURCEDIR_SYMLINK_CREATED="yes"; \
fi; \
+ echo -e "$(SLX_CONFIG_PATH)\n\
+$(SLX_BASE_PATH)\n\
+$(SLX_PRIVATE_PATH)\n\
+$(SLX_PUBLIC_PATH)\n\
+$(USR_BIN_PATH)/*" \
+ >packaging/rpm/openslx-filelist; \
cd .. >/dev/null; \
tar cfhj \
"$${svn_repo_name}/openslx-$${OPENSLX_VERSION_STRING}.tar.bz2" \
@@ -83,7 +89,7 @@ tarball:
test "$${OPENSLX_SOURCEDIR_SYMLINK_CREATED}" = "yes" && \
rm -f "openslx-$${OPENSLX_VERSION_STRING}"; \
cd - >/dev/null; \
- rm REVISION
+ rm REVISION packaging/rpm/openslx-filelist
install:
@echo "Checking installation requirements..."; \
@@ -207,7 +213,7 @@ functions via\n# inclusion: '. /etc/functions' ..." \
OPENSLX_VERSION_SVNREV=$$(svnversion .); \
fi; \
. ./VERSIONS; \
- echo "echo $${OPENSLX_VERSION_STRING}" \
+ echo -e "#! /bin/sh\n\necho $${OPENSLX_VERSION_STRING}" \
> $(DESTDIR)${SLX_BIN_PATH}/slxversion
@chmod a+x $(DESTDIR)${SLX_BIN_PATH}/slxversion
@ln -sf $(SLX_BIN_PATH)/slxversion $(DESTDIR)$(USR_BIN_PATH)/
diff --git a/packaging/rpm/openslx.changes b/packaging/rpm/openslx.changes
new file mode 100644
index 00000000..10f0917a
--- /dev/null
+++ b/packaging/rpm/openslx.changes
@@ -0,0 +1,4 @@
+-------------------------------------------------------------------
+Sun Apr 15 19:46:28 CEST 2007 - lm@openslx.com
+
+- Initial OpenSLX package.
diff --git a/packaging/rpm/openslx.spec b/packaging/rpm/openslx.spec
new file mode 100644
index 00000000..2cf4180e
--- /dev/null
+++ b/packaging/rpm/openslx.spec
@@ -0,0 +1,55 @@
+#
+# spec file for OpenSLX (Version 4.0.0)
+#
+
+Name: openslx
+Version: 4.0.0
+Release: 0
+License: GNU General Public License (GPL)
+Group: Productivity/Networking/System
+Url: http://openslx.org/
+Autoreqprov: on
+Requires: perl-DBD-CSV perl-DBD-SQLite perl-DBD-mysql
+#PreReq:
+Source: %{name}-%{version}.tar.bz2
+Summary: Open StateLess Extensions
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: perl-DBD-CSV perl-DBD-SQLite perl-DBD-mysql
+
+%description
+OpenSLX aims on the Linux desktop as a middleware solution to provide easy
+administration of large bunchs of computers. The project might be of interest
+in a wide field of utilization: schools , education, universities, grid
+clusters, corporations with a lot of office workplaces, ...
+
+An OpenSLX client is just a Linux workstation as you would expect, if you have
+installed just any distribution onto the local disk. The average user will not
+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
+
+%prep
+%setup
+
+%build
+
+%install
+[ "${RPM_BUILD_ROOT}" != "/" -a -d ${RPM_BUILD_ROOT} ] && rm -rf ${RPM_BUILD_ROOT}
+make install \
+ DESTDIR="${RPM_BUILD_ROOT}"
+
+%clean
+[ "${RPM_BUILD_ROOT}" != "/" -a -d ${RPM_BUILD_ROOT} ] && rm -rf ${RPM_BUILD_ROOT}
+
+%files -f packaging/rpm/openslx-filelist
+%defattr(-,root,root)