Create .spec.in and Source0
This commit is contained in:
parent
24c875030e
commit
1c24968318
@ -23,9 +23,6 @@
|
||||
%define qubes_services qubes-core qubes-core-netvm qubes-core-early qubes-firewall qubes-iptables qubes-updates-proxy qubes-qrexec-agent qubes-updates-proxy-forwarder
|
||||
%define qubes_preset_file 75-qubes-vm.preset
|
||||
|
||||
%{!?version: %define version %(cat version)}
|
||||
%{!?backend_vmm: %define backend_vmm %(echo $BACKEND_VMM)}
|
||||
|
||||
%define scriptletfuns is_static() { \
|
||||
[ -f "%{_unitdir}/$1" ] && ! grep -q '^[[].nstall]' "%{_unitdir}/$1" \
|
||||
} \
|
||||
@ -104,7 +101,7 @@ restore_units() { \
|
||||
} \
|
||||
|
||||
Name: qubes-core-agent
|
||||
Version: %{version}
|
||||
Version: @VERSION@
|
||||
Release: 1%{dist}
|
||||
Summary: The Qubes core files for VM
|
||||
|
||||
@ -158,8 +155,9 @@ BuildRequires: pandoc
|
||||
BuildRequires: xen-devel
|
||||
BuildRequires: libX11-devel
|
||||
BuildRequires: qubes-utils-devel >= 3.1.3
|
||||
BuildRequires: qubes-libvchan-%{backend_vmm}-devel
|
||||
BuildRequires: qubes-libvchan-@BACKEND_VMM@-devel
|
||||
BuildRequires: pam-devel
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
|
||||
%description
|
||||
The Qubes core files for installation inside a Qubes VM.
|
||||
@ -277,17 +275,15 @@ Requires: Thunar
|
||||
%description thunar
|
||||
Thunar support for Qubes VM tools
|
||||
|
||||
%if 0%{?qubes_builder}
|
||||
%define _builddir %(pwd)
|
||||
%endif
|
||||
|
||||
%define kde_service_dir /usr/share/kde4/services
|
||||
%define kde5_service_dir /usr/share/kservices5/ServiceMenus
|
||||
|
||||
%prep
|
||||
# we operate on the current directory, so no need to unpack anything
|
||||
# symlink is to generate useful debuginfo packages
|
||||
rm -f %{name}-%{version}
|
||||
ln -sf . %{name}-%{version}
|
||||
%setup -T -D
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
for dir in qubes-rpc qrexec misc; do
|
Loading…
Reference in New Issue
Block a user