2015-09-20 16:58:44 +02:00
|
|
|
#
|
|
|
|
# spec file for package bs-update
|
|
|
|
#
|
2016-04-10 11:08:01 +02:00
|
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
2015-09-20 16:58:44 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2015-09-20 16:52:12 +02:00
|
|
|
|
|
|
|
Name: bs-update
|
2016-04-10 11:08:01 +02:00
|
|
|
Version: 0.18
|
2015-09-20 16:52:12 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Automate maintenance of packages in a Build Service
|
2015-09-20 16:58:44 +02:00
|
|
|
License: MIT
|
2015-09-20 16:52:12 +02:00
|
|
|
Group: Development/Tools/Version Control
|
2015-09-20 16:58:44 +02:00
|
|
|
Url: https://github.com/roman-neuhauser/bs-update
|
2016-04-10 11:08:01 +02:00
|
|
|
Source0: https://github.com/roman-neuhauser/bs-update/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
2015-09-20 16:58:44 +02:00
|
|
|
Source1: PKGBUILD
|
|
|
|
BuildRequires: coreutils
|
|
|
|
BuildRequires: filesystem
|
|
|
|
BuildRequires: gzip
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: zsh
|
2015-09-20 16:52:12 +02:00
|
|
|
Requires: coreutils
|
|
|
|
Requires: gzip
|
|
|
|
Requires: osc
|
|
|
|
Requires: sed
|
|
|
|
Requires: tar
|
|
|
|
Requires: wget
|
|
|
|
Requires: zsh
|
2015-09-20 16:58:44 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2015-09-20 16:52:12 +02:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
bs-update makes it easier to keep packages in a Build Service
|
|
|
|
up-to-date with respect to their upstream sources.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2016-04-10 11:08:01 +02:00
|
|
|
make %{?_smp_mflags}
|
2015-09-20 16:52:12 +02:00
|
|
|
|
|
|
|
%check
|
2015-09-20 16:58:44 +02:00
|
|
|
make %{?_smp_mflags} check PREFIX=%{_prefix}
|
2015-09-20 16:52:12 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR=%{buildroot} PREFIX=%{_prefix}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/bs-update
|
2016-04-10 11:08:01 +02:00
|
|
|
%{_mandir}/man1/bs-update.1%{ext_man}
|
2015-09-20 16:52:12 +02:00
|
|
|
|
|
|
|
%changelog
|