Commit graph

12 commits

Author SHA1 Message Date
Martin Pitt
38bd17faef Make cockpit-starter-kit.spec.in rpmspec compliant
Use `%{VERSION}` as version macro instead of `@VERSION@`, so that the
.spec.in file is syntactically a correct spec file that can be parsed
with `rpmspec`.
2020-03-10 11:49:29 +01:00
Martin Pitt
35011e4709 Drop source map
They are large and just for debugging. If they are needed, they should
move into a separate -debugsource package, but this seems a bit overkill
as a default.

Closes #197
2019-07-17 17:43:01 +02:00
Martin Pitt
a0d4171cc8 Validate AppStream metainfo during RPM build
This is a requirement in the Fedora packaging guidelines:
https://docs.fedoraproject.org/en-US/packaging-guidelines/AppData/#_app_data_validate_usage

Closes #102
2019-02-12 09:37:42 +01:00
Kirill Glebov
7b67b091f1 Add cockpit dependency
Closes #67
2019-01-17 16:45:15 +01:00
Martin Pitt
959d743452 Drop Python3 build requirement
This is only being used for extracting the package name from package
json, to avoid having to duplicate it in `Makefile`.
But for only this purpose, Python 3 is rather heavyweight. It's also not
available on RHEL/CentOS 7.
2018-08-28 22:51:10 +02:00
Martin Pitt
0c7ff6a896 Fix license tag in spec file
https://fedoraproject.org/wiki/Licensing:Main?rd=Licensing#Good_Licenses
2018-08-28 22:51:10 +02:00
Martin Pitt
a26ef5d27c Simplify spec file
- Entirely drop `%build` section, as there is nothing to do anyway.
- Use `%make_install` macro.
- Replace the complicated file list wrangling with a simple directory
  enumeration.

Thanks to Igor Gnatenko for the suggestions!

See https://bugzilla.redhat.com/show_bug.cgi?id=1603146

Closes #38
2018-08-02 10:16:49 -04:00
Martin Pitt
e9635620c5 spec: Don't try to rebuild webpack when building released tarballs
Release tarballs already have dist/. We can't rebuild the webpack in an
RPM as that requires npm and network access for `npm install`. But we
also don't want to ship the entire `node_modules/` as that is huge and
would require lots of careful license review.

So ship a stub node_modules/ that satisfies the Makefile dependency.
Make sure that this is not newer than package.json or anything in dist/,
so that none of the Makefile's rebuild rules trigger.

Closes #36
2018-07-19 09:11:07 +02:00
Martin Pitt
d3b8811ac6 spec: Add missing python3 build dependency
Required for Makefile to determine the package name from the manifest.
2018-07-19 09:11:07 +02:00
Martin Pitt
d361bbd76c spec: Add %changelog stub
So that cockpituous' release-srpm can properly add the changelog from
the tag.
2018-07-19 09:11:07 +02:00
Martin Pitt
cc7f892897 spec: Fix Release 2018-07-19 09:11:07 +02:00
Martin Pitt
f26741e269 Add git tag derived version to tarball and spec
Stop hardcoding the version in the spec file, and put the version into
dist tarballs.

Closes #27
2018-06-22 20:07:29 +02:00
Renamed from cockpit-starter-kit.spec (Browse further)