Blame SPECS/centos-packager.spec

Brian Stinson 8e12a4
Name:           centos-packager
Brian Stinson 8e12a4
Version:        0.1.0
Brian Stinson 8e12a4
Release:        1%{?dist}
Brian Stinson 8e12a4
Summary:        Tools and files necessary for building CentOS packages
Brian Stinson 8e12a4
Group:          Applications/Productivity
Brian Stinson 8e12a4
Brian Stinson 8e12a4
License:        GPLv2+
Brian Stinson 8e12a4
URL:            http://www.centos.org
Brian Stinson 8e12a4
Source0:        cbs-koji.conf
Brian Stinson 8e12a4
Source1:        COPYING
Brian Stinson 8e12a4
Brian Stinson 8e12a4
Requires:       koji
Brian Stinson 8e12a4
Requires:       rpm-build rpmdevtools rpmlint
Brian Stinson 8e12a4
Requires:       mock curl openssh-clients
Brian Stinson 8e12a4
Requires:       redhat-rpm-config
Brian Stinson 8e12a4
Requires:       centpkg
Brian Stinson 8e12a4
Brian Stinson 8e12a4
BuildArch:      noarch
Brian Stinson 8e12a4
Brian Stinson 8e12a4
%description
Brian Stinson 8e12a4
Tools to help set up a CentOS packaging environment
Brian Stinson 8e12a4
Brian Stinson 8e12a4
Brian Stinson 8e12a4
%prep
Brian Stinson 8e12a4
cp %{SOURCE1} .
Brian Stinson 8e12a4
Brian Stinson 8e12a4
%build
Brian Stinson 8e12a4
# Nothing here
Brian Stinson 8e12a4
Brian Stinson 8e12a4
%install
Brian Stinson 8e12a4
%{__mkdir_p} %{buildroot}/etc/koji.conf.d/
Brian Stinson 8e12a4
%{__install} -m 0644 %{SOURCE0} %{buildroot}/etc/koji.conf.d/cbs-koji.conf
Brian Stinson 8e12a4
Brian Stinson 8e12a4
%{__mkdir_p} %{buildroot}/%{_bindir}
Brian Stinson 8e12a4
ln -sf %{_bindir}/koji %{buildroot}/%{_bindir}/cbs
Brian Stinson 8e12a4
Brian Stinson 8e12a4
%files
Brian Stinson 8e12a4
%defattr(-,root,root,-)
Brian Stinson 8e12a4
%doc COPYING
Brian Stinson 8e12a4
%config /etc/koji.conf.d/cbs-koji.conf
Brian Stinson 8e12a4
%{_bindir}/cbs
Brian Stinson 8e12a4
Brian Stinson 8e12a4
%changelog
Brian Stinson 8e12a4
* Sun Dec 14 2014 Brian Stinson <bstinson@ksu.edu> - 0.1.0-1
Brian Stinson 8e12a4
- initial build