Accepting request 287775 from home:pluskalm:branches:system:packagemanager

- Add gpg signature
- Correct info prerequires
- Add missing systemd dependencies

OBS-URL: https://build.opensuse.org/request/show/287775
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/guix?expand=0&rev=2
This commit is contained in:
Tomas Cech
2015-02-25 19:01:28 +00:00
committed by Git OBS Bridge
parent 6dd4783a8c
commit f3bd7fb976
4 changed files with 392 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package guix
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -25,15 +25,17 @@ License: GPL-3.0
Group: System/Packages
Url: http://www.gnu.org/software/guix/
Source0: ftp://alpha.gnu.org/gnu/guix/%{name}-%{version}.tar.gz
Source1: ftp://alpha.gnu.org/gnu/guix/%{name}-%{version}.tar.gz.sig
Source2: %{name}.keyring
# source file renamed - this would lead to 3 same file names
# http://alpha.gnu.org/gnu/guix/bootstrap/i686-linux/20131110/%%{guile}
Source1: i686-linux-%{guile}
Source3: i686-linux-%{guile}
# http://alpha.gnu.org/gnu/guix/bootstrap/x86_64-linux/20131110/%%{guile}
Source2: x86_64-linux-%{guile}
Source4: x86_64-linux-%{guile}
# http://alpha.gnu.org/gnu/guix/bootstrap/mips64el-linux/20131110/%%{guile}
Source3: mips64el-linux-%{guile}
Source5: mips64el-linux-%{guile}
# http://alpha.gnu.org/gnu/guix/bootstrap/armhf-linux/20150101/guile-2.0.11.tar.xz
Source4: armhf-linux-guile-2.0.11.tar.xz
Source6: armhf-linux-guile-2.0.11.tar.xz
Source10: guixd.service
Source11: sysconfig.guix
BuildRequires: gcc-c++
@@ -42,9 +44,12 @@ BuildRequires: libbz2-devel
BuildRequires: libgcrypt-devel
BuildRequires: pkgconfig
BuildRequires: sqlite3-devel
BuildRequires: systemd-rpm-macros
Requires: guile
Requires: libgcrypt-devel
Requires(pre): %{install_info_prereq}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{?systemd_requires}
%description
Purely functional package manager and a distribution thereof.
@@ -52,10 +57,10 @@ Purely functional package manager and a distribution thereof.
%prep
%setup -q
mkdir -p gnu/packages/bootstrap/{i686,x86_64,mips64el,armhf}-linux
cp %{SOURCE1} gnu/packages/bootstrap/i686-linux/%{guile}
cp %{SOURCE2} gnu/packages/bootstrap/x86_64-linux/%{guile}
cp %{SOURCE3} gnu/packages/bootstrap/mips64el-linux/%{guile}
cp %{SOURCE4} gnu/packages/bootstrap/armhf-linux/guile-2.0.11.tar.xz
cp %{SOURCE3} gnu/packages/bootstrap/i686-linux/%{guile}
cp %{SOURCE4} gnu/packages/bootstrap/x86_64-linux/%{guile}
cp %{SOURCE5} gnu/packages/bootstrap/mips64el-linux/%{guile}
cp %{SOURCE6} gnu/packages/bootstrap/armhf-linux/guile-2.0.11.tar.xz
%build