From a5fdd1778b0bfacf1445dab9660d9cc3375a7933 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jason=20=E3=83=86=E3=82=A3=E3=83=93=E3=83=84?= Date: Mon, 1 Mar 2010 17:00:25 +0000 Subject: [PATCH 1/4] Initialize branch F-12 for rubygem-yard --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..06de2d2 --- /dev/null +++ b/branch @@ -0,0 +1 @@ +F-12 From afac57667b324ff12e46dc9656d42388fac685ba Mon Sep 17 00:00:00 2001 From: Mohammed Morsi Date: Thu, 4 Mar 2010 17:23:30 +0000 Subject: [PATCH 2/4] New package --- .cvsignore | 1 + import.log | 1 + rubygem-yard.spec | 92 +++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 95 insertions(+) create mode 100644 import.log create mode 100644 rubygem-yard.spec diff --git a/.cvsignore b/.cvsignore index e69de29..7d9b445 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +yard-0.5.3.gem diff --git a/import.log b/import.log new file mode 100644 index 0000000..15a4238 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +rubygem-yard-0_5_3-3_fc12:F-12:rubygem-yard-0.5.3-3.fc12.src.rpm:1267723453 diff --git a/rubygem-yard.spec b/rubygem-yard.spec new file mode 100644 index 0000000..6114a66 --- /dev/null +++ b/rubygem-yard.spec @@ -0,0 +1,92 @@ +%define gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null) +%define gemname yard +%define geminstdir %{gemdir}/gems/%{gemname}-%{version} + +%define rubyabi 1.8 + +Name: rubygem-%{gemname} +Summary: Documentation tool for consistent and usable documentation in Ruby +Version: 0.5.3 +Release: 3%{?dist} +Group: Development/Languages +License: MIT and (GPLv2 or Ruby) +URL: http://yardoc.org + +Source0: http://gemcutter.org/downloads/%{gemname}-%{version}.gem +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires: rubygems +Requires: ruby(abi) = %{rubyabi} +BuildRequires: rubygems +BuildRequires(check): rubygem(rake) +BuildRequires(check): rubygem(rspec) +BuildRequires(check): rubygem(RedCloth) +BuildArch: noarch +Provides: rubygem(%{gemname}) = %{version} + +%description +YARD is a documentation generation tool for the Ruby programming language. +It enables the user to generate consistent, usable documentation that can be +exported to a number of formats very easily, and also supports extending for +custom Ruby constructs such as custom class level definitions. + + +%prep +%setup -q -T -c + +%build + +%install +rm -rf %{buildroot} +mkdir -p %{buildroot}%{gemdir} +mkdir -p %{buildroot}/%{_bindir} + +gem install --local --install-dir ./%{gemdir} \ + --force --rdoc %{SOURCE0} +cp -a ./%{gemdir}/* %{buildroot}/%{gemdir}/. +mv %{buildroot}%{gemdir}/bin/* %{buildroot}/%{_bindir} +rmdir %{buildroot}%{gemdir}/bin +find %{buildroot}%{geminstdir}/bin -type f | xargs chmod a+x + +%clean +rm -rf %{buildroot} + +%check +pushd .%{geminstdir} +rake spec || : + +%files +%defattr(-, root, root, -) +%{_bindir}/yardoc +%{_bindir}/yri +%{_bindir}/yard-graph +%dir %{geminstdir} +%{geminstdir}/bin +%{geminstdir}/lib +%{geminstdir}/templates +%{geminstdir}/.yardopts + +%{gemdir}/cache/%{gemname}-%{version}.gem +%{gemdir}/specifications/%{gemname}-%{version}.gemspec + +%doc %{geminstdir}/LICENSE +%doc %{geminstdir}/README.md +%doc %{geminstdir}/Rakefile +%doc %{geminstdir}/ChangeLog +%doc %{geminstdir}/benchmarks +%doc %{geminstdir}/spec +%doc %{geminstdir}/docs +%doc %{gemdir}/doc/%{gemname}-%{version} + + +%changelog +* Mon Feb 22 2010 Mohammed Morsi - 0.5.3-3 +- fixed dependencies/package issues according to guidelines + +* Mon Feb 08 2010 Mohammed Morsi - 0.5.3-2 +- cleaned up macros, other package guideline compliance fixes +- corrected license, added MIT +- include all files and docs, added check/test section + +* Mon Feb 08 2010 Mohammed Morsi - 0.5.3-1 +- Initial package + diff --git a/sources b/sources index e69de29..3e15974 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +5bf1e34356d0803203ddf97d03fdf0e3 yard-0.5.3.gem From 483caf429e1c45e86ab880a1ba4138fc3f952ba3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 11:56:28 +0000 Subject: [PATCH 3/4] 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 360bbad..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: rubygem-yard -# $Id$ -NAME := rubygem-yard -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 06de2d2..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -F-12 diff --git a/import.log b/import.log deleted file mode 100644 index 15a4238..0000000 --- a/import.log +++ /dev/null @@ -1 +0,0 @@ -rubygem-yard-0_5_3-3_fc12:F-12:rubygem-yard-0.5.3-3.fc12.src.rpm:1267723453 From e7173f37408b1d530aa594e60f8e71dfe3beade2 Mon Sep 17 00:00:00 2001 From: Till Maas Date: Sat, 4 Jun 2016 15:10:04 +0200 Subject: [PATCH 4/4] 2016-06-04: Retired orphaned package, because it was orphaned for more than six weeks. --- .gitignore | 1 - dead.package | 3 ++ rubygem-yard.spec | 92 ----------------------------------------------- sources | 1 - 4 files changed, 3 insertions(+), 94 deletions(-) delete mode 100644 .gitignore create mode 100644 dead.package delete mode 100644 rubygem-yard.spec delete mode 100644 sources diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 7d9b445..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -yard-0.5.3.gem diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..a672f66 --- /dev/null +++ b/dead.package @@ -0,0 +1,3 @@ +2016-06-04: Retired orphaned package, because it was orphaned for +more than six weeks. + diff --git a/rubygem-yard.spec b/rubygem-yard.spec deleted file mode 100644 index 6114a66..0000000 --- a/rubygem-yard.spec +++ /dev/null @@ -1,92 +0,0 @@ -%define gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null) -%define gemname yard -%define geminstdir %{gemdir}/gems/%{gemname}-%{version} - -%define rubyabi 1.8 - -Name: rubygem-%{gemname} -Summary: Documentation tool for consistent and usable documentation in Ruby -Version: 0.5.3 -Release: 3%{?dist} -Group: Development/Languages -License: MIT and (GPLv2 or Ruby) -URL: http://yardoc.org - -Source0: http://gemcutter.org/downloads/%{gemname}-%{version}.gem -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Requires: rubygems -Requires: ruby(abi) = %{rubyabi} -BuildRequires: rubygems -BuildRequires(check): rubygem(rake) -BuildRequires(check): rubygem(rspec) -BuildRequires(check): rubygem(RedCloth) -BuildArch: noarch -Provides: rubygem(%{gemname}) = %{version} - -%description -YARD is a documentation generation tool for the Ruby programming language. -It enables the user to generate consistent, usable documentation that can be -exported to a number of formats very easily, and also supports extending for -custom Ruby constructs such as custom class level definitions. - - -%prep -%setup -q -T -c - -%build - -%install -rm -rf %{buildroot} -mkdir -p %{buildroot}%{gemdir} -mkdir -p %{buildroot}/%{_bindir} - -gem install --local --install-dir ./%{gemdir} \ - --force --rdoc %{SOURCE0} -cp -a ./%{gemdir}/* %{buildroot}/%{gemdir}/. -mv %{buildroot}%{gemdir}/bin/* %{buildroot}/%{_bindir} -rmdir %{buildroot}%{gemdir}/bin -find %{buildroot}%{geminstdir}/bin -type f | xargs chmod a+x - -%clean -rm -rf %{buildroot} - -%check -pushd .%{geminstdir} -rake spec || : - -%files -%defattr(-, root, root, -) -%{_bindir}/yardoc -%{_bindir}/yri -%{_bindir}/yard-graph -%dir %{geminstdir} -%{geminstdir}/bin -%{geminstdir}/lib -%{geminstdir}/templates -%{geminstdir}/.yardopts - -%{gemdir}/cache/%{gemname}-%{version}.gem -%{gemdir}/specifications/%{gemname}-%{version}.gemspec - -%doc %{geminstdir}/LICENSE -%doc %{geminstdir}/README.md -%doc %{geminstdir}/Rakefile -%doc %{geminstdir}/ChangeLog -%doc %{geminstdir}/benchmarks -%doc %{geminstdir}/spec -%doc %{geminstdir}/docs -%doc %{gemdir}/doc/%{gemname}-%{version} - - -%changelog -* Mon Feb 22 2010 Mohammed Morsi - 0.5.3-3 -- fixed dependencies/package issues according to guidelines - -* Mon Feb 08 2010 Mohammed Morsi - 0.5.3-2 -- cleaned up macros, other package guideline compliance fixes -- corrected license, added MIT -- include all files and docs, added check/test section - -* Mon Feb 08 2010 Mohammed Morsi - 0.5.3-1 -- Initial package - diff --git a/sources b/sources deleted file mode 100644 index 3e15974..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -5bf1e34356d0803203ddf97d03fdf0e3 yard-0.5.3.gem