Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 7780bcb1b6
Fetching contributors…

Cannot retrieve contributors at this time

60 lines (48 sloc) 1.838 kb
%define realname yabs
%define revision {{REVISION}}
Name: strikead-%realname
Version: 0.5
Release: 1
License: Proprietary
Vendor: StrikeAd
Packager: Aleksey Morarash <>
Group: Development/Languages/Erlang
Source: strikead-%realname.tar.gz
Summary: RPM builder script.
Requires: sudo zypper createrepo util-linux sed coreutils curl tar gzip bzip2 unzip rpm rpm-build
BuildArch: noarch
Build RPM package in clean chrooted environment.
%setup -n strikead-%realname-%revision
install --mode=755 --directory \
%buildroot%_sysconfdir/%realname \
%buildroot%_sysconfdir/sudoers.d \
%buildroot%_bindir \
install --mode=644 yabs*.conf repo*.list %buildroot%_sysconfdir/%realname
install --mode=440 http-auth.conf %buildroot%_sysconfdir/%realname
install --mode=755 %buildroot%_bindir/%realname
install --mode=755 %buildroot%_sbindir/%realname-worker
install --mode=440 sudoers %buildroot%_sysconfdir/sudoers.d/%realname
%dir %_sysconfdir/%realname
%config %_sysconfdir/%realname/*
%config %_sysconfdir/sudoers.d/*
grep --extended-regexp --quiet '^#includedir\s+/etc/sudoers.d\s*$' /etc/sudoers || \
echo '#includedir /etc/sudoers.d' >> /etc/sudoers
* Mon Feb 18 2013 Aleksey Morarash <> 0.5-1
- use home:ldan86 repo with libcgal9;
- umount filesystems from chroot after successfull build;
- create random/urandom devices;
- Built for OpenSUSE 12.2.
* Sun Feb 10 2013 Aleksey Morarash <> 0.1-1
- Initial package for OpenSUSE.
Jump to Line
Something went wrong with that request. Please try again.