RPM packaging scripts
This commit is contained in:
61
build/packaging/rpm/bloom.spec.in
Executable file
61
build/packaging/rpm/bloom.spec.in
Executable file
@@ -0,0 +1,61 @@
|
||||
%define _topdir @CMAKE_BINARY_DIR@/packaging/rpm/playground
|
||||
%define _rpmfilename @BLOOM_PACKAGE_FILE_NAME@.rpm
|
||||
%define __spec_install_post %{nil}
|
||||
%define debug_package %{nil}
|
||||
|
||||
Name: @BLOOM_PACKAGE_NAME_LOWER@
|
||||
Version: @CMAKE_PROJECT_VERSION@
|
||||
Release: 1
|
||||
Summary: @BLOOM_PACKAGE_DESCRIPTION@
|
||||
License: LGPL-3.0
|
||||
Url: @CMAKE_PROJECT_HOMEPAGE_URL@
|
||||
Group: Development/Debuggers
|
||||
SOURCE0: %{name}-%{version}.tar.gz
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
ExclusiveArch: x86_64
|
||||
AutoReqProv: OFF
|
||||
|
||||
Requires: glibc >= 2.18
|
||||
Requires: fontconfig >= 2.11.94
|
||||
Requires: freetype >= 2.6
|
||||
Requires: libgcc >= 4.2
|
||||
Requires: mesa-libGL
|
||||
Requires: libstdc++ >= 11
|
||||
# Requires: libudev1 >= 183
|
||||
Requires: libX11
|
||||
Requires: libX11-xcb
|
||||
Requires: xcb-util-wm >= 0.4.1
|
||||
Requires: xcb-util-image >= 0.4.0
|
||||
Requires: xcb-util-keysyms >= 0.4.0
|
||||
Requires: xcb-util-renderutil
|
||||
Requires: libXext
|
||||
Requires: libxkbcommon-x11 >= 1.3.1
|
||||
Requires: libxkbcommon >= 1.3.1
|
||||
Requires: libXrender
|
||||
Requires: zlib >= 1.2.11
|
||||
|
||||
%description
|
||||
@BLOOM_PACKAGE_DESCRIPTION@
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
# Nothing to do here - Bloom has already been built - this spec file is used to generate a binary package (not
|
||||
# a source package).
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
mkdir -p %{buildroot}
|
||||
cp -a ./* %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%dir "/opt/bloom"
|
||||
"/opt/bloom/*"
|
||||
"/usr/bin/bloom"
|
||||
"/usr/lib/udev/rules.d/99-bloom.rules"
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user