From 7571afdccfba8f5124b881e1f58b30b42c52e289 Mon Sep 17 00:00:00 2001 From: buildmaster Date: Thu, 20 Sep 2018 12:46:37 +0200 Subject: [PATCH] Add .gitignore. Adapt Makefile. --- .gitignore | 1 + Makefile | 3 +-- packages.spec.in => oss-pkg-LibreOffice.spec.in | 5 ++--- 3 files changed, 4 insertions(+), 5 deletions(-) create mode 100644 .gitignore rename packages.spec.in => oss-pkg-LibreOffice.spec.in (91%) diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0484f19 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +oss-pkg-LibreOffice.spec diff --git a/Makefile b/Makefile index 601e3fa..f2ba05c 100644 --- a/Makefile +++ b/Makefile @@ -7,8 +7,7 @@ NRELEASE = $(shell echo $(RELEASE) + 1 | bc ) package: - cp ../template/packages.spec oss-pkg-$(PACKAGE).spec - sed -i s/VERSION/$(VERSION)/g oss-pkg-$(PACKAGE).spec + sed s/VERSION/$(VERSION)/g oss-pkg-$(PACKAGE).spec.in > oss-pkg-$(PACKAGE).spec sed -i s/RELEASE/$(NRELEASE)/g oss-pkg-$(PACKAGE).spec sed -i s/PACKAGE/$(PACKAGE)/g oss-pkg-$(PACKAGE).spec mkdir -p oss-pkg-$(PACKAGE) diff --git a/packages.spec.in b/oss-pkg-LibreOffice.spec.in similarity index 91% rename from packages.spec.in rename to oss-pkg-LibreOffice.spec.in index b58c49c..079b12d 100644 --- a/packages.spec.in +++ b/oss-pkg-LibreOffice.spec.in @@ -1,15 +1,14 @@ # # Spec file for PACKAGE -# Copyright (c) YEAR Helmuth Varkoly and Peter Varkoly Nürnberg, Germany. All rights reserved. +# Copyright (c) YEAR Helmuth Varkoly and Peter Varkoly Nuremberg, Germany. All rights reserved. # Name: oss-pkg-PACKAGE Summary: Package to install PACKAGE on OSS-Clients Version: VERSION Release: RELEASE -License: Commercial +License: GPL-2.0 Vendor: Peter Varkoly and Helmuth Varkoly -Distribution: SLE11 Packager: peter@varkoly.de Group: Productivity/ Source: %{name}.tar.bz2 -- 2.43.0