From: <jh...@us...> - 2009-11-17 00:34:35
|
Revision: 173 http://etch.svn.sourceforge.net/etch/?rev=173&view=rev Author: jheiss Date: 2009-11-17 00:34:28 +0000 (Tue, 17 Nov 2009) Log Message: ----------- First pass at making an RPM spec that meets the Fedora packaging guidelines. Added Paths: ----------- trunk/client/etch.spec Added: trunk/client/etch.spec =================================================================== --- trunk/client/etch.spec (rev 0) +++ trunk/client/etch.spec 2009-11-17 00:34:28 UTC (rev 173) @@ -0,0 +1,44 @@ +Name: etch +Version: %VER% +Release: 1%{?dist} +BuildArch: noarch +Summary: A tool for system configuration management +Group: Applications/System +License: MIT +URL: http://etch.sourceforge.net/ +Source0: http://downloads.sourceforge.net/project/etch/etch/%{version}/etch-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: rubygem-rake +Requires: ruby(abi) = 1.8, facter, rcs + +# Per http://fedoraproject.org/wiki/Packaging:Ruby +%{!?ruby_sitelib: %global ruby_sitelib %(ruby -rrbconfig -e 'puts Config::CONFIG["sitelibdir"] ')} + +%description +A tool for system configuration management, i.e. management of the +configuration files of the operating system and core applications. Easy for a +professional system administrator to start using, yet scalable to large +and/or complex environments. + +%prep +%setup -q + +%build + +%install +rm -rf %{buildroot} +cd client && rake install[%{buildroot}] + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%{_sbindir}/* +%{ruby_sitelib}/* +%{_mandir}/man8/* +%config(noreplace) %{_sysconfdir}/* + +%changelog + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |