/[packages]/cauldron/xrx/current/SPECS/xrx.spec
ViewVC logotype

Contents of /cauldron/xrx/current/SPECS/xrx.spec

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.30