-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy patharavis-0.6.spec
205 lines (167 loc) · 6.7 KB
/
aravis-0.6.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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
%global majorversion 0.6
Name: aravis-%{majorversion}
Version: 0.6.4
Release: 1%{?dist}
Summary: Aravis digital video camera acquisition library
Group: Development/Libraries
License: GPLv2+
URL: https://github.com/AravisProject/aravis
Source0: https://ftp.gnome.org/pub/gnome/sources/aravis/0.6/aravis-%{version}.tar.xz
BuildRequires: desktop-file-utils
BuildRequires: intltool
BuildRequires: gobject-introspection-devel
BuildRequires: pkgconfig(glib-2.0) >= 2.26
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(gthread-2.0)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(libnotify)
BuildRequires: pkgconfig(gstreamer-base-1.0) >= 1.0
BuildRequires: pkgconfig(gstreamer-app-1.0)
BuildRequires: pkgconfig(libusb-1.0)
BuildRequires: pkgconfig(audit)
Requires: glib2 >= 2.26
Requires: libxml2
%description
Aravis is a glib/gobject based library for video acquisition using Genicam cameras. It currently implements the gigabit ethernet and USB3 protocols used by industrial cameras.
%package devel
Summary: Aravis digital video camera acquisition library -- Development files
Group: Development/Libraries
Requires: %{name} = %{version}
Requires: pkgconfig(glib-2.0) >= 2.26
Requires: pkgconfig(gobject-2.0)
Requires: pkgconfig(gio-2.0)
Requires: pkgconfig(libxml-2.0)
Requires: pkgconfig(gthread-2.0)
%description devel
Aravis is a glib/gobject based library for video acquisition using Genicam cameras. It currently implements the gigabit ethernet and USB3 protocols used by industrial cameras.
This package contains the development files for Aravis.
%package viewer
Summary: Aravis digital video camera acquisition library -- Viewer
Group: Development/Libraries
Requires: %{name} = %{version}
Requires: libnotify
Requires: gtk3
Requires: gstreamer1-plugins-base
Requires: gstreamer1-plugins-good
Requires: gstreamer1-plugins-bad-free
Obsoletes: aravis-0.4-viewer
%description viewer
Aravis is a glib/gobject based library for video acquisition using Genicam cameras. It currently implements the gigabit ethernet and USB3 protocols used by industrial cameras.
This package contains the simple video viewer application.
%package static
Summary: Aravis digital video camera acquisition library -- Static development files
Group: Development/Libraries
Requires: %{name} = %{version}
%description static
Aravis is a glib/gobject based library for video acquisition using Genicam cameras. It currently implements the gigabit ethernet and USB3 protocols used by industrial cameras.
This package contains the static development files for Aravis.
%package gstreamer1
Summary: Aravis digital video camera acquisition library -- GStreamer 1.0 plugin
Group: Development/Libraries
Requires: %{name} = %{version}
Requires: gstreamer1-plugins-base
%description gstreamer1
Aravis is a glib/gobject based library for video acquisition using Genicam cameras. It currently implements the gigabit ethernet and USB3 protocols used by industrial cameras.
This package contains the GStreamer plugin.
%prep
%setup -q -n aravis-%{version}
%build
%configure --enable-usb --enable-packet-socket --enable-viewer --enable-gst-plugin --disable-gst-0.10-plugin
make %{?_smp_mflags}
%install
%make_install
%find_lang %{name}
desktop-file-install --vendor="" \
--dir=%{buildroot}%{_datadir}/applications/ \
%{buildroot}%{_datadir}/applications/arv-viewer.desktop
# remove .la files
find ${RPM_BUILD_ROOT} -type f -name "*.la" -exec rm -f {} ';'
%post viewer
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache -q %{_datadir}/icons/hicolor;
fi
update-mime-database %{_datadir}/mime &> /dev/null || :
update-desktop-database &> /dev/null || :
%postun viewer
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache -q %{_datadir}/icons/hicolor;
fi
update-mime-database %{_datadir}/mime &> /dev/null || :
update-desktop-database &> /dev/null || :
%files
%{_bindir}/arv-tool-%{majorversion}
%{_bindir}/arv-fake-gv-camera-%{majorversion}
%{_datadir}/%{name}/*.xml
%{_libdir}/lib%{name}*.so.*
%{_libdir}/girepository-1.0/*
%{_docdir}/aravis/%{name}
%{_mandir}/man1/arv-tool-0.6.1.gz
%files devel
%{_datadir}/gtk-doc/html/%{name}
%{_includedir}/%{name}
%{_libdir}/pkgconfig/*
%{_datadir}/gir-1.0/*
%{_libdir}/lib%{name}*.so
%files static
%{_libdir}/lib%{name}*.a
%files -f %{name}.lang viewer
%{_bindir}/arv-viewer
%{_datadir}/%{name}/*.ui
%{_datadir}/icons/hicolor/*/apps/*
%{_datadir}/icons/hicolor/*/devices/*
%{_datadir}/applications/arv-viewer.desktop
%{_datadir}/appdata/arv-viewer.appdata.xml
%{_mandir}/man1/arv-viewer.1.gz
%files gstreamer1
%{_libdir}/gstreamer-1.0/*
%changelog
* Tue Feb 05 2019 Emmanuel Pacaud <[email protected]> 0.6.1-1
- gigevision: auto-packet size negociation improvements
- gigevision: interface addess assignment improvement
- usb3vision: memory leak fixes
- usb3vision: payload size computation fixes
- camera: avoid clashes in device id generation
- genicam: signedness and endianness related fix
- usb3vision: chunk data support
- camera: matrix vision device support
- camera: PointGrey / FLIR renaming support
- i18n: czech and slovak translations
- build: remove libcap-ng dependency
* Fri Nov 10 2017 Emmanuel Pacaud <[email protected]> 0.5.10-1
- New upstream release
* Thu Mar 16 2017 Emmanuel Pacaud <[email protected]> 0.5.7-2
- Make viewer package obsolete 0.4 version
* Wed Feb 22 2017 Mark Harfouche <[email protected]> 0.5.7-1
- New upstream release
- Changing the name to aravis-0.6
- Enabled usb support
- Enabled packet-socket
* Wed Feb 22 2017 Mark Harfouche <[email protected]> 0.4.1-2
- Changing the name to aravis-0.4
* Sat Jan 17 2015 Emmanuel Pacaud <[email protected]> 0.3.7-1
- New upstream release
- genicam: fix accuracy of division of integers
- new arv_make_high_priority and arv_make_realtime API
- viewer: make stream thread realtime if possible
- camera: add GigEVision specific API for packet delay, packet size and stream selection
- gst_pugins: add a number of buffers property
- build fixes
- translation updates
* Sat Nov 15 2014 Emmanuel Pacaud <[email protected]> 0.3.6-1
- New upstream release
- camera: new abort_acquisition function
- gv_stream: missing frame detection fix
- buffer: user_data and frame_id accessors
- chunk_parser: bug fixes
- viewer: prevent use of broken coglsink from autovideosink
- translations: updates
* Wed Aug 20 2014 Emmanuel Pacaud <[email protected]> 0.3.5-1
- Update to aravis 0.3.5
- ArvChunkParser API for Chunk Data support
- Make ArvBuffer internal data private
* Fri Aug 15 2014 Emmanuel Pacaud <[email protected]> 0.3.4-2
- Fix aravis-viewer dependency