-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathfbida.spec
150 lines (131 loc) · 4.52 KB
/
fbida.spec
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
Name: fbida
License: GPLv2+
Version: 2.14
Release: 1%{?dist}
Summary: fbida
URL: http://www.kraxel.org/blog/linux/%{name}/
Source: http://www.kraxel.org/releases/%{name}/%{name}-%{version}.tar.gz
# meson
BuildRequires: gcc perl
BuildRequires: meson ninja-build
# image format libs
BuildRequires: libjpeg-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(cairo)
BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(libinput)
BuildRequires: pkgconfig(xkbcommon)
%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
%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 setup --prefix=%{_prefix} build-rpm
meson configure build-rpm -Dmotif=enabled
meson configure build-rpm
ninja-build -C build-rpm
%install
export DESTDIR=%{buildroot}
ninja-build -C build-rpm install
# add fbgs
cp fbgs %{buildroot}%{_bindir}
cp man/fbgs.1 %{buildroot}%{_mandir}/man1
%files -n fbi
%doc COPYING README.md
%{_bindir}/fbi
%{_bindir}/fbgs
%{_mandir}/man1/fbi.1*
%{_mandir}/man1/fbgs.1*
%files -n fbpdf
%doc COPYING README.md
%{_bindir}/fbpdf
%files -n ida
%doc COPYING README.ida
%{_bindir}/ida
%{_mandir}/man1/ida.1*
/usr/share/X11/app-defaults/Ida
%files -n exiftran
%doc COPYING README.md
%{_bindir}/exiftran
%{_mandir}/man1/exiftran.1*
%changelog
* Wed Aug 30 2017 Gerd Hoffmann <[email protected]> 2.14-1
- meson. fix app defaults install ([email protected])
- spec: install fbgs ([email protected])
- switch specfile to meson ([email protected])
- fix ps writer gcc7 warning ([email protected])
- meson: conditionally build ida ([email protected])
- meson: install app defaults file ([email protected])
- jpeg-version: add cflags to cpp cmd line ([email protected])
- meson: initial install support ([email protected])
- move & rename manpages ([email protected])
- deprecate curl, sane and lirc support ([email protected])
- meson: tag as python for emacs ([email protected])
- meson: add ida ([email protected])
- meson: minor reordering ([email protected])
- move blob hexifxing to script ([email protected])
- pass filenames as args to fallback.pl ([email protected])
- move fallback.pl to scripts ([email protected])
- meson: add thumbnail.cgi ([email protected])
- meson: add exiftran ([email protected])
- meson: fix cairo deps ([email protected])
- meson: add cairo-gl detection ([email protected])
- meson: add jpeg version detection ([email protected])
- move libjpeg version detect to script ([email protected])
- meson: add pcd + gif ([email protected])
- meson: add webp ([email protected])
- meson: add kbdtest ([email protected])
- meson: add fbpdf ([email protected])
- meson: start build file ([email protected])
- drop strsignal detection ([email protected])
- invert partial fix ([email protected])
- fix flip & rotate ([email protected])
- fix exiftran build ([email protected])
- update buildreq in specfile ([email protected])
- use pixman images for storage ([email protected])
- add egl pkg-config ([email protected])
- make cairo-gl a compile time option ([email protected])
- zap HAVE_LIBTIFF, tiff is a hard dependency now ([email protected])
- zap HAVE_LIBPNG, png is a hard dependency now ([email protected])
- zap HAVE_NEW_EXIF ([email protected])
- zap HAVE_ENDIAN_H ([email protected])
- use eglGetPlatformDisplayEXT if available ([email protected])
- add 'make apt-get' ([email protected])
- fix debian/ubuntu build issue ([email protected])
- sync maintainer makefiles ([email protected])
- tito: add VERSION.template ([email protected])
* Wed Feb 22 2017 Gerd Hoffmann <[email protected]> 2.13-1
- new package built with tito