]> repo.cephalix.eu Git - Audacity.git/commitdiff
Adapt makefile and .gitignore
authorbuildmaster <buildmaster@git.cephalix.eu>
Thu, 20 Sep 2018 07:24:45 +0000 (09:24 +0200)
committerbuildmaster <buildmaster@git.cephalix.eu>
Thu, 20 Sep 2018 07:24:45 +0000 (09:24 +0200)
.gitignore [new file with mode: 0644]
Makefile
oss-pkg-Audacity.spec [deleted file]

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..81ef786
--- /dev/null
@@ -0,0 +1 @@
+oss-pkg-Audacity.spec
index 68bafd5019707496199112ef4b885c01815dda70..fc166cc7d169157b4da4f61f01246510f6906b99 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -8,8 +8,7 @@ YEAR            = $(shell date +%Y )
 
 
 package:
-       if [ ! -e oss-pkg-$(PACKAGE).spec ]; then cp ../template/package.spec oss-pkg-$(PACKAGE).spec; fi
-       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
        sed -i s/YEAR/$(YEAR)/g        oss-pkg-$(PACKAGE).spec
diff --git a/oss-pkg-Audacity.spec b/oss-pkg-Audacity.spec
deleted file mode 100644 (file)
index 306fdc9..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-#
-# Spec file for Audacity
-# Copyright (c) 2018 Helmuth Varkoly and Peter Varkoly Nuremberg, Germany.  All rights reserved.
-#
-
-Name:         oss-pkg-Audacity
-Summary:      Package to install Audacity on OSS-Clients
-Version:      2.2.22.2.2
-Release:      2
-License:      GPL-2.0
-Vendor:       Peter Varkoly and Helmuth Varkoly
-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 Audacity on OSS-Clients
-
-Authors:
---------
-        helmuth@varkoly.de
-        peter@varkoly.de
-
-
-%prep
-%setup -n %{name}
-
-%build
-
-%install
-
-mkdir -p %{buildroot}/srv/salt/win/repo-ng/Audacity
-mkdir -p %{buildroot}/srv/salt/packages/
-cp Audacity.sls  %{buildroot}/srv/salt/packages/
-cp -a repo-ng/* %{buildroot}/srv/salt/win/repo-ng/Audacity
-
-%clean
-rm -rf %{buildroot}
-
-%pre
-
-%post
-
-/usr/sbin/oss_api.sh POST 'softwares/add' '{"name":"Audacity","manually":false,"description":"Audacity","softwareVersions":[{"version":"2.2.22.2.2"}]}'
-
-%files
-%defattr(644,root,root)
-/srv/salt/win/repo-ng/Audacity
-/srv/salt/packages/Audacity.sls
-
-