[svn] r5393 - in trunk/rpms: . cft cobbler facter koan pam_shield pan puppet python-cheetah ruby-fam ruby-rpm vncreflector

packagers at lists.rpmforge.net packagers at lists.rpmforge.net
Sat May 12 06:15:07 CEST 2007


Author: dag
Date: 2007-05-12 06:15:05 +0200 (Sat, 12 May 2007)
New Revision: 5393

Added:
   trunk/rpms/cft/
   trunk/rpms/cft/cft.spec
   trunk/rpms/cobbler/
   trunk/rpms/cobbler/cobbler.spec
   trunk/rpms/facter/
   trunk/rpms/facter/facter.spec
   trunk/rpms/koan/
   trunk/rpms/koan/koan.spec
   trunk/rpms/puppet/
   trunk/rpms/puppet/puppet.spec
   trunk/rpms/python-cheetah/
   trunk/rpms/python-cheetah/python-cheetah.spec
   trunk/rpms/ruby-fam/
   trunk/rpms/ruby-fam/ruby-fam.spec
   trunk/rpms/ruby-rpm/
   trunk/rpms/ruby-rpm/ruby-rpm.spec
Modified:
   trunk/rpms/pam_shield/pam_shield.spec
   trunk/rpms/pan/pan.spec
   trunk/rpms/vncreflector/vncreflector.spec
Log:
Updates

