From 7fc926a7fded0bd18af20c90ce45e6fca814bc07 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 1 Oct 2008 18:58:20 +0000 Subject: [PATCH 1/5] Initialize branch EL-5 for rubygem-highline --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..42f697a --- /dev/null +++ b/branch @@ -0,0 +1 @@ +EL-5 From 6805026ff9966ccfe65f3d78fbb5d4592c9718cb Mon Sep 17 00:00:00 2001 From: Jeroen van Meeuwen Date: Thu, 2 Oct 2008 00:02:22 +0000 Subject: [PATCH 2/5] 1.4.0-2 --- .cvsignore | 1 + import.log | 1 + rubygem-highline.spec | 72 +++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 75 insertions(+) create mode 100644 import.log create mode 100644 rubygem-highline.spec diff --git a/.cvsignore b/.cvsignore index e69de29..030ade0 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +highline-1.4.0.tgz diff --git a/import.log b/import.log new file mode 100644 index 0000000..b708d56 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +rubygem-highline-1_4_0-2_fc10:EL-5:rubygem-highline-1.4.0-2.fc10.src.rpm:1222905146 diff --git a/rubygem-highline.spec b/rubygem-highline.spec new file mode 100644 index 0000000..cd8451f --- /dev/null +++ b/rubygem-highline.spec @@ -0,0 +1,72 @@ +# Generated from highline-1.4.0.gem by gem2rpm -*- rpm-spec -*- +%define ruby_sitelib %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']") +%define gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null) +%define gemname highline +%define geminstdir %{gemdir}/gems/%{gemname}-%{version} + +Summary: HighLine is a high-level command-line IO library +Name: rubygem-%{gemname} +Version: 1.4.0 +Release: 2%{?dist} +Group: Development/Languages +License: GPLv2+ or Ruby +URL: http://highline.rubyforge.org +Source0: http://rubyforge.org/frs/download.php/23791/%{gemname}-%{version}.tgz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires: rubygems +Requires: ruby(abi) = 1.8 +BuildRequires: rubygems +BuildRequires: rubygem-rake +BuildRequires: zip +BuildArch: noarch +Provides: rubygem(%{gemname}) = %{version} + +%description +A high-level IO library that provides validation, type conversion, and more +for command-line interfaces. HighLine also includes a complete menu system +that can crank out anything from simple list selection to complete shells with +just minutes of work. + +%prep +%setup -q -n %{gemname}-%{version} +# This makes the she-bang look OK... +expr="s|/usr/local/bin/ruby|`which ruby`|" +sed -i -e $expr `find test/ examples/ lib/ -name '*.rb'` +# But these files are not executable either +#expr="/#!\/usr\/local\/bin\/ruby/d" +#sed -i -e $expr `find lib/ -name '*.rb'` + +%build +rake package + +%install +rm -rf %{buildroot} +mkdir -p %{buildroot}%{gemdir} +gem install --local --install-dir %{buildroot}%{gemdir} \ + --force --rdoc pkg/%{gemname}-%{version}.gem + +cd %{buildroot}%{gemdir}/gems/%{gemname}-%{version}/ +find test/ examples/ lib/ -name '*.rb' -exec chmod ugo+x {} \; + +%clean +rm -rf %{buildroot} + +%files +%defattr(-, root, root, -) +%{gemdir}/gems/%{gemname}-%{version}/ +%doc %{gemdir}/doc/%{gemname}-%{version} +%doc %{geminstdir}/README +%doc %{geminstdir}/INSTALL +%doc %{geminstdir}/TODO +%doc %{geminstdir}/CHANGELOG +%doc %{geminstdir}/LICENSE +%{gemdir}/cache/%{gemname}-%{version}.gem +%{gemdir}/specifications/%{gemname}-%{version}.gemspec + + +%changelog +* Mon Sep 08 2008 Jeroen van Meeuwen - 1.4.0-2 +- Add ruby(abi) = 1.8 requires + +* Sun Jul 13 2008 root - 1.4.0-1 +- Initial package diff --git a/sources b/sources index e69de29..2de6336 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +0e80123ec36cfb59a3c9d264324d62ef highline-1.4.0.tgz From 005bf7abf5e7895814708a461d37968f4d11c1c1 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 26 Nov 2009 01:31:17 +0000 Subject: [PATCH 3/5] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 81700b2..ee91978 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ # Makefile for source rpm: rubygem-highline -# $Id$ +# $Id: Makefile,v 1.1 2008/10/01 18:58:16 kevin Exp $ NAME := rubygem-highline SPECFILE = $(firstword $(wildcard *.spec)) define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) From 19f9f7861bc80de46c76e61f7c504be7becdb911 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 11:51:23 +0000 Subject: [PATCH 4/5] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - import.log | 1 - 4 files changed, 23 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch delete mode 100644 import.log diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index ee91978..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: rubygem-highline -# $Id: Makefile,v 1.1 2008/10/01 18:58:16 kevin Exp $ -NAME := rubygem-highline -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/branch b/branch deleted file mode 100644 index 42f697a..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -EL-5 diff --git a/import.log b/import.log deleted file mode 100644 index b708d56..0000000 --- a/import.log +++ /dev/null @@ -1 +0,0 @@ -rubygem-highline-1_4_0-2_fc10:EL-5:rubygem-highline-1.4.0-2.fc10.src.rpm:1222905146 From f0c11cc06b5d9aac2dfeb18213f69e9d926518b2 Mon Sep 17 00:00:00 2001 From: Till Maas Date: Sun, 20 Nov 2016 11:27:28 +0100 Subject: [PATCH 5/5] 2016-11-20: Retired because it depends on rubygem-flexmock, which was retired, because it was orphaned for more than six weeks. --- .gitignore | 1 - dead.package | 3 ++ rubygem-highline.spec | 72 ------------------------------------------- sources | 1 - 4 files changed, 3 insertions(+), 74 deletions(-) delete mode 100644 .gitignore create mode 100644 dead.package delete mode 100644 rubygem-highline.spec delete mode 100644 sources diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 030ade0..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -highline-1.4.0.tgz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..7250b48 --- /dev/null +++ b/dead.package @@ -0,0 +1,3 @@ +2016-11-20: Retired because it depends on rubygem-flexmock, which was +retired, because it was orphaned for more than six weeks. + diff --git a/rubygem-highline.spec b/rubygem-highline.spec deleted file mode 100644 index cd8451f..0000000 --- a/rubygem-highline.spec +++ /dev/null @@ -1,72 +0,0 @@ -# Generated from highline-1.4.0.gem by gem2rpm -*- rpm-spec -*- -%define ruby_sitelib %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']") -%define gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null) -%define gemname highline -%define geminstdir %{gemdir}/gems/%{gemname}-%{version} - -Summary: HighLine is a high-level command-line IO library -Name: rubygem-%{gemname} -Version: 1.4.0 -Release: 2%{?dist} -Group: Development/Languages -License: GPLv2+ or Ruby -URL: http://highline.rubyforge.org -Source0: http://rubyforge.org/frs/download.php/23791/%{gemname}-%{version}.tgz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Requires: rubygems -Requires: ruby(abi) = 1.8 -BuildRequires: rubygems -BuildRequires: rubygem-rake -BuildRequires: zip -BuildArch: noarch -Provides: rubygem(%{gemname}) = %{version} - -%description -A high-level IO library that provides validation, type conversion, and more -for command-line interfaces. HighLine also includes a complete menu system -that can crank out anything from simple list selection to complete shells with -just minutes of work. - -%prep -%setup -q -n %{gemname}-%{version} -# This makes the she-bang look OK... -expr="s|/usr/local/bin/ruby|`which ruby`|" -sed -i -e $expr `find test/ examples/ lib/ -name '*.rb'` -# But these files are not executable either -#expr="/#!\/usr\/local\/bin\/ruby/d" -#sed -i -e $expr `find lib/ -name '*.rb'` - -%build -rake package - -%install -rm -rf %{buildroot} -mkdir -p %{buildroot}%{gemdir} -gem install --local --install-dir %{buildroot}%{gemdir} \ - --force --rdoc pkg/%{gemname}-%{version}.gem - -cd %{buildroot}%{gemdir}/gems/%{gemname}-%{version}/ -find test/ examples/ lib/ -name '*.rb' -exec chmod ugo+x {} \; - -%clean -rm -rf %{buildroot} - -%files -%defattr(-, root, root, -) -%{gemdir}/gems/%{gemname}-%{version}/ -%doc %{gemdir}/doc/%{gemname}-%{version} -%doc %{geminstdir}/README -%doc %{geminstdir}/INSTALL -%doc %{geminstdir}/TODO -%doc %{geminstdir}/CHANGELOG -%doc %{geminstdir}/LICENSE -%{gemdir}/cache/%{gemname}-%{version}.gem -%{gemdir}/specifications/%{gemname}-%{version}.gemspec - - -%changelog -* Mon Sep 08 2008 Jeroen van Meeuwen - 1.4.0-2 -- Add ruby(abi) = 1.8 requires - -* Sun Jul 13 2008 root - 1.4.0-1 -- Initial package diff --git a/sources b/sources deleted file mode 100644 index 2de6336..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -0e80123ec36cfb59a3c9d264324d62ef highline-1.4.0.tgz