Merge branch 'master' of git://git.qubes-os.org/marmarek/core
This commit is contained in:
commit
acdc688ea6
@ -42,9 +42,16 @@ BuildRequires: xen-devel
|
|||||||
%description
|
%description
|
||||||
The Qubes core libraries for installation inside a Qubes Dom0 and VM.
|
The Qubes core libraries for installation inside a Qubes Dom0 and VM.
|
||||||
|
|
||||||
|
%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
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make -C u2mfn
|
(cd u2mfn; make)
|
||||||
make -C vchan -f Makefile.linux
|
(cd vchan; make -f Makefile.linux)
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -D -m 0644 vchan/libvchan.h $RPM_BUILD_ROOT/usr/include/libvchan.h
|
install -D -m 0644 vchan/libvchan.h $RPM_BUILD_ROOT/usr/include/libvchan.h
|
||||||
@ -54,6 +61,10 @@ install -D -m 0644 u2mfn/u2mfn-kernel.h $RPM_BUILD_ROOT/usr/include/u2mfn-kernel
|
|||||||
install -D vchan/libvchan.so $RPM_BUILD_ROOT/%{_libdir}/libvchan.so
|
install -D vchan/libvchan.so $RPM_BUILD_ROOT/%{_libdir}/libvchan.so
|
||||||
install -D u2mfn/libu2mfn.so $RPM_BUILD_ROOT/%{_libdir}/libu2mfn.so
|
install -D u2mfn/libu2mfn.so $RPM_BUILD_ROOT/%{_libdir}/libu2mfn.so
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
rm -f %{name}-%{version}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{_libdir}/libvchan.so
|
%{_libdir}/libvchan.so
|
||||||
%{_libdir}/libu2mfn.so
|
%{_libdir}/libu2mfn.so
|
||||||
|
@ -56,12 +56,19 @@ BuildRequires: xen-devel
|
|||||||
%description
|
%description
|
||||||
The Qubes core files for installation inside a Qubes VM.
|
The Qubes core files for installation inside a Qubes VM.
|
||||||
|
|
||||||
|
%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
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make -C u2mfn
|
(cd vchan; make -f Makefile.linux)
|
||||||
make -C vchan -f Makefile.linux
|
(cd qrexec; make)
|
||||||
make -C misc
|
for dir in qubes_rpc misc; do
|
||||||
make -C qubes_rpc
|
(cd $dir; make)
|
||||||
make -C qrexec
|
done
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
|
|
||||||
@ -358,6 +365,7 @@ fi
|
|||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
rm -f %{name}-%{version}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
Loading…
Reference in New Issue
Block a user