59 lines
1.8 KiB
RPMSpec
59 lines
1.8 KiB
RPMSpec
|
Name: xv
|
||
|
Version: 3.10a
|
||
|
Release: 1mamba
|
||
|
Summary: An interactive image manipulation program for the X Window System
|
||
|
Group: Graphical Desktop/Applications/Graphics
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: http://www.trilon.com/xv/
|
||
|
Source: ftp://ftp.trilon.com/pub/xv/xv-%{version}.tar.gz
|
||
|
Patch0: xv-3.10a-glibc-2.13.patch
|
||
|
License: Distributable
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libX11-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
xv is an interactive image manipulation program for the X Window System. It can operate on images in the GIF, JPEG, TIFF, PBM, PGM, PPM, XPM, X11 bitmap, Sun Rasterfile, Targa, RLE, RGB, BMP, PCX, FITS, and PM formats on all known types of X displays. It can generate PostScript files, and if you have ghostscript (version 2.6 or above) installed on your machine, it can also display them.
|
||
|
|
||
|
%debug_package
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
%patch0 -p1
|
||
|
|
||
|
%build
|
||
|
%make -j1
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
install -d -m0755 %{buildroot}{%{_bindir},%{_mandir}/man1,%{_libdir}}
|
||
|
%makeinstall \
|
||
|
BINDIR=%{buildroot}%{_bindir} \
|
||
|
MANDIR=%{buildroot}%{_mandir}/man1 \
|
||
|
LIBDIR=%{buildroot}%{_libdir}
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_bindir}/bggen
|
||
|
%{_bindir}/vdcomp
|
||
|
%{_bindir}/xcmap
|
||
|
%{_bindir}/xv
|
||
|
%{_bindir}/xvpictoppm
|
||
|
%{_libdir}/xvdocs.ps
|
||
|
%{_mandir}/man1/bggen.1.gz
|
||
|
%{_mandir}/man1/vdcomp.1.gz
|
||
|
%{_mandir}/man1/xcmap.1.gz
|
||
|
%{_mandir}/man1/xv.1.gz
|
||
|
%{_mandir}/man1/xvpictoppm.1.gz
|
||
|
|
||
|
%changelog
|
||
|
* Fri Feb 01 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 3.10a-1mamba
|
||
|
- package created by silvan using the webbuild interface
|