commit 78d2c9bedf7edcac801128445b4cbb6ca2ac7eba4e1373c76fb389e2c13bf60f Author: Martin Pluskal Date: Sun Sep 20 14:52:12 2015 +0000 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 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..2618724 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Roman Neuhauser +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 "$@" +} diff --git a/bs-update-0.17.tar.gz b/bs-update-0.17.tar.gz new file mode 100644 index 0000000..1c61231 --- /dev/null +++ b/bs-update-0.17.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c693705430bc6f38f3622c371a62aded2873956a4317d2bf186ea9057dae8772 +size 30396 diff --git a/bs-update.changes b/bs-update.changes new file mode 100644 index 0000000..51fd6ec --- /dev/null +++ b/bs-update.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Thu Aug 13 14:08:12 UTC 2015 - jmatejka@suse.cz + +- Initial package + diff --git a/bs-update.spec b/bs-update.spec new file mode 100644 index 0000000..a522e40 --- /dev/null +++ b/bs-update.spec @@ -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