]> git.pld-linux.org Git - packages/djview.git/blob - djview.spec
- removed two lines with define
[packages/djview.git] / djview.spec
1 Summary:        DjVu Viewer
2 Summary(pl):    Przegl±darka plików DjVu
3 Name:           djview
4 Version:        3.2.5.3
5 Release:        1
6 Group:          X11/Applications/Graphics
7 License:        non-distributable, no source
8 Source0:        djvu_lin.tar.gz
9 NoSource:       0
10 URL:            http://www.djvu.att.com/
11 ExclusiveArch:  %{ix86}
12 Requires:       XFree86-libs
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15
16 %description
17 DjVu Viewer.
18
19 %description -l pl
20 Przegl±dardka plików DjVu.
21
22 %package netscape
23 Summary:        DjVu plugin for Netscape 4.x
24 Summary(pl):    Wtyczka DjVu do Netscape 4.x
25 Group:          X11/Applications/Graphics
26 Requires:       %{name} = %{version}
27 Requires:       netscape-common >= 4.0
28
29 %description netscape
30 DjVu plugin for Netscape 4.x.
31
32 %description netscape -l pl
33 Wtyczka DjVu do Netscape 4.x.
34
35 %prep
36 %setup -q -n npdjvu-%{version}
37
38 %build
39 ./install --extract
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/netscape/plugins}
44
45 install TRUE/djview $RPM_BUILD_ROOT%{_bindir}
46 install TRUE/nsdejavu_libc6.so $RPM_BUILD_ROOT%{_libdir}/netscape/plugins
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc README.txt TRUE/{license.txt,*.html,*.jpg,*.djvu}
54 %attr(755,root,root) %{_bindir}/*
55
56 %files netscape
57 %defattr(644,root,root,755)
58 %attr(755,root,root) %{_libdir}/netscape/plugins/*.so
This page took 0.092042 seconds and 3 git commands to generate.