Compare commits
29 commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b110672665 | |||
|
951ae676a4 |
|||
| 4a3a436654 | |||
|
|
55974f6f60 | ||
| 7d0e428c08 | |||
|
|
c3bbddc479 | ||
|
|
2f93b9bdeb | ||
|
|
afa19fb2c5 | ||
| 57e5b3f29c | |||
|
|
67eef370e2 | ||
| d70096a6ba | |||
|
|
7d012ca3bd | ||
| 4fa8c25fb7 | |||
| 5a64577167 | |||
|
|
9edf8bd9df | ||
|
|
6d39df2e0c | ||
|
|
8df7503ac8 | ||
|
|
715c089bbf | ||
|
|
79d76ea173 | ||
|
|
6f2d000864 | ||
|
|
ec24fb3d99 | ||
|
|
b250ccd4b5 | ||
|
|
50444cf60a | ||
|
|
5c1f30e809 | ||
|
|
7c34580f3f | ||
|
|
1af96bc466 | ||
|
|
ee10ee9efa | ||
|
|
7002916dea | ||
|
|
1d62c6e506 |
7 changed files with 4 additions and 140 deletions
|
|
@ -1 +0,0 @@
|
||||||
xchat-ruby-1.2-src.tar.gz
|
|
||||||
21
Makefile
21
Makefile
|
|
@ -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
4
dead.package
Normal 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
|
||||||
1
sources
1
sources
|
|
@ -1 +0,0 @@
|
||||||
d9a8eafb03c88ac5d8c67b5373f10538 xchat-ruby-1.2-src.tar.gz
|
|
||||||
|
|
@ -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']"`
|
|
||||||
|
|
||||||
|
|
@ -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|
|
|
||||||
|
|
@ -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.
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue