mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-protocol
synced 2026-08-08 21:05:51 +00:00
build-sys: Provide spec file during build
Having the RPM spec file produced by the build is helpful in different situation. Different tools like mock or code scanners accept source RPMs as input. Providing this file allows easily build of the source RPM (and binaries) using a simple command like $ rpmbuild -ta spice-protocol-XXXX.tar.bz2 Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Signed-off-by: Victor Toso <victortoso@redhat.com> Acked-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
This commit is contained in:
parent
21b06e6585
commit
18c9917a71
@ -3,7 +3,7 @@ image: fedora:latest
|
||||
variables:
|
||||
DEPS_COMMON: git libtool make python3 python3-six redhat-rpm-config
|
||||
python3-pyparsing meson ninja-build gtk-doc glib2-devel
|
||||
gettext gettext-devel bzip2
|
||||
gettext gettext-devel bzip2 rpmlint rpm-build python-unversioned-command
|
||||
|
||||
before_script:
|
||||
- dnf install -y $DEPS_COMMON
|
||||
@ -14,6 +14,8 @@ fedora-autotools:
|
||||
- ./autogen.sh
|
||||
- make
|
||||
- make distcheck
|
||||
- rpmlint -o "NetworkEnabled False" spice-protocol.spec
|
||||
- rpmbuild -ta spice-protocol-*.tar.bz2
|
||||
|
||||
fedora-meson:
|
||||
script:
|
||||
|
||||
@ -25,6 +25,7 @@ MAINTAINERCLEANFILES = \
|
||||
EXTRA_DIST = \
|
||||
README.md \
|
||||
CHANGELOG.md \
|
||||
spice-protocol.spec \
|
||||
meson.build
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
||||
|
||||
@ -18,4 +18,5 @@ AC_OUTPUT([
|
||||
Makefile
|
||||
spice-protocol.pc
|
||||
spice/Makefile
|
||||
spice-protocol.spec
|
||||
])
|
||||
|
||||
@ -1,7 +1,8 @@
|
||||
Name: spice-protocol
|
||||
Version: 0.14.0
|
||||
Version: @VERSION@
|
||||
Release: 1%{?dist}
|
||||
Summary: Spice protocol header files
|
||||
Group: Development/Libraries
|
||||
# Main headers are BSD, controller / foreign menu are LGPL
|
||||
License: BSD and LGPLv2+
|
||||
URL: https://www.spice-space.org
|
||||
|
||||
Loading…
Reference in New Issue
Block a user