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:
commit
78d2c9bedf
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
32
PKGBUILD
Normal file
32
PKGBUILD
Normal file
@ -0,0 +1,32 @@
|
||||
# Maintainer: Roman Neuhauser <roman+bs-update@sigpipe.cz>
|
||||
pkgname=bs-update
|
||||
pkgver=0.17
|
||||
pkgrel=1
|
||||
epoch=
|
||||
pkgdesc="Automate maintenance of packages in a Build Service"
|
||||
arch=(any)
|
||||
url="http://github.com/roman-neuhauser/bs-update"
|
||||
license=(MIT)
|
||||
groups=(lib)
|
||||
depends=(gzip osc sed tar wget zsh)
|
||||
makedepends=(zsh)
|
||||
checkdepends=()
|
||||
source=($pkgname-$pkgver.tar.gz)
|
||||
sha256sums=(SKIP)
|
||||
|
||||
build() {
|
||||
_make
|
||||
}
|
||||
|
||||
check() {
|
||||
_make check
|
||||
}
|
||||
|
||||
package() {
|
||||
_make install DESTDIR="$pkgdir" PREFIX=/usr
|
||||
}
|
||||
|
||||
_make() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
make "$@"
|
||||
}
|
3
bs-update-0.17.tar.gz
Normal file
3
bs-update-0.17.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c693705430bc6f38f3622c371a62aded2873956a4317d2bf186ea9057dae8772
|
||||
size 30396
|
5
bs-update.changes
Normal file
5
bs-update.changes
Normal file
@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 13 14:08:12 UTC 2015 - jmatejka@suse.cz
|
||||
|
||||
- Initial package
|
||||
|
47
bs-update.spec
Normal file
47
bs-update.spec
Normal 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
|
Loading…
Reference in New Issue
Block a user