Blame SPECS/centos-packager.spec

Brian Stinson 8e12a4
Name:           centos-packager
f69b31
Version:        0.5.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
9d55b9
Source2:        centos_cert
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
9d55b9
Requires:       python-centos
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}
9d55b9
ln -sf %{_bindir}/koji %{buildroot}%{_bindir}/cbs
9d55b9
%{__install} -m 0755 %{SOURCE2} %{buildroot}%{_bindir}/centos_cert
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
9d55b9
%{_bindir}/centos_cert
Brian Stinson 8e12a4
Brian Stinson 8e12a4
%changelog
f69b31
* Wed Oct 28 2015 brian@bstinson.com 0.5.0-1
f69b31
- The centos-cert utility now downloads the correct certificate, and sets up the
f69b31
  CA certificate properly
f69b31
- Updated the koji config to point to the downloaded certificates
f69b31
9d55b9
* Sun Jul 26 2015 brian@bstinson.com 0.2.0-1
9d55b9
- Added the centos_cert utility
9d55b9
- Remove the dep on centpkg 
9d55b9
- Add a dep for python-centos
9d55b9
Brian Stinson 8e12a4
* Sun Dec 14 2014 Brian Stinson <bstinson@ksu.edu> - 0.1.0-1
Brian Stinson 8e12a4
- initial build