Added: trunk/rpms/cft/cft.spec
===================================================================
--- trunk/rpms/cft/cft.spec	                        (rev 0)
+++ trunk/rpms/cft/cft.spec	2007-05-12 04:15:05 UTC (rev 5393)
@@ -0,0 +1,56 @@
+# $Id$
+# Authority: dag
+
+%define ruby_sitelibdir %(ruby -rrbconfig -e 'puts Config::CONFIG["sitelibdir"]')
+
+Summary: Config file tracker
+Name: cft
+Version: 0.2.1
+Release: 1
+License: GPL
+Group: System Environment/Base
+URL: http://cft.et.redhat.com/
+
+Source: http://cft.et.redhat.com/download/cft-%{version}.tgz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires: ruby-devel
+Requires: ruby, ruby-fam, ruby-rpm >= 1.2.2, puppet >= 0.22.2
+Provides: ruby(cft) = %{version}
+
+%description
+Cft (pronounced 'sift') follows a sysadmin as she makes changes to the system,
+records the changes and produces a puppet manifest from them. Its basic
+workings are inspired by Gnome's Sabayon, a tool that watches a user make
+configuration changes to their desktop and collects them into a reusable bundle.
+
+Instead of the desktop though, cft is focused on traditional system admins and
+how they maintain machines, mostly with command line tools. Cft uses puppet as
+its backbone for expressing the configuration of a system, and for understanding
+in greater detail what changes the admin has made to the system.
+
+%prep
+%setup
+
+%build
+
+%install
+%{__rm} -rf %{buildroot}
+%{__install} -Dp -m0755 bin/cft %{buildroot}%{_sbindir}/cft
+
+%{__install} -d -m0755 %{buildroot}%{ruby_sitelibdir}
+%{__cp} -av lib/* %{buildroot}%{ruby_sitelibdir}
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc AUTHORS COPYING INSTALL NEWS README TODO
+%{_sbindir}/cft
+%{ruby_sitelibdir}/cft.rb
+%{ruby_sitelibdir}/cft/
+
+%changelog
+* Sat May 12 2007 Dag Wieers <dag at wieers.com> - 0.2.1-1
+- Initial package. (using DAR)


Property changes on: trunk/rpms/cft/cft.spec
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + native

Added: trunk/rpms/cobbler/cobbler.spec
===================================================================
--- trunk/rpms/cobbler/cobbler.spec	                        (rev 0)
+++ trunk/rpms/cobbler/cobbler.spec	2007-05-12 04:15:05 UTC (rev 5393)
@@ -0,0 +1,113 @@
+# $Id$
+# Authority: dag
+
+%define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")
+
+Summary: Boot server configurator
+Name: cobbler
+Version: 0.4.8
+Release: 1
+License: GPL
+Group: Applications/System
+URL: http://cobbler.et.redhat.com/
+
+Source: http://cobbler.et.redhat.com/download/cobbler-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildArch: noarch
+BuildRequires: python-devel >= 2.3
+Requires: python-devel >= 2.3, python-cheetah, httpd, mod_python
+Requires: tftp-server, createrepo, yum-utils
+
+%description
+Cobbler is a command line tool for configuration of network boot and update
+servers. It is also available as a Python library. Cobbler supports PXE,
+provisioning virtualized images and reinstalling machines that are already
+running (over SSH).
+
+The last two modes require a helper tool called 'koan' that integrates with
+cobbler. Cobbler's advanced features include importing distributions from
+rsync mirrors, kickstart templating, integrated yum mirroring, kickstart
+monitoring, and auto-managing dhcpd.conf.
+
+%prep
+%setup
+
+%build
+%{__python} setup.py build
+
+%install
+%{__rm} -rf %{buildroot}
+%{__python} setup.py install -O1 --skip-build --root="%{buildroot}" --prefix="%{_prefix}"
+
+%post
+/sbin/chkconfig --add cobblerd
+
+%preun
+if [ $1 -eq 0 ]; then
+	/sbin/service cobblerd stop &>/dev/null || :
+	chkconfig --del cobblerd
+fi
+
+%postun
+if [ $1 -ge 1 ]; then
+	/sbin/service cobblerd condrestart &>/dev/null || :
+fi
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc AUTHORS CHANGELOG COPYING NEWS README
+%doc %{_mandir}/man1/cobbler.1*
+%config(noreplace) %{_sysconfdir}/cobbler/
+%config(noreplace) %{_sysconfdir}/httpd/conf.d/cobbler.conf
+#%config %{_initrddir}/cobblerd
+%config %{_sysconfdir}/init.d/cobblerd
+%dir /tftpboot/
+%dir /tftpboot/pxelinux.cfg/
+%dir /tftpboot/images/
+%{_bindir}/cobbler
+%{_bindir}/cobblerd
+%{python_sitelib}/cobbler/
+%ghost %{python_sitelib}/cobbler/*.pyo
+%{python_sitelib}/cobbler/yaml/
+%ghost %{python_sitelib}/cobbler/yaml/*.pyo
+%dir %{_localstatedir}/log/cobbler/syslog/
+
+%defattr(0644, root, root 2550)
+%dir %{_localstatedir}/lib/cobbler/
+%{_localstatedir}/lib/cobbler/elilo-3.6-ia64.efi
+%{_localstatedir}/lib/cobbler/menu.c32
+%dir %{_localstatedir}/lib/cobbler/triggers/
+%dir %{_localstatedir}/lib/cobbler/triggers/add/
+%dir %{_localstatedir}/lib/cobbler/triggers/add/distro/
+%dir %{_localstatedir}/lib/cobbler/triggers/add/profile/
+%dir %{_localstatedir}/lib/cobbler/triggers/add/repo/
+%dir %{_localstatedir}/lib/cobbler/triggers/add/system/
+%dir %{_localstatedir}/lib/cobbler/triggers/delete/
+%dir %{_localstatedir}/lib/cobbler/triggers/delete/distro/
+%dir %{_localstatedir}/lib/cobbler/triggers/delete/profile/
+%dir %{_localstatedir}/lib/cobbler/triggers/delete/repo/
+%dir %{_localstatedir}/lib/cobbler/triggers/delete/system/
+
+%defattr(-, apache, apache, 2755)
+%dir %{_localstatedir}/log/cobbler/
+%dir %{_localstatedir}/log/cobbler/kicklog/
+%dir %{_localstatedir}/www/cobbler/
+%dir %{_localstatedir}/www/cobbler/distros/
+%dir %{_localstatedir}/www/cobbler/images/
+%dir %{_localstatedir}/www/cobbler/kickstarts/
+%dir %{_localstatedir}/www/cobbler/kickstarts_sys/
+%dir %{_localstatedir}/www/cobbler/ks_mirror/
+%dir %{_localstatedir}/www/cobbler/ks_mirror/config/
+%dir %{_localstatedir}/www/cobbler/links/
+%dir %{_localstatedir}/www/cobbler/localmirror/
+%dir %{_localstatedir}/www/cobbler/profiles/
+%dir %{_localstatedir}/www/cobbler/repo_mirror/
+%dir %{_localstatedir}/www/cobbler/systems/
+
+%changelog
+* Sat May 12 2007 Dag Wieers <dag at wieers.com> - 0.4.8-1
+- Initial package. (using DAR)


Property changes on: trunk/rpms/cobbler/cobbler.spec
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + native

Added: trunk/rpms/facter/facter.spec
===================================================================
--- trunk/rpms/facter/facter.spec	                        (rev 0)
+++ trunk/rpms/facter/facter.spec	2007-05-12 04:15:05 UTC (rev 5393)
@@ -0,0 +1,52 @@
+# $Id$
+# Authority: dag
+
+%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.7
+Release: 1
+License: GPL
+Group: System Environment/Base
+URL: http://reductivelabs.com/projects/facter/
+
+Source: http://reductivelabs.com/downloads/facter/facter-%{version}.tgz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires: ruby-devel >= 1.8.1
+Requires: 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
+
+%{__perl} -pi.orig -e 's|^#!.*$|#!/usr/bin/ruby|' bin/facter
+
+%build
+
+%install
+%{__rm} -rf %{buildroot}
+%{__install} -Dp -m0755 bin/facter %{buildroot}%{_bindir}/facter
+
+%{__install} -d -m0755 %{buildroot}%{ruby_sitelibdir}/facter/
+%{__install} -p -m0644 lib/*.rb %{buildroot}%{ruby_sitelibdir}
+%{__install} -p -m0644 lib/facter/*.rb %{buildroot}%{ruby_sitelibdir}/facter/
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc CHANGELOG COPYING INSTALL LICENSE README
+%{_bindir}/facter
+%{ruby_sitelibdir}/facter/
+%{ruby_sitelibdir}/facter.rb
+
+%changelog
+* Sat May 12 2007 Dag Wieers <dag at wieers.com> - 1.3.6-1
+- Initial package. (using DAR)


Property changes on: trunk/rpms/facter/facter.spec
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + native

Added: trunk/rpms/koan/koan.spec
===================================================================
--- trunk/rpms/koan/koan.spec	                        (rev 0)
+++ trunk/rpms/koan/koan.spec	2007-05-12 04:15:05 UTC (rev 5393)
@@ -0,0 +1,53 @@
+# $Id$
+# Authority: dag
+
+%define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")
+
+Summary: Network provisioning tool for Xen and Bare Metal Machines 
+Name: koan
+Version: 0.3.1
+Release: 1
+License: GPL
+Group: Applications/System
+URL: http://cobbler.et.redhat.com/
+
+Source: http://cobbler.et.redhat.com/download/koan-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+
+BuildArch: noarch
+BuildRequires: python-devel >= 2.2
+Requires: python >= 2.2
+Requires: mkinitrd
+Requires: syslinux
+
+%description
+Koan stands for kickstart-over-a-network and allows for both network
+provisioning of new virtualized guests and destructive re-provisioning
+of any existing system. For use with a boot-server configured with
+'cobbler'
+
+%prep
+%setup
+
+%build
+%{__python} setup.py build
+
+%install
+%{__rm} -rf %{buildroot}
+%{__python} setup.py install -O1 --skip-build --root="%{buildroot}" --prefix="%{_prefix}"
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc AUTHORS COPYING CHANGELOG README NEWS
+%doc %{_mandir}/man1/koan.1*
+%{_bindir}/koan
+%{python_sitelib}/koan/
+%ghost %{python_sitelib}/koan/*.pyo
+
+%changelog
+* Sat May 12 2007 Dag Wieers <dag at wieers.com> - 0.3.1-1
+- Initial package. (using DAR)


Property changes on: trunk/rpms/koan/koan.spec
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + native

Modified: trunk/rpms/pam_shield/pam_shield.spec
===================================================================
--- trunk/rpms/pam_shield/pam_shield.spec	2007-05-12 04:12:27 UTC (rev 5392)
+++ trunk/rpms/pam_shield/pam_shield.spec	2007-05-12 04:15:05 UTC (rev 5393)
@@ -34,6 +34,8 @@
 %{__rm} -rf %{buildroot}
 %{__make} install DESTDIR="%{buildroot}" libdir="%{_libdir}"
 
+%{__install} -d -m0755 %{buildroot}%{_localstatedir}/lib/pam_shield/
+
 %clean
 %{__rm} -rf %{buildroot}
 
@@ -46,6 +48,7 @@
 %{_libdir}/security/pam_shield.so
 %{_sbindir}/shield-purge
 %{_sbindir}/shield-trigger.sh
+%dir %{_localstatedir}/lib/pam_shield/
 
 %changelog
 * Sat May 12 2007 Dag Wieers <dag at wieers.com> - 0.9.1-1

Modified: trunk/rpms/pan/pan.spec
===================================================================
--- trunk/rpms/pan/pan.spec	2007-05-12 04:12:27 UTC (rev 5392)
+++ trunk/rpms/pan/pan.spec	2007-05-12 04:15:05 UTC (rev 5393)
@@ -1,4 +1,4 @@
-# $Id$
+# $Id: pan.spec 4308 2006-04-21 22:20:20Z dries $
 # Authority: dag
 # Upstream: <pan-devel$nongnu,org>
 
@@ -11,7 +11,7 @@
 
 Summary: The Pan Newsreader
 Name: pan
-Version: 0.125
+Version: 0.129
 Release: 1
 Epoch: 1
 License: GPL
@@ -69,6 +69,9 @@
 %{_datadir}/pixmaps/pan.png
 
 %changelog
+* Sat May 12 2007 Dag Wieers <dag at wieers.com> - 0.129-1
+- Updated to release 0.129.
+
 * Wed Mar 21 2007 Dag Wieers <dag at wieers.com> - 0.125-1
 - Updated to release 0.125.
 

Added: trunk/rpms/puppet/puppet.spec
===================================================================
--- trunk/rpms/puppet/puppet.spec	                        (rev 0)
+++ trunk/rpms/puppet/puppet.spec	2007-05-12 04:15:05 UTC (rev 5393)
@@ -0,0 +1,134 @@
+# $Id$
+# Authority: dag
+
+%define ruby_sitelibdir %(ruby -rrbconfig -e 'puts Config::CONFIG["sitelibdir"]')
+
+Summary: Network tool for managing many disparate systems
+Name: puppet
+Version: 0.22.4
+Release: 1
+License: GPL
+Group: System Environment/Base
+URL: http://reductivelabs.com/projects/puppet/
+
+Source: http://reductivelabs.com/downloads/puppet/puppet-%{version}.tgz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires: ruby-devel >= 1.8.1
+Requires: ruby >= 1.8.1, facter >= 1.1.4
+
+%description
+Puppet lets you centrally manage every important aspect of your system using a 
+cross-platform specification language that manages all the separate elements 
+normally aggregated in different files, like users, cron jobs, and hosts, 
+along with obviously discrete elements like packages, services, and files.
+
+%package server
+Group: System Environment/Base
+Summary: Server for the puppet system management tool
+Requires: %{name} = %{version}-%{release}
+
+%description server
+Provides the central puppet server daemon which provides manifests to clients.
+The server can also function as a certificate authority and file server.
+
+%prep
+%setup
+
+%{__perl} -pi -e 's|^#!.*$|#!/usr/bin/ruby|' bin/*
+
+%build
+
+%install
+%{__rm} -rf %{buildroot}
+%{__install} -d -m0755 %{buildroot}%{_sbindir}
+%{__install} -Dp -m0755 bin/* %{buildroot}%{_sbindir}
+
+%{__install} -d -m0755 %{buildroot}%{_bindir}
+%{__mv} -f %{buildroot}%{_sbindir}/puppet %{buildroot}%{_bindir}/puppet
+%{__mv} -f %{buildroot}%{_sbindir}/puppetrun %{buildroot}%{_bindir}/puppetrun
+
+%{__install} -Dp -m0644 lib/puppet.rb %{buildroot}%{ruby_sitelibdir}/puppet.rb
+%{__cp} -av lib/puppet %{buildroot}%{ruby_sitelibdir}
+
+%{__install} -Dp -m0644 conf/redhat/logrotate %{buildroot}%{_sysconfdir}/logrotate.d/puppet
+%{__install} -Dp -m0644 conf/redhat/client.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/puppet
+%{__install} -Dp -m0755 conf/redhat/client.init %{buildroot}%{_initrddir}/puppet
+%{__install} -Dp -m0644 conf/redhat/server.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/puppetmaster
+%{__install} -Dp -m0755 conf/redhat/server.init %{buildroot}%{_initrddir}/puppetmaster
+%{__install} -Dp -m0644 conf/redhat/fileserver.conf %{buildroot}%{_sysconfdir}/puppet/fileserver.conf
+%{__install} -Dp -m0644 conf/redhat/puppetd.conf %{buildroot}%{_sysconfdir}/puppet/puppetd.conf
+%{__ln_s} puppetd.conf %{buildroot}%{_sysconfdir}/puppet/puppetmasterd.conf
+%{__ln_s} puppetd.conf %{buildroot}%{_sysconfdir}/puppet/puppetca.conf
+
+%{__install} -d -m0755 %{buildroot}%{_sysconfdir}/puppet/manifests/
+%{__install} -d -m0755 %{buildroot}%{_localstatedir}/lib/puppet/
+%{__install} -d -m0755 %{buildroot}%{_localstatedir}/log/puppet/
+%{__install} -d -m0755 %{buildroot}%{_localstatedir}/run/puppet/
+
+### Clean up buildroot
+find %{buildroot}%{ruby_sitelibdir} -type f -perm +ugo+x -print0 | xargs -0 -r %{__chmod} a-x
+
+%files
+%defattr(-, root, root, 0755)
+%doc CHANGELOG COPYING LICENSE README TODO examples/
+%config %{_initrddir}/puppet
+%config(noreplace) %{_sysconfdir}/logrotate.d/puppet
+%config(noreplace) %{_sysconfdir}/puppet/puppetd.conf
+%config(noreplace) %{_sysconfdir}/sysconfig/puppet
+%{_bindir}/puppet
+%{_sbindir}/puppetd
+%{ruby_sitelibdir}/puppet.rb
+%{ruby_sitelibdir}/puppet/
+
+%defattr(-, puppet, puppet, 0755)
+%{_localstatedir}/lib/puppet/
+%{_localstatedir}/log/puppet/
+%{_localstatedir}/run/puppet/
+%exclude %{_sbindir}/puppetdoc
+
+%files server
+%defattr(-, root, root, 0755)
+%config %{_initrddir}/puppetmaster
+%config(noreplace) %{_sysconfdir}/puppet/
+%config(noreplace) %{_sysconfdir}/sysconfig/puppetmaster
+%{_bindir}/puppetrun
+%{_sbindir}/puppetca
+%{_sbindir}/puppetmasterd
+
+%pre
+/usr/sbin/groupadd -r puppet 2>/dev/null || :
+/usr/sbin/useradd -g puppet -c "Puppet" -s /sbin/nologin -r -d %{_localstatedir}/lib/puppet puppet 2>/dev/null || :
+if [ $1 -gt 1 ] ; then
+	/usr/sbin/usermod -d %{_localstatedir}/lib/puppet puppet || :
+fi
+
+%post
+/sbin/chkconfig --add puppet
+
+%preun
+if [ $1 -eq 0 ] ; then
+	/sbin/service puppet stop &>/dev/null
+	/sbin/chkconfig --del puppet
+fi
+
+%post server
+/sbin/chkconfig --add puppetmaster
+
+%preun server
+if [ $1 -eq 0 ] ; then
+	/sbin/service puppetmaster stop &>/dev/null
+	/sbin/chkconfig --del puppetmaster
+fi
+
+%postun server
+if [ $1 -ge 1 ]; then
+	/sbin/service puppetmaster condrestart &>/dev/null
+fi
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%changelog
+* Sat May 12 2007 Dag Wieers <dag at wieers.com> - 0.22.4-1
+- Initial package. (using DAR)


Property changes on: trunk/rpms/puppet/puppet.spec
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + native

Added: trunk/rpms/python-cheetah/python-cheetah.spec
===================================================================
--- trunk/rpms/python-cheetah/python-cheetah.spec	                        (rev 0)
+++ trunk/rpms/python-cheetah/python-cheetah.spec	2007-05-12 04:15:05 UTC (rev 5393)
@@ -0,0 +1,53 @@
+# $Id$
+# Authority: dag
+
+%define python_sitearch %(%{__python} -c 'from distutils import sysconfig; print sysconfig.get_python_lib(1)')
+
+%define real_name Cheetah
+
+Summary: Template engine and code-generator
+Name: python-cheetah
+Version: 2.0
+Release: 0.1.rc8
+License: MIT
+Group: Development/Libraries
+URL: http://cheetahtemplate.org/
+
+Source: http://dl.sf.net/cheetahtemplate/Cheetah-%{version}rc8.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires: python-devel
+
+%description
+Cheetah is an open source template engine and code generation tool, written
+in Python. It can be used standalone or combined with other tools and
+frameworks. Web development is its principle use, but Cheetah is very
+flexible and is also being used to generate C++ game code, Java, sql,
+form emails and even Python code.
+
+%prep
+%setup -n %{real_name}-%{version}rc8
+
+%build
+CFLAGS="%{optflags}" %{__python} setup.py build
+
+%install
+%{__rm} -rf %{buildroot}
+%{__python} setup.py install -O1 --skip-build --root="%{buildroot}" --prefix="%{_prefix}"
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc CHANGES LICENSE README TODO
+%{_bindir}/cheetah
+%{_bindir}/cheetah-compile
+%{python_sitearch}/Cheetah/
+%ghost %{python_sitearch}/Cheetah/*.pyo
+%ghost %{python_sitearch}/Cheetah/*/*.pyo
+%ghost %{python_sitearch}/Cheetah/*/*/*.pyo
+
+%changelog
+* Sat May 12 2007 Dag Wieers <dag at wieers.com> - 2.0-0.1.rc8
+- Initial package. (using DAR)


Property changes on: trunk/rpms/python-cheetah/python-cheetah.spec
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + native

Added: trunk/rpms/ruby-fam/ruby-fam.spec
===================================================================
--- trunk/rpms/ruby-fam/ruby-fam.spec	                        (rev 0)
+++ trunk/rpms/ruby-fam/ruby-fam.spec	2007-05-12 04:15:05 UTC (rev 5393)
@@ -0,0 +1,53 @@
+# $Id$
+# Authority: dag
+
+%define ruby_sitearch %(ruby -rrbconfig -e "puts Config::CONFIG['sitearchdir']")
+
+%define real_name fam-ruby
+
+Summary: Gamin/FAM bindings for Ruby
+Name: ruby-fam
+Version: 0.2.0
+Release: 1
+License: BSD
+Group: Development/Languages
+URL: http://www.pablotron.org/software/fam-ruby/
+
+Source: http://www.pablotron.org/download/fam-ruby-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires: ruby-devel >= 1.8, gamin-devel
+Requires: ruby >= 1.8
+Provides: ruby(fam) = 0.1.4
+Provides: ruby(gamin) = 0.1.4
+
+%description
+FAM-Ruby is a Ruby interface to SGI's File Alteration Monitor
+(http://oss.sgi.com/projects/fam/).  FAM allows you to monitor files and
+directories for changes (file modification, creation, and removal) -- in
+an event-driven manner.
+
+%prep
+%setup -n %{real_name}-%{version}
+%{__mv} -f doc/ api/
+
+%build
+export CFLAGS="%{optflags}"
+ruby extconf.rb
+%{__make}
+
+%install
+%{__rm} -rf %{buildroot}
+%{__make} install DESTDIR="%{buildroot}"
+ 
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc COPYING README *.txt api/
+%{ruby_sitearch}/fam.so
+
+%changelog
+* Sat May 12 2007 Dag Wieers <dag at wieers.com> - 0.2.0-1
+- Initial package. (using DAR)


Property changes on: trunk/rpms/ruby-fam/ruby-fam.spec
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + native

Added: trunk/rpms/ruby-rpm/ruby-rpm.spec
===================================================================
--- trunk/rpms/ruby-rpm/ruby-rpm.spec	                        (rev 0)
+++ trunk/rpms/ruby-rpm/ruby-rpm.spec	2007-05-12 04:15:05 UTC (rev 5393)
@@ -0,0 +1,57 @@
+# $Id$
+# Authority: dag
+
+%define ruby_sitearch %(ruby -rrbconfig -e "puts Config::CONFIG['sitearchdir']")
+%define ruby_sitelib %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']")
+
+Summary: Ruby bindings for RPM
+Name: ruby-rpm
+Version: 1.2.3
+Release: 1
+License: GPL
+Group: Development/Languages
+URL: http://rubyforge.org/projects/ruby-rpm/
+
+Source: http://rubyforge.org/frs/download.php/20469/ruby-rpm-%{version}.tgz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires: ruby-devel >= 1.8.1, rpm-devel >= 4.2.1, db4-devel
+Requires: ruby >= 1.8.1
+
+%description
+Bindings for accessing RPM packages and databases from Ruby.
+
+%prep
+%setup
+
+%build
+ruby install.rb config \
+	--bin-dir="%{_bindir}" \
+	--data-dir="%{_datadir}" \
+	--rb-dir="%{ruby_sitelib}" \
+	--so-dir="%{ruby_sitearch}"
+ruby install.rb setup
+
+%install
+%{__rm} -rf %{buildroot}
+ruby install.rb config \
+	--bin-dir="%{buildroot}%{_bindir}" \
+	--data-dir="%{buildroot}%{_datadir}" \
+	--rb-dir="%{buildroot}%{ruby_sitelib}" \
+	--so-dir="%{buildroot}%{ruby_sitearch}"
+ruby install.rb install
+
+%{__chmod} 0755 %{buildroot}%{ruby_sitearch}/rpmmodule.so
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc ChangeLog COPYING NEWS README doc/
+%{ruby_sitearch}/rpmmodule.so
+%{ruby_sitelib}/rpm.rb
+
+%changelog
+* Sat May 12 2007 Dag Wieers <dag at wieers.com> - 1.2.3-1
+- Initial package. (using DAR)


Property changes on: trunk/rpms/ruby-rpm/ruby-rpm.spec
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + native

Modified: trunk/rpms/vncreflector/vncreflector.spec
===================================================================
--- trunk/rpms/vncreflector/vncreflector.spec	2007-05-12 04:12:27 UTC (rev 5392)
+++ trunk/rpms/vncreflector/vncreflector.spec	2007-05-12 04:15:05 UTC (rev 5393)
@@ -1,5 +1,4 @@
 # $Id$
-
 # Authority: dag
 
 %define real_name vnc_reflector
@@ -8,15 +7,15 @@
 Name: vncreflector
 Version: 1.2.4
 Release: 0.2
-Group: User Interface/Desktops
 License: GPL
+Group: User Interface/Desktops
 URL: http://sf.net/projects/vnc-reflector/
 
 Source: http://dl.sf.net/vnc-reflector/vnc_reflector-%{version}.tar.gz
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 
-
 BuildRequires: libjpeg-devel, zlib-devel
+Obsoletes: vnc-reflector <= %{version}-%{release}
 
 %description
 VNC Reflector is a specialized VNC server which acts as a proxy sitting
@@ -39,11 +38,8 @@
 %files
 %defattr(-, root, root, 0755)
 %doc ChangeLog LICENSE README
-%{_bindir}/*
+%{_bindir}/vncreflector
 
 %changelog
-* Sat Apr 08 2006 Dries Verachtert <dries at ulyssis.org> - 1.2.4-0.2
-- Rebuild for Fedora Core 5.
-
 * Mon Jun 30 2003 Dag Wieers <dag at wieers.com> - 1.2.4-0
 - Initial package. (using DAR)




More information about the commits mailing list