2024-01-05 23:35:35 +01:00
|
|
|
%define pkgver %(echo %version | tr _ -)
|
2024-01-05 23:35:35 +01:00
|
|
|
Name: guvcview
|
2024-03-14 10:03:15 +01:00
|
|
|
Version: 2.1.0
|
2024-01-05 23:35:35 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 23:35:35 +01:00
|
|
|
Summary: A simple GTK interface for capturing and viewing video from devices supported by the linux UVC driver
|
|
|
|
Group: Graphical Desktop/Applications/Multimedia
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-03-14 10:03:15 +01:00
|
|
|
URL: https://guvcview.sourceforge.net/
|
2024-01-05 23:35:35 +01:00
|
|
|
Source: https://sourceforge.net/projects/guvcview/files/source/guvcview-src-%{pkgver}.tar.bz2
|
2024-01-05 23:35:35 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-05 23:35:35 +01:00
|
|
|
BuildRequires: libSDL2-devel
|
|
|
|
BuildRequires: libalsa-devel
|
2024-03-14 10:03:15 +01:00
|
|
|
BuildRequires: libat-spi2-core-devel
|
2024-01-05 23:35:35 +01:00
|
|
|
BuildRequires: libavcodec-ffmpeg-devel
|
|
|
|
BuildRequires: libavutil-ffmpeg-devel
|
|
|
|
BuildRequires: libcairo-devel
|
2024-01-05 23:35:35 +01:00
|
|
|
BuildRequires: libgcc
|
2024-01-05 23:35:35 +01:00
|
|
|
BuildRequires: libgdk-pixbuf-devel
|
|
|
|
BuildRequires: libglib-devel
|
2024-01-05 23:35:35 +01:00
|
|
|
BuildRequires: libgsl-devel
|
|
|
|
BuildRequires: libgtk3-devel
|
|
|
|
BuildRequires: libharfbuzz-devel
|
|
|
|
BuildRequires: libjack-devel
|
2024-01-05 23:35:35 +01:00
|
|
|
BuildRequires: libpango-devel
|
|
|
|
BuildRequires: libpng-devel
|
|
|
|
BuildRequires: libportaudio-devel
|
|
|
|
BuildRequires: libpulseaudio-devel
|
2024-01-05 23:35:35 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libudev-devel
|
|
|
|
BuildRequires: libusb-devel
|
2024-01-05 23:35:35 +01:00
|
|
|
BuildRequires: libv4l-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 23:35:35 +01:00
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-05 23:35:35 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
A simple GTK interface for capturing and viewing video from devices supported by the linux UVC driver, although it should also work with any v4l2 compatible device.
|
|
|
|
|
2024-01-05 23:35:35 +01:00
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Shared libraries for %{name}
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
This package contains shared libraries for %{name}.
|
|
|
|
|
|
|
|
%package -n lib%{name}-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n lib%{name}-devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
2024-01-05 23:35:35 +01:00
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
2024-01-05 23:35:35 +01:00
|
|
|
%setup -q -n guvcview-src-%{version}
|
2024-01-05 23:35:35 +01:00
|
|
|
./bootstrap.sh
|
2024-01-05 23:35:35 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%find_lang %{name}
|
2024-01-05 23:35:35 +01:00
|
|
|
%find_lang gview_v4l2core
|
|
|
|
|
|
|
|
cat gview_v4l2core.lang >> %{name}.lang
|
|
|
|
|
|
|
|
rm -rf %{buildroot}%{_datadir}/doc/guvcview
|
2024-01-05 23:35:35 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/guvcview
|
2024-01-05 23:35:35 +01:00
|
|
|
%{_datadir}/metainfo/guvcview.appdata.xml
|
2024-01-05 23:35:35 +01:00
|
|
|
%{_datadir}/applications/guvcview.desktop
|
|
|
|
%{_datadir}/menu/guvcview
|
|
|
|
%dir %{_datadir}/pixmaps/guvcview
|
|
|
|
%{_datadir}/pixmaps/guvcview/*.png
|
|
|
|
%{_mandir}/man1/guvcview.1.gz
|
2024-01-05 23:35:35 +01:00
|
|
|
|
|
|
|
%files -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 23:35:35 +01:00
|
|
|
%{_libdir}/libgviewaudio-*.so.*
|
|
|
|
%{_libdir}/libgviewencoder-*.so.*
|
|
|
|
%{_libdir}/libgviewrender-*.so.*
|
|
|
|
%{_libdir}/libgviewv4l2core-*.so.*
|
2024-01-05 23:35:35 +01:00
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
2024-01-05 23:35:35 +01:00
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/guvcview-2
|
|
|
|
%dir %{_includedir}/guvcview-2/libgviewaudio
|
|
|
|
%{_includedir}/guvcview-2/libgviewaudio/gviewaudio.h
|
|
|
|
%dir %{_includedir}/guvcview-2/libgviewencoder
|
|
|
|
%{_includedir}/guvcview-2/libgviewencoder/gviewencoder.h
|
|
|
|
%dir %{_includedir}/guvcview-2/libgviewrender
|
|
|
|
%{_includedir}/guvcview-2/libgviewrender/gviewrender.h
|
|
|
|
%dir %{_includedir}/guvcview-2/libgviewv4l2core
|
|
|
|
%{_includedir}/guvcview-2/libgviewv4l2core/gview.h
|
|
|
|
%{_includedir}/guvcview-2/libgviewv4l2core/gviewv4l2core.h
|
|
|
|
%{_libdir}/libgviewaudio.a
|
|
|
|
%{_libdir}/libgviewaudio.so
|
|
|
|
%{_libdir}/libgviewencoder.a
|
|
|
|
%{_libdir}/libgviewencoder.so
|
|
|
|
%{_libdir}/libgviewrender.a
|
|
|
|
%{_libdir}/libgviewrender.so
|
|
|
|
%{_libdir}/libgviewv4l2core.a
|
|
|
|
%{_libdir}/libgviewv4l2core.so
|
|
|
|
%{_libdir}/pkgconfig/libgviewaudio.pc
|
|
|
|
%{_libdir}/pkgconfig/libgviewencoder.pc
|
|
|
|
%{_libdir}/pkgconfig/libgviewrender.pc
|
|
|
|
%{_libdir}/pkgconfig/libgviewv4l2core.pc
|
|
|
|
|
2024-01-05 23:35:35 +01:00
|
|
|
%changelog
|
2024-03-14 10:03:15 +01:00
|
|
|
* Thu Mar 14 2024 Automatic Build System <autodist@openmamba.org> 2.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:35:35 +01:00
|
|
|
* Mon May 09 2022 Automatic Build System <autodist@mambasoft.it> 2.0.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:35:35 +01:00
|
|
|
* Sun Dec 26 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.7_2-1mamba
|
|
|
|
- update to 2.0.7_2
|
|
|
|
|
2024-01-05 23:35:35 +01:00
|
|
|
* Tue Dec 11 2018 Automatic Build System <autodist@mambasoft.it> 2.0.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:35:35 +01:00
|
|
|
* Wed Mar 15 2017 Automatic Build System <autodist@mambasoft.it> 2.0.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:35:35 +01:00
|
|
|
* Mon Feb 29 2016 Automatic Build System <autodist@mambasoft.it> 2.0.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:35:35 +01:00
|
|
|
* Thu Oct 16 2014 Automatic Build System <autodist@mambasoft.it> 2.0.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:35:35 +01:00
|
|
|
* Thu May 15 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7.3-2mamba
|
|
|
|
- ffmpeg 2.2 rebuild
|
|
|
|
|
2024-01-05 23:35:35 +01:00
|
|
|
* Wed Feb 19 2014 Automatic Build System <autodist@mambasoft.it> 1.7.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Dec 12 2013 Automatic Build System <autodist@mambasoft.it> 1.7.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Jul 22 2013 Automatic Build System <autodist@mambasoft.it> 1.7.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Apr 15 2013 Automatic Build System <autodist@mambasoft.it> 1.7.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Dec 23 2012 Automatic Build System <autodist@mambasoft.it> 1.6.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Aug 03 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.0-1mamba
|
|
|
|
- package created by autospec
|