-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrskkserv.spec.in
51 lines (37 loc) · 1.2 KB
/
rskkserv.spec.in
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
Summary: SKK Dictionary server for Ruby
Name: rskkserv
Version: @VERSION@
Release: 2
License: GPL
Group: Applications/System
Source: %{name}-%{version}.tar.bz2
URL: http://www.unixuser.org/~ysjj/rskkserv/
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
BuildRequires: ruby >= 1.6, ruby-devel >= 1.6
PreReq: chkconfig
Provides: skkserv
Obsoletes: skkserv, dbskkd-cdb
%description
rskkserv is an alternate version of skkserv for Ruby.
%prep
%setup -q
[ "$RPM_BUILD_ROOT" != "/" ] && rm -fr $RPM_BUILD_ROOT
%patch0 -p1 -b .mk
%build
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--with-rubylibdir=/usr/lib/ruby/1.8
make RPM_OPT_FLAGS="${RPM_OPT_FLAGS}"
%install
make DESTDIR=$RPM_BUILD_ROOT install
find $RPM_BUILD_ROOT -type f -print | sed "s^$RPM_BUILD_ROOT^^" > rskkserv-flst
find $RPM_BUILD_ROOT -type d -printf "%%%%dir %%p\n" | \
sed "s^$RPM_BUILD_ROOT^^" >> rskkserv-flst
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -fr $RPM_BUILD_ROOT
%files -f rskkserv-flst
%defattr(-, root, root)
%changelog
* Tue Nov 13 2001 Satoru SATOH <ssato@redhat.com> - 2.94.12-2
- fix: the libraries of rskkserv are not installed
* Wed Oct 17 2001 Satoru SATOH <ssato@redhat.com> - 2.94.12-1
- Initial release