Compare commits

...
This repository has been archived on 2026-09-10. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.

29 commits

Author SHA1 Message Date
b110672665 xchat was retired, and this package is unusable without it
https://pagure.io/fesco/issue/1847
https://bugzilla.redhat.com/show_bug.cgi?id=1486752
2018-02-23 17:08:24 +01:00
951ae676a4
Remove %clean section
None of currently supported distributions need that.
Last one was EL5 which is EOL for a while.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 07:43:05 +01:00
4a3a436654 Remove BuildRoot definition
None of currently supported distributions need that.
It was needed last for EL5 which is EOL now

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 00:50:35 +01:00
Fedora Release Engineering
55974f6f60 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 21:24:39 +00:00
7d0e428c08 F-28: rebuild for ruby25 2018-01-05 14:08:04 +09:00
Fedora Release Engineering
c3bbddc479 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 10:31:15 +00:00
Fedora Release Engineering
2f93b9bdeb - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 21:56:30 +00:00
Fedora Release Engineering
afa19fb2c5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 17:42:15 +00:00
57e5b3f29c F-26: rebuild for ruby24 2017-01-13 12:54:26 +09:00
Fedora Release Engineering
67eef370e2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-05 03:19:41 +00:00
d70096a6ba F-24: rebuild against ruby23 2016-01-14 14:39:06 +09:00
Dennis Gilmore
7d012ca3bd - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-19 03:48:05 +00:00
4fa8c25fb7 Rebuild for https://fedoraproject.org/wiki/Changes/Ruby_2.2
- Remove deprecated Config:: usage
2015-01-16 16:07:30 +09:00
5a64577167 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-18 09:25:27 +00:00
Dennis Gilmore
9edf8bd9df - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-08 00:21:42 -05:00
Vít Ondruch
6d39df2e0c Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_2.1 2014-04-29 13:49:54 +02:00
Dennis Gilmore
8df7503ac8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-04 02:43:01 -05:00
Conrad Meyer
715c089bbf Bump requires from old-style ruby(abi) to new-style ruby(release) for 2.0.0 2013-03-13 13:03:58 -07:00
Dennis Gilmore
79d76ea173 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 21:30:04 -06:00
Dennis Gilmore
6f2d000864 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-21 23:39:38 -05:00
Conrad Meyer
ec24fb3d99 Fixup patch 2012-06-05 09:45:32 -07:00
Conrad Meyer
b250ccd4b5 Fix for Ruby 1.9.2 (#828008) from Pallai Roland 2012-06-04 19:30:46 -07:00
Vít Ondruch
50444cf60a Rebuilt for Ruby 1.9.3. 2012-02-08 09:23:48 +01:00
Conrad Meyer
5c1f30e809 Fix null pointer dereference (#787298 reported by Pallai Roland) 2012-02-03 18:02:02 -08:00
Dennis Gilmore
7c34580f3f - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-14 02:40:38 -06:00
Dennis Gilmore
1af96bc466 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-07 21:47:06 -06:00
Fedora Release Engineering
ee10ee9efa dist-git conversion 2010-07-29 15:35:54 +00:00
Bill Nottingham
7002916dea Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-25 22:40:55 +00:00
Jesse Keating
1d62c6e506 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 2009-07-27 07:40:09 +00:00
7 changed files with 4 additions and 140 deletions

View file

@ -1 +0,0 @@
xchat-ruby-1.2-src.tar.gz

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: xchat-ruby
# $Id$
NAME := xchat-ruby
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
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)

4
dead.package Normal file
View file

@ -0,0 +1,4 @@
xchat was retired, and this package is unusable without it
https://pagure.io/fesco/issue/1847
https://bugzilla.redhat.com/show_bug.cgi?id=1486752

View file

@ -1 +0,0 @@
d9a8eafb03c88ac5d8c67b5373f10538 xchat-ruby-1.2-src.tar.gz

View file

@ -1,12 +0,0 @@
--- xchat-ruby-1.2-src/src/Makefile 2007-04-26 04:16:32.000000000 -0700
+++ xchat-ruby-1.2-src-modified/src/Makefile 2007-11-27 17:17:24.000000000 -0800
@@ -1,8 +1,8 @@
RUBY=ruby
CC=gcc
-CFLAGS=-g -Wall -O1 -fPIC
+CFLAGS+=-fPIC
OBJ=xchat-ruby.o
ARCHDIR=`$(RUBY) -rrbconfig -e "puts Config::CONFIG['archdir']"`

View file

@ -1,11 +0,0 @@
diff -ur xchat-ruby-1.2-src/src/xchat-ruby-plugin.rb xchat-ruby-1.2-src-patched/src/xchat-ruby-plugin.rb
--- xchat-ruby-1.2-src/src/xchat-ruby-plugin.rb 2007-04-26 04:16:32.000000000 -0700
+++ xchat-ruby-1.2-src-patched/src/xchat-ruby-plugin.rb 2007-11-17 20:06:25.000000000 -0800
@@ -416,6 +416,7 @@
def XChatRubyEnvironment.initialize_ruby_environment
envfile = get_info( "xchatdir" ) + "/rubyenv"
+ envfile = "/etc/xchat-rubyenv" if not File.exist? envfile
begin
File.open( envfile, "r" ) do |file|
file.each do |line|

View file

@ -1,94 +0,0 @@
Name: xchat-ruby
Version: 1.2
Release: 7%{?dist}
Summary: An X-Chat plugin providing scripting functionality with Ruby
Group: Applications/Internet
License: GPLv2+
URL: http://xchat-ruby.sourceforge.net/
Source0: http://downloads.sourceforge.net/xchat-ruby/%{name}-%{version}-src.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Patch0: xchat-ruby-global-rubyenv.patch
Patch1: xchat-ruby-dont-ignore-cflags.patch
BuildRequires: ruby(abi) = 1.8
BuildRequires: ruby-devel ruby
Requires: ruby(abi) = 1.8
Requires: xchat
%description
For those of us that prefer the Ruby programming language above all
others, the XChat-Ruby Plugin now allows X-Chat plugins to be written
in Ruby, in addition to the other supported scripting interfaces. This
means that, for the first time, you can use a purely object-oriented
language in which to write X-Chat plugins.
%prep
%setup -q -n xchat-ruby-%{version}-src
%patch0 -p1
%patch1 -p1
%build
cd src
CFLAGS="%{optflags}" make %{?_smp_mflags}
%install
# Get arch-specific load paths
%{!?ruby_sitearch: %define ruby_sitearch %(ruby -rrbconfig -e 'puts Config::CONFIG["sitearchdir"]')}
%{!?ruby_arch: %define ruby_arch %(ruby -rrbconfig -e 'puts Config::CONFIG["archdir"]')}
rm -rf %{buildroot}
mkdir %{buildroot}
cd src
# xchat-ruby's make install is broken
install -D xchat-ruby.so %{buildroot}%{_libdir}/xchat/plugins/xchat-ruby.so
mkdir -p %{buildroot}%{_sysconfdir}
cat <<EOS >%{buildroot}%{_sysconfdir}/xchat-rubyenv
/usr/lib/ruby/site_ruby/1.8
%{ruby_sitearch}
/usr/lib/ruby/site_ruby
/usr/lib/ruby/1.8
%{ruby_arch}
.
EOS
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%config(noreplace) %{_sysconfdir}/xchat-rubyenv
%doc README COPYING
%{_libdir}/xchat/plugins/xchat-ruby.so
%changelog
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Sat Feb 9 2008 Conrad Meyer <konrad@tylerc.org> - 1.2-6
- Bump for GCC 4.3 rebuild
* Wed Nov 28 2007 Conrad Meyer <konrad@tylerc.org> - 1.2-5
- SourceURL includes %%{version}
- BuildRequire Ruby 1.8 ABI for consistancy with Require
- Fixed macro in changelog
* Tue Nov 27 2007 Conrad Meyer <konrad@tylerc.org> - 1.2-4
- Default load path now contains arch-specific directories
* Tue Nov 27 2007 Conrad Meyer <konrad@tylerc.org> - 1.2-3
- Fixed xchat-rubyenv for 64-bit
- Patched Makefile to not ignore CFLAGS
* Fri Nov 23 2007 Conrad Meyer <konrad@tylerc.org> - 1.2-2
- Replaced /etc with %%{_sysconfdir}
* Fri Nov 17 2007 Conrad Meyer <konrad@tylerc.org> - 1.2-1
- Initial package.