rpms/facter/devel facter.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

David Lutterkort (lutter) fedora-extras-commits at redhat.com
Wed Jul 12 00:51:59 UTC 2006


Author: lutter

Update of /cvs/extras/rpms/facter/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29965/devel

Modified Files:
	.cvsignore sources 
Added Files:
	facter.spec 
Log Message:
auto-import facter-1.3.3-1 on branch devel from facter-1.3.3-1.src.rpm


--- NEW FILE facter.spec ---
%{!?ruby_sitelibdir: %define ruby_sitelibdir %(ruby -rrbconfig -e 'puts Config::CONFIG["sitelibdir"]')}

Summary: Ruby module for collecting simple facts about a host operating system
Name: facter
Version: 1.3.3
Release: 1%{?dist}
License: GPL
Group: System Environment/Base
URL: http://reductivelabs.com/projects/facter
Source0: http://reductivelabs.com/downloads/facter/%{name}-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArchitectures: noarch

Requires: ruby >= 1.8.1
Requires: ruby(abi) = 1.8
BuildRequires: ruby >= 1.8.1

%description 
Ruby module for collecting simple facts about a host Operating
system. Some of the facts are preconfigured, such as the hostname and the
operating system. Additional facts can be added through simple Ruby scripts

%prep
%setup -q

%build
sed -i -e 's@^#!.*$@#! /usr/bin/ruby@' bin/facter

%install
rm -rf %{buildroot}
mkdir %{buildroot}

%{__install} -d -m0755 %{buildroot}%{ruby_sitelibdir}
%{__install} -d -m0755 %{buildroot}%{ruby_sitelibdir}/facter
%{__install} -d -m0755 %{buildroot}%{_bindir}
%{__install} -d -m0755 %{buildroot}%{_docdir}/%{name}-%{version}

%{__install} -p -m0644 lib/*.rb %{buildroot}%{ruby_sitelibdir}
%{__install} -p -m0644 lib/facter/*.rb %{buildroot}%{ruby_sitelibdir}/facter
%{__install} -p -m0755 bin/facter %{buildroot}%{_bindir}

%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root,-)
%{_bindir}/facter
%{ruby_sitelibdir}/facter.rb
%{ruby_sitelibdir}/facter
%doc CHANGELOG COPYING INSTALL LICENSE README


%changelog
* Wed Jun 28 2006 David Lutterkort <dlutter at redhat.com> - 1.3.3-1
- Rebuilt

* Fri Jun 19 2006 Luke Kanies <luke at madstop.com> - 1.3.0-1
- Fixed spec file to work again with the extra memory and processor files.
- Require ruby(abi). Build as noarch

* Fri Jun 9 2006 Luke Kanies <luke at madstop.com> - 1.3.0-1
- Added memory.rb and processor.rb

* Mon Apr 17 2006 David Lutterkort <dlutter at redhat.com> - 1.1.4-4
- Rebuilt with changed upstream tarball

* Tue Mar 21 2006 David Lutterkort <dlutter at redhat.com> - 1.1.4-3
- Do not rely on install.rb, it will be deleted upstream

* Mon Mar 13 2006 David Lutterkort <dlutter at redhat.com> - 1.1.4-2
- Commented out noarch; requires fix for bz184199

* Mon Mar  6 2006 David Lutterkort <dlutter at redhat.com> - 1.1.4-1
- Removed unused macros

* Mon Feb  6 2006 David Lutterkort <dlutter at redhat.com> - 1.1.1-2
- Fix BuildRoot. Add dist to release tag

* Wed Jan 11 2006 David Lutterkort <dlutter at redhat.com> - 1.1.1-1
- Initial build.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/facter/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	12 Jul 2006 00:51:30 -0000	1.1
+++ .cvsignore	12 Jul 2006 00:51:59 -0000	1.2
@@ -0,0 +1 @@
+facter-1.3.3.tgz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/facter/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	12 Jul 2006 00:51:30 -0000	1.1
+++ sources	12 Jul 2006 00:51:59 -0000	1.2
@@ -0,0 +1 @@
+49c5e1a293138cb5b93667f82ae28e89  facter-1.3.3.tgz




More information about the fedora-extras-commits mailing list