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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 35036 by pterjan, Sun Jan 23 18:58:04 2011 UTC revision 37315 by pterjan, Mon Jan 24 14:22:08 2011 UTC
# Line 1  Line 1 
1    %define build_plugin 0
2    
3  Name:           xrx  Name:           xrx
4  Version:        1.0.4  Version:        1.0.4
5  Release:        %{mkrel 1}  Release:        %{mkrel 1}
# Line 13  BuildRequires: libxt-devel >= 1.0.0 Line 15  BuildRequires: libxt-devel >= 1.0.0
15  BuildRequires:  libxaw-devel >= 1.0.1  BuildRequires:  libxaw-devel >= 1.0.1
16  BuildRequires:  x11-util-macros >= 1.0.1  BuildRequires:  x11-util-macros >= 1.0.1
17  BuildRequires:  x11-xtrans-devel >= 1.0.0  BuildRequires:  x11-xtrans-devel >= 1.0.0
18    %if %build_plugin
19  # for npapi.h  # for npapi.h
20  BuildRequires:  xulrunner-devel  BuildRequires:  xulrunner-devel
21    %endif
22    
23  %description  %description
24  The xrx helper program may be used with any Web browser to interpret documents  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.  in the RX MIME type format and start remote applications.
26    
27    %if %build_plugin
28  %package plugin  %package plugin
29  Group:          Development/X11  Group:          Development/X11
30  Summary:        RX browser plugins  Summary:        RX browser plugins
# Line 31  Obsoletes:     %{mklibname xrx -d -s} < %{ve Line 36  Obsoletes:     %{mklibname xrx -d -s} < %{ve
36  %description plugin  %description plugin
37  Mozilla-type browser plugins to allow the handling of documents in the  Mozilla-type browser plugins to allow the handling of documents in the
38  RX MIME type format to start remote applications.  RX MIME type format to start remote applications.
39    %endif
40    
41  %prep  %prep
42  %setup -q -n %{name}-%{version}  %setup -q -n %{name}-%{version}
# Line 45  RX MIME type format to start remote appl Line 51  RX MIME type format to start remote appl
51  rm -rf %{buildroot}  rm -rf %{buildroot}
52  %makeinstall_std  %makeinstall_std
53    
54    %if %build_plugin
55  mkdir -p %{buildroot}%{_libdir}/mozilla/plugins  mkdir -p %{buildroot}%{_libdir}/mozilla/plugins
56  mv %{buildroot}%{_libdir}/*.so %{buildroot}%{_libdir}/mozilla/plugins  mv %{buildroot}%{_libdir}/*.so %{buildroot}%{_libdir}/mozilla/plugins
57    %endif
58    
59  rm -f %{buildroot}%{_libdir}/*.*a  rm -f %{buildroot}%{_libdir}/*.*a
60    
61  %clean  %clean
# Line 57  rm -rf %{buildroot} Line 66  rm -rf %{buildroot}
66  %{_bindir}/xrx  %{_bindir}/xrx
67  %{_mandir}/man1/xrx.1*  %{_mandir}/man1/xrx.1*
68    
69    %if %build_plugin
70  %files plugin  %files plugin
71  %defattr(-,root,root,-)  %defattr(-,root,root,-)
72  %{_libdir}/mozilla/plugins/*.so  %{_libdir}/mozilla/plugins/*.so
73  %{_mandir}/man1/libxrx.1*  %{_mandir}/man1/libxrx.1*
74    %endif
75    
76    

Legend:
Removed from v.35036  
changed lines
  Added in v.37315

  ViewVC Help
Powered by ViewVC 1.1.30