]> git.pld-linux.org Git - packages/bmv.git/blob - bmv.spec
192c39dc8624d56b1568374e36969e04d41995c5
[packages/bmv.git] / bmv.spec
1 Summary:        Simple viewer of images (pbm-raw) and front end for GhostScript based on SVGAlib 
2 Summary(pl):    Prosta przegl±darka plików graficznych (pbm-raw) oraz frontend do GhostScriptu bazuj±cy na SVGAlib
3 Name:           bmv
4 Version:        1.2
5 Release:        2
6 Vendor:         Jan Kybic <kybic@earn.cvut.cz>
7 Group:          Applications/Publishing
8 Group(de):      Applikationen/Publizieren
9 Group(pl):      Aplikacje/Publikowanie
10 License:        GPL
11 Source0:        ftp://sunsite.unc.edu/pub/Linux/apps/graphics/viewers/svga/%{name}-%{version}.tgz
12 Patch0:         %{name}-glibc.patch
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 BuildRequires:  svgalib-devel
15 Requires:       ghostscript
16
17 %description
18 BMV is a front end for GhostScript. Using BMV you can now preview your
19 PostScript files comfortably. It uses SVGAlib and it is intended for
20 Linux users who cannot run X. It is particulary suitable for
21 previewing PS files from dvips. It is small and fast.
22
23 %description -l pl
24 Przegl±darka BMV jest fontendem dla GhostScriptu. Korzystaj±c z niej
25 mo¿esz ogl±daæ pliki PostScript poprzez bibliotekê svgalib - bez X.
26 Jest ma³a i szybka.
27
28 %prep
29 %setup -q
30 %patch -p1
31
32 %build
33 %{__make} \
34         CC="%{__cc} -DCOLOUR" \
35         CFLAGS="%{rpmcflags} %{!?debug:-fomit-frame-pointer}"
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT%{_bindir}
40 install bmv $RPM_BUILD_ROOT%{_bindir}
41 gzip -9nf bmv.{CHANGES,README}
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc *.gz
49 %attr(755,root,root) %{_bindir}/bmv
This page took 0.039996 seconds and 2 git commands to generate.