bs-update/bs-update.spec

48 lines
1023 B
RPMSpec
Raw Normal View History

# 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