Skip to content
Snippets Groups Projects
Commit d49ca023 authored by Thibault Cohen's avatar Thibault Cohen
Browse files

Add repo package for fedora

Change-Id: Ib6ca1e6a1fd28c071ff5fd6fc1099993fd3ed24f
parent cf78cede
No related branches found
No related tags found
No related merge requests found
...@@ -29,6 +29,13 @@ Group: Applications/Internet ...@@ -29,6 +29,13 @@ Group: Applications/Internet
Ring is free software for distributed and secured communication. Ring is free software for distributed and secured communication.
This is the daemon headers. This is the daemon headers.
%package repository
Summary: Free software for distributed and secured communication.
Group: Applications/Internet
%description repository
Ring is free software for distributed and secured communication.
This is the ring repository
%prep %prep
%setup -q %setup -q
...@@ -62,6 +69,14 @@ make -j %{?_smp_mflags} ...@@ -62,6 +69,14 @@ make -j %{?_smp_mflags}
%install %install
mkdir -p %{buildroot}/ring-daemon mkdir -p %{buildroot}/ring-daemon
make DESTDIR=%{buildroot} install make DESTDIR=%{buildroot} install
cat << EOF > %{buildroot}/%{_sysconfdir}/yum.repo.d/ring.repo
[ring]
name=Fedora $releasever - $basearch - ring
baseurl=http://nightly.yum.ring.cx/fedora_$releasever
enabled=1
gpgcheck=0
EOF
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
...@@ -76,6 +91,9 @@ make DESTDIR=%{buildroot} install ...@@ -76,6 +91,9 @@ make DESTDIR=%{buildroot} install
%{_libdir}/libring.a %{_libdir}/libring.a
/usr/include/dring/ /usr/include/dring/
%files repository
%config %{_sysconfdir}/yum.repo.d/ring-nightly.repo
%changelog %changelog
* Fri Mar 27 2015 Thibault Cohen <thibault.cohen@savoirfairelinux.com> - 2.0.1-1 * Fri Mar 27 2015 Thibault Cohen <thibault.cohen@savoirfairelinux.com> - 2.0.1-1
- New upstream version - New upstream version
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment