]> repo.cephalix.eu Git - MSOfficeStandard2013.git/commitdiff
Add spec.
authorPeter Varkoly <varkoly@suse.de>
Wed, 26 Jul 2017 16:00:39 +0000 (18:00 +0200)
committerPeter Varkoly <varkoly@suse.de>
Wed, 26 Jul 2017 16:00:39 +0000 (18:00 +0200)
packages.spec.in [new file with mode: 0644]

diff --git a/packages.spec.in b/packages.spec.in
new file mode 100644 (file)
index 0000000..890db2e
--- /dev/null
@@ -0,0 +1,57 @@
+#
+# Spec file for PACKAGE
+# Copyright (c) YEAR Helmuth Varkoly and Peter Varkoly Nürnberg, Germany.  All rights reserved.
+#
+
+Name:         oss-pkg-PACKAGE
+Summary:      Package to install PACKAGE on OSS-Clients
+Version:      VERSION
+Release:      RELEASE
+License:      Commercial
+Vendor:       Peter Varkoly and Helmuth Varkoly
+Distribution: SLE11
+Packager:     peter@varkoly.de
+Group:        Productivity/
+Source:       %{name}.tar.bz2
+BuildArch:    noarch
+BuildRequires:unzip
+#Requires:     
+Requires:     filesystem
+PreReq:       salt-master
+PreReq:       %fillup_prereq
+BuildRoot:    %{_tmppath}/%{name}-%{version}-build
+
+%description
+Package to install PACKAGE on OSS-Clients
+
+Authors:
+--------
+        helmuth@varkoly.de
+        peter@varkoly.de
+
+
+%prep
+%setup -n %{name}
+
+%build
+
+%install
+
+mkdir -p %{buildroot}/srv/salt/win/repo-ng/PACKAGE
+mkdir -p %{buildroot}/srv/salt/packages/
+cp PACKAGE.sls  %{buildroot}/srv/salt/packages/
+cp -a repo-ng/* %{buildroot}/srv/salt/win/repo-ng/PACKAGE
+
+%clean
+rm -rf %{buildroot}
+
+%pre
+
+%post
+
+%files
+%defattr(644,root,root)
+/srv/salt/win/repo-ng/PACKAGE
+/srv/salt/packages/PACKAGE.sls
+
+