Consistently name everything [cockpit-]starter-kit (#14)
This commit is contained in:
parent
463f76a318
commit
03217f7fe8
4 changed files with 9 additions and 9 deletions
6
Makefile
6
Makefile
|
|
@ -18,13 +18,13 @@ install-only:
|
|||
# when building a distribution tarball, call webpack with a 'production' environment
|
||||
dist-gzip: NODE_ENV=production
|
||||
dist-gzip: clean all
|
||||
tar czf $(PACKAGE_NAME)-cockpit.tar.gz --transform 's,^,$(PACKAGE_NAME)-cockpit/,' $$(git ls-files) dist/
|
||||
tar czf cockpit-$(PACKAGE_NAME).tar.gz --transform 's,^,cockpit-$(PACKAGE_NAME)/,' $$(git ls-files) dist/
|
||||
|
||||
srpm: dist-gzip
|
||||
rpmbuild -bs \
|
||||
--define "_sourcedir `pwd`" \
|
||||
--define "_srcrpmdir `pwd`" \
|
||||
$(PACKAGE_NAME)-cockpit.spec
|
||||
cockpit-$(PACKAGE_NAME).spec
|
||||
|
||||
rpm: dist-gzip
|
||||
mkdir -p "`pwd`/output"
|
||||
|
|
@ -36,6 +36,6 @@ rpm: dist-gzip
|
|||
--define "_srcrpmdir `pwd`" \
|
||||
--define "_rpmdir `pwd`/output" \
|
||||
--define "_buildrootdir `pwd`/build" \
|
||||
$(PACKAGE_NAME)-cockpit.spec
|
||||
cockpit-$(PACKAGE_NAME).spec
|
||||
find `pwd`/output -name '*.rpm' -printf '%f\n' -exec mv {} . \;
|
||||
rm -r "`pwd`/rpmbuild"
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
Name: starter-cockpit
|
||||
Name: cockpit-starter-kit
|
||||
Version: 1
|
||||
Release: 0
|
||||
Summary: Cockpit Starter Kit Example Module
|
||||
License: LGPLv2.1+
|
||||
|
||||
Source: starter-cockpit.tar.gz
|
||||
Source: cockpit-starter-kit.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
%define debug_package %{nil}
|
||||
|
|
@ -13,7 +13,7 @@ BuildArch: noarch
|
|||
Cockpit Starter Kit Example Module
|
||||
|
||||
%prep
|
||||
%setup -n starter-cockpit
|
||||
%setup -n cockpit-starter-kit
|
||||
|
||||
%build
|
||||
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<component type="addon">
|
||||
<id>org.cockpit-project.starter</id>
|
||||
<id>org.cockpit-project.starter-kit</id>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<name>Starter Kit</name>
|
||||
<summary>
|
||||
|
|
@ -11,5 +11,5 @@
|
|||
</p>
|
||||
</description>
|
||||
<extends>cockpit.desktop</extends>
|
||||
<launchable type="cockpit-manifest">starter-cockpit</launchable>
|
||||
<launchable type="cockpit-manifest">cockpit-starter-kit</launchable>
|
||||
</component>
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "starter",
|
||||
"name": "starter-kit",
|
||||
"version": "0.1.0",
|
||||
"description": "Scaffolding for a cockpit module",
|
||||
"main": "index.js",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue