1 |
Name: xrx |
2 |
Version: 1.0.4 |
3 |
Release: %{mkrel 1} |
4 |
Summary: RX helper program |
5 |
Group: Development/X11 |
6 |
Source0: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2 |
7 |
License: MIT |
8 |
BuildRoot: %{_tmppath}/%{name}-root |
9 |
BuildRequires: libx11-devel >= 1.0.0 |
10 |
BuildRequires: libxau-devel >= 1.0.0 |
11 |
BuildRequires: libxext-devel >= 1.0.0 |
12 |
BuildRequires: libxt-devel >= 1.0.0 |
13 |
BuildRequires: libxaw-devel >= 1.0.1 |
14 |
BuildRequires: x11-util-macros >= 1.0.1 |
15 |
BuildRequires: x11-xtrans-devel >= 1.0.0 |
16 |
# for npapi.h |
17 |
BuildRequires: xulrunner-devel |
18 |
|
19 |
%description |
20 |
The xrx helper program may be used with any Web browser to interpret documents |
21 |
in the RX MIME type format and start remote applications. |
22 |
|
23 |
%package plugin |
24 |
Group: Development/X11 |
25 |
Summary: RX browser plugins |
26 |
Obsoletes: %{mklibname xrx 0} < %{version}-%{release} |
27 |
Obsoletes: %{mklibname xrxnest 0} < %{version}-%{release} |
28 |
Obsoletes: %{mklibname xrx -d} < %{version}-%{release} |
29 |
Obsoletes: %{mklibname xrx -d -s} < %{version}-%{release} |
30 |
|
31 |
%description plugin |
32 |
Mozilla-type browser plugins to allow the handling of documents in the |
33 |
RX MIME type format to start remote applications. |
34 |
|
35 |
%prep |
36 |
%setup -q -n %{name}-%{version} |
37 |
|
38 |
%build |
39 |
%configure2_5x --x-includes=%{_includedir}\ |
40 |
--x-libraries=%{_libdir} |
41 |
|
42 |
%make |
43 |
|
44 |
%install |
45 |
rm -rf %{buildroot} |
46 |
%makeinstall_std |
47 |
|
48 |
mkdir -p %{buildroot}%{_libdir}/mozilla/plugins |
49 |
mv %{buildroot}%{_libdir}/*.so %{buildroot}%{_libdir}/mozilla/plugins |
50 |
rm -f %{buildroot}%{_libdir}/*.*a |
51 |
|
52 |
%clean |
53 |
rm -rf %{buildroot} |
54 |
|
55 |
%files |
56 |
%defattr(-,root,root) |
57 |
%{_bindir}/xrx |
58 |
%{_mandir}/man1/xrx.1* |
59 |
|
60 |
%files plugin |
61 |
%defattr(-,root,root,-) |
62 |
%{_libdir}/mozilla/plugins/*.so |
63 |
%{_mandir}/man1/libxrx.1* |
64 |
|
65 |
|
66 |
|