blob: 0ee91b3659e594d1394d7a6575543eb02a77ea98 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
|
Name: fbida
License: GPLv2+
Version: 2.13
Release: 1%{?dist}
Summary: fbida
Group: Applications/Multimedia
URL: http://www.kraxel.org/blog/linux/%{name}/
Source: http://www.kraxel.org/releases/%{name}/%{name}-%{version}.tar.gz
# meson
BuildRequires: meson ninja-build
# image format libs
BuildRequires: libjpeg-devel
BuildRequires: libpcd-devel
BuildRequires: pkgconfig(libexif)
BuildRequires: pkgconfig(libpng)
BuildRequires: pkgconfig(libtiff-4)
BuildRequires: pkgconfig(libwebp)
BuildRequires: pkgconfig(pixman-1)
# ida
BuildRequires: motif-devel
BuildRequires: libXpm-devel
BuildRequires: libXt-devel
BuildRequires: libX11-devel
# fbi + fbpdf
BuildRequires: pkgconfig(freetype2)
BuildRequires: pkgconfig(fontconfig)
BuildRequires: pkgconfig(libdrm)
BuildRequires: pkgconfig(poppler-glib)
BuildRequires: pkgconfig(gbm)
BuildRequires: pkgconfig(egl)
BuildRequires: pkgconfig(epoxy)
BuildRequires: pkgconfig(cairo-gl)
%description
fbida
%package -n fbi
Summary: Framebuffer image viewer
%description -n fbi
fbi displays images on the linux console using fbdev or drm.
%package -n fbpdf
Summary: Framebuffer pdf viewer
Group: Applications/Productivity
%description -n fbpdf
fbpdf displays pdf files on the linux console using fbdev or drm.
%package -n ida
Summary: Motif image viewer
%description -n ida
ida is a motif-based image viewer for X11.
%package -n exiftran
Summary: exiftran
%description -n exiftran
Exiftran is a command line utility to transform digital camera jpeg
images. It can do lossless rotations like jpegtran, but unlike
jpegtran it also handles the exif metadata.
%prep
%setup -q
%build
export CFLAGS="%{optflags}"
meson --prefix=%{_prefix} build-rpm
ninja-build -C build-rpm
%install
export DESTDIR=%{buildroot}
ninja-build -C build-rpm install
%files -n fbi
%doc COPYING
%{_bindir}/fbi
%{_bindir}/fbgs
%{_mandir}/man1/fbi.1*
%{_mandir}/man1/fbgs.1*
%files -n fbpdf
%doc COPYING
%{_bindir}/fbpdf
%files -n ida
%doc COPYING
%{_bindir}/ida
%{_mandir}/man1/ida.1*
/usr/share/X11/app-defaults/Ida
%files -n exiftran
%doc COPYING
%{_bindir}/exiftran
%{_mandir}/man1/exiftran.1*
%changelog
* Wed Feb 22 2017 Gerd Hoffmann <kraxel@redhat.com> 2.13-1
- new package built with tito
|