From 2d5e65e5091ed9b7b825ca016d50e1146cc218d7 Mon Sep 17 00:00:00 2001 From: Vaidas Jablonskis Date: Tue, 5 Feb 2013 16:37:39 +0000 Subject: [PATCH] spec file for rpm package --- entrydns.spec | 52 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 entrydns.spec diff --git a/entrydns.spec b/entrydns.spec new file mode 100644 index 0000000..6090f88 --- /dev/null +++ b/entrydns.spec @@ -0,0 +1,52 @@ +Name: entrydns +Version: 0.0.2 +Release: 1%{?dist} +Summary: Free DNS management service for everyone + +Group: Applications/Internet +License: AGPL +URL: https://entrydns.net +Source0: %{name}-%{version}.tar.gz +BuildArch: x86_64 + +BuildRequires: ruby(abi) = 1.9.1 +BuildRequires: rubygems >= 1.8 +BuildRequires: ruby-devel >= 1.9.3 +BuildRequires: mysql-devel >= 5.5 +BuildRequires: rubygems-devel >= 1.8 +BuildRequires: libxml2-devel +BuildRequires: libxslt-devel +Requires: ruby(abi) = 1.9.1 + +%global entrydns_root /srv/%{name} + +%description +EntryDNS delivers a totally free DNS management service for your enjoyment. +Our aim is to provide a friendly and caring, yet powerful service for your +DNS needs. + + +%prep +%setup -q + + +%build +bundle install --path vendor/ --without development test +# clean not required files and directories +rm -rf test doc spec Capfile Gemfile Gemfile.lock Guardfile Rakefile .git + + +%install +rm -rf %{buildroot} + +install -p -d -m 0755 %{buildroot}%{entrydns_root} +cp -R . %{buildroot}%{entrydns_root} + + +%files +%doc + + + +%changelog +