77 lines
2.2 KiB
RPMSpec
77 lines
2.2 KiB
RPMSpec
Name: xv
|
|
Version: 5.0.0
|
|
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: https://github.com/jasper-software/xv.git/v%{version}/xv-%{version}.tar.bz2
|
|
Patch0: xv-3.10a-glibc-2.13.patch
|
|
License: Distributable
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libICE-devel
|
|
BuildRequires: libSM-devel
|
|
BuildRequires: libX11-devel
|
|
BuildRequires: libXt-devel
|
|
BuildRequires: libjasper-devel
|
|
BuildRequires: libjpeg-devel
|
|
BuildRequires: libpng-devel
|
|
BuildRequires: libtiff-devel
|
|
BuildRequires: libwebp-devel
|
|
BuildRequires: libz-devel
|
|
## AUTOBUILDREQ-END
|
|
|
|
%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
|
|
#%patch 0 -p1
|
|
|
|
%build
|
|
%cmake -d build \
|
|
-DCMAKE_INSTALL_SYSCONFDIR=%{_sysconfdir}
|
|
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall -C build
|
|
|
|
%find_lang %{name} --with-man --all-name
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files -f %{name}.lang
|
|
%defattr(-,root,root)
|
|
%config %{_sysconfdir}/xv_mgcsfx
|
|
%{_bindir}/bggen
|
|
%{_bindir}/vdcomp
|
|
%{_bindir}/xcmap
|
|
%{_bindir}/xv
|
|
%{_bindir}/xvpictoppm
|
|
%{_mandir}/man1/bggen.1*
|
|
%{_mandir}/man1/vdcomp.1*
|
|
%{_mandir}/man1/xcmap.1*
|
|
%{_mandir}/man1/xv.1*
|
|
%{_mandir}/man1/xvpictoppm.1*
|
|
%dir %{_docdir}/xv
|
|
%{_docdir}/xv/*
|
|
%doc LICENSE.txt
|
|
|
|
%changelog
|
|
* Thu Feb 08 2024 Automatic Build System <autodist@openmamba.org> 5.0.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Jul 23 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 4.2.0-1mamba
|
|
- update to 4.2.0
|
|
|
|
* Fri Feb 01 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 3.10a-1mamba
|
|
- package created by silvan using the webbuild interface
|