From 48e68767df174d8a15a8fc9a3776d4ceecb50ceb Mon Sep 17 00:00:00 2001 From: D. Johnson Date: Sun, 22 May 2011 14:26:47 -0500 Subject: [PATCH/foreman 1/2] Add files for foreman-release mini package Signed-off-by: D. Johnson --- extras/foreman-release.spec | 41 +++++++++++++++++++++++++++++++++++++++++ extras/foreman.repo | 11 +++++++++++ 2 files changed, 52 insertions(+), 0 deletions(-) create mode 100644 extras/foreman-release.spec create mode 100644 extras/foreman.repo diff --git a/extras/foreman-release.spec b/extras/foreman-release.spec new file mode 100644 index 0000000..2007f30 --- /dev/null +++ b/extras/foreman-release.spec @@ -0,0 +1,41 @@ + +Name: foreman-release +Version: 1 +Release: 1 +Summary: Foreman repository files + +Group: System Environment/Base +License: GPLv3+ +URL: http://theforeman.org/projects/foreman/ +Source1: foreman.repo +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch + +%description +Foreman repository contains open source and other distributable software for +Fedora. This package contains the repository configuration for Yum. + +%prep + +%build + +%install +rm -rf $RPM_BUILD_ROOT + +# yum +install -dm 755 $RPM_BUILD_ROOT%{_sysconfdir}/yum.repos.d +install -pm 644 %{SOURCE1} \ + $RPM_BUILD_ROOT%{_sysconfdir}/yum.repos.d + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%config(noreplace) %{_sysconfdir}/yum.repos.d/* + +%changelog +* Sun May 22 2011 - 1-1 +- Initial release + diff --git a/extras/foreman.repo b/extras/foreman.repo new file mode 100644 index 0000000..9fdc048 --- /dev/null +++ b/extras/foreman.repo @@ -0,0 +1,11 @@ +[foreman] +name=Foreman - Stable +baseurl=http://yum.theforeman.org/stable/ +enabled=1 +gpgcheck=0 + +[foreman-testing] +name=Foreman - Testing +baseurl=http://yum.theforeman.org/test/ +enabled=0 +gpgcheck=0 -- 1.7.2.3