]>
Commit | Line | Data |
---|---|---|
1 | Summary: Simple viewer of images (pbm-raw) and front end for GhostScript based on SVGAlib | |
2 | Summary(pl.UTF-8): 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: 3 | |
6 | Vendor: Jan Kybic <kybic@earn.cvut.cz> | |
7 | Group: Applications/Publishing | |
8 | License: GPL | |
9 | Source0: ftp://sunsite.unc.edu/pub/Linux/apps/graphics/viewers/svga/%{name}-%{version}.tgz | |
10 | # Source0-md5: 40c881800edac6b1d2ce75ea8da6e6b4 | |
11 | Patch0: %{name}-glibc.patch | |
12 | BuildRequires: svgalib-devel | |
13 | Requires: ghostscript | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %description | |
17 | BMV is a front end for GhostScript. Using BMV you can now preview | |
18 | your PostScript files comfortably. It uses SVGAlib and it is intended | |
19 | for Linux users who cannot run X. It is particularly suitable for | |
20 | previewing PS files from dvips. It is small and fast. | |
21 | ||
22 | %description -l pl.UTF-8 | |
23 | Przeglądarka BMV jest frontendem dla GhostScriptu. Korzystając z niej | |
24 | możesz oglądać pliki PostScript poprzez bibliotekę svgalib - bez X. | |
25 | Jest mała i szybka. | |
26 | ||
27 | %prep | |
28 | %setup -q | |
29 | %patch0 -p1 | |
30 | ||
31 | %build | |
32 | %{__make} \ | |
33 | CC="%{__cc} -DCOLOUR" \ | |
34 | CFLAGS="%{rpmcflags} %{!?debug:-fomit-frame-pointer}" | |
35 | ||
36 | %install | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | install -d $RPM_BUILD_ROOT%{_bindir} | |
39 | ||
40 | install bmv $RPM_BUILD_ROOT%{_bindir} | |
41 | ||
42 | %clean | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %files | |
46 | %defattr(644,root,root,755) | |
47 | %doc bmv.{CHANGES,README} | |
48 | %attr(755,root,root) %{_bindir}/bmv |