Accepting request 331999 from home:yac:branches:home:roman-neuhauser

New package I'd like to have in Factory

OBS-URL: https://build.opensuse.org/request/show/331999
OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/bs-update?expand=0&rev=1
This commit is contained in:
Martin Pluskal
2015-09-20 14:52:12 +00:00
committed by Git OBS Bridge
commit 78d2c9bedf
6 changed files with 111 additions and 0 deletions

47
bs-update.spec Normal file
View File

@@ -0,0 +1,47 @@
# norootforbuild
Name: bs-update
Version: 0.17
Release: 0
License: MIT
Summary: Automate maintenance of packages in a Build Service
Url: https://github.com/roman-neuhauser/%{name}
Group: Development/Tools/Version Control
Requires: coreutils
Requires: gzip
Requires: osc
Requires: sed
Requires: tar
Requires: wget
Requires: zsh
Source: %{name}-%{version}.tar.gz
BuildRequires: coreutils
BuildRequires: filesystem
BuildRequires: gzip
BuildRequires: make
BuildRequires: zsh
BuildArch: noarch
BuildRoot: %_tmppath/%name-%version-build
%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
make PREFIX=%{_prefix}
%check
make check PREFIX=%{_prefix}
%install
make install DESTDIR=%{buildroot} PREFIX=%{_prefix}
%files
%defattr(-,root,root)
%{_bindir}/bs-update
%{_mandir}/man1/bs-update.1.gz
%changelog