2014-09-11 14:55:18 -04:00
|
|
|
Name: freeswitch-release
|
|
|
|
Version: 1
|
2015-09-09 10:20:55 -04:00
|
|
|
Release: 6
|
2014-09-12 09:59:11 -04:00
|
|
|
Summary: FreeSWITCH Packages for Enterprise Linux repository configuration
|
2014-09-11 14:55:18 -04:00
|
|
|
|
|
|
|
Group: System Environment/Base
|
|
|
|
License: GPL
|
|
|
|
URL: http://www.freeswitch.org
|
|
|
|
|
|
|
|
Source0: http://files.freeswitch.org/yum/RPM-GPG-KEY-FREESWITCH
|
|
|
|
Source1: GPL
|
|
|
|
Source2: freeswitch.repo
|
|
|
|
Source3: freeswitch-testing.repo
|
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
Requires: redhat-release >= %{version}
|
|
|
|
|
|
|
|
%description
|
2014-09-12 09:59:11 -04:00
|
|
|
This package contains the FreeSWITCH Yum repository
|
2014-09-11 14:55:18 -04:00
|
|
|
GPG key as well as configuration for yum.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -c -T
|
|
|
|
install -pm 644 %{SOURCE0} .
|
|
|
|
install -pm 644 %{SOURCE1} .
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
#GPG Key
|
|
|
|
install -Dpm 644 %{SOURCE0} \
|
|
|
|
$RPM_BUILD_ROOT%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-FREESWITCH
|
|
|
|
|
|
|
|
# yum
|
|
|
|
install -dm 755 $RPM_BUILD_ROOT%{_sysconfdir}/yum.repos.d
|
|
|
|
install -pm 644 %{SOURCE2} %{SOURCE3} \
|
|
|
|
$RPM_BUILD_ROOT%{_sysconfdir}/yum.repos.d
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc GPL
|
|
|
|
%config(noreplace) /etc/yum.repos.d/*
|
|
|
|
/etc/pki/rpm-gpg/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2015-09-09 10:20:55 -04:00
|
|
|
* Tue Sep 08 2015 Ken Rice <krice at freeswitch.org> - 5-0
|
|
|
|
- Create New version for the 1.6 repository
|
2014-09-12 09:59:11 -04:00
|
|
|
* Fri Jan 27 2012 Ken Rice <krice at freeswitch.org> - 5-0
|
2014-09-11 14:55:18 -04:00
|
|
|
- Replace GPG key with correct key, and update primary URLs
|
2014-09-12 09:59:11 -04:00
|
|
|
* Wed Dec 21 2011 Ken Rice <krice at freeswitch.org> - 5-0
|
2014-09-11 14:55:18 -04:00
|
|
|
- Initial Version - Thanks to the EPEL Guys I had something to Rip Off. Hense this package is GPL
|