Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
Summary: FXRuby
Name: FXRuby
Version: @@FXRUBY_VERSION@@
Release: 1
Copyright: LGPL
Group: System Environment/Libraries
Source: @@FXRUBY_SRC_URL@@
URL: @@FXRUBY_HOME_URL@@
Packager: Lyle Johnson (lyle@users.sourceforge.net)
BuildRoot: %{_tmppath}/%{name}-buildroot
%description
FXRuby is a Ruby extension module that provides an interface to the
FOX Graphical User Interface toolkit.
%prep
%setup -q
%build
ruby install.rb config --prefix=$RPM_BUILD_ROOT/usr -- --with-fxscintilla-include=/usr/include/fxscintilla --with-fxscintilla-lib=/usr/lib
ruby install.rb setup
strip ext/fox12/fox12.so
%install
ruby install.rb install
%clean
ruby install.rb clean
%files
%defattr(-,root,root)
/usr/lib/ruby/site_ruby/1.6/fox12
/usr/lib/ruby/site_ruby/1.6/i686-linux/fox12.so
%doc ANNOUNCE README LICENSE index.html doc examples
%changelog
* Thu May 30 2002 Lyle Johnson <lyle@users.sourceforge.net>
- Incorporated Laurent Julliard's patches for the new installation directories
of FXScintilla.
* Thu May 09 2002 Lyle Johnson <lyle@users.sourceforge.net>
- Fixed %files section entries for the examples
- Removed requirements for ruby 1.6
* Thu May 09 2002 Lyle Johnson <lyle@users.sourceforge.net>
- Updated --prefix value (in %build section) and file installation
paths (in %files section) for consistency with Red Hat 7.2's
Ruby RPMs.
- Added the examples to the files list
* Thu May 09 2002 Lyle Johnson <lyle@users.sourceforge.net>
- Removed the mkdir steps in the %install section. Those don't
appear to be necessary after all!
- Added the Packager tag at the top
- Filled in the %description section
* Thu May 09 2002 Lyle Johnson <lyle@users.sourceforge.net>
- Changed the Name field from 'fxruby' to 'FXRuby'
- Added the --prefix=$RPM_BUILD_ROOT/usr/local option to the config
part of the %build step
- Added the mkdir steps before running install (in %install)
- Fixed the %files entries for doc and doc/images
* Thu May 09 2002 Lyle Johnson <lyle@users.sourceforge.net>
- initial package