automatic version update by autodist [release 2.2.1-1mamba;Mon Nov 25 2024]

This commit is contained in:
Automatic Build System 2024-11-27 01:00:56 +01:00
parent 22d83acf35
commit 121f3c223f

View File

@ -1,6 +1,6 @@
%define pkgver %(echo %version | tr _ -) %define pkgver %(echo %version | tr _ -)
Name: guvcview Name: guvcview
Version: 2.1.0 Version: 2.2.1
Release: 1mamba Release: 1mamba
Summary: A simple GTK interface for capturing and viewing video from devices supported by the linux UVC driver Summary: A simple GTK interface for capturing and viewing video from devices supported by the linux UVC driver
Group: Graphical Desktop/Applications/Multimedia Group: Graphical Desktop/Applications/Multimedia
@ -15,24 +15,22 @@ BuildRequires: glibc-devel
BuildRequires: libSDL2-devel BuildRequires: libSDL2-devel
BuildRequires: libalsa-devel BuildRequires: libalsa-devel
BuildRequires: libat-spi2-core-devel BuildRequires: libat-spi2-core-devel
BuildRequires: libavcodec-ffmpeg-devel BuildRequires: libavcodec-devel
BuildRequires: libavutil-ffmpeg-devel BuildRequires: libavutil-devel
BuildRequires: libcairo-devel BuildRequires: libcairo-devel
BuildRequires: libgcc
BuildRequires: libgdk-pixbuf-devel BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel BuildRequires: libglib-devel
BuildRequires: libgsl-devel BuildRequires: libgsl-devel
BuildRequires: libgtk3-devel BuildRequires: libgtk3-devel
BuildRequires: libharfbuzz-devel BuildRequires: libharfbuzz-devel
BuildRequires: libjack-devel
BuildRequires: libpango-devel BuildRequires: libpango-devel
BuildRequires: libpng-devel BuildRequires: libpng-devel
BuildRequires: libportaudio-devel BuildRequires: libportaudio-devel
BuildRequires: libpulseaudio-devel BuildRequires: libpulseaudio-devel
BuildRequires: libstdc++6-devel
BuildRequires: libudev-devel BuildRequires: libudev-devel
BuildRequires: libusb-devel BuildRequires: libusb-devel
BuildRequires: libv4l-devel BuildRequires: libv4l-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
@ -58,20 +56,17 @@ This package contains libraries and header files for developing applications tha
%prep %prep
%setup -q -n guvcview-src-%{version} %setup -q -n guvcview-src-%{version}
./bootstrap.sh
%build %build
%configure %cmake
%make
%cmake_build
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall %cmake_install
%find_lang %{name} %find_lang %{name} --all-name
%find_lang gview_v4l2core
cat gview_v4l2core.lang >> %{name}.lang
rm -rf %{buildroot}%{_datadir}/doc/guvcview rm -rf %{buildroot}%{_datadir}/doc/guvcview
@ -81,47 +76,30 @@ rm -rf %{buildroot}%{_datadir}/doc/guvcview
%files -f %{name}.lang %files -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/guvcview %{_bindir}/guvcview
%{_datadir}/metainfo/guvcview.appdata.xml
%{_datadir}/applications/guvcview.desktop %{_datadir}/applications/guvcview.desktop
%{_datadir}/menu/guvcview %{_datadir}/appdata/guvcview.appdata.xml
%dir %{_datadir}/pixmaps/guvcview %{_datadir}/pixmaps/guvcview.png
%{_datadir}/pixmaps/guvcview/*.png %{_mandir}/man1/guvcview.1*
%{_mandir}/man1/guvcview.1.gz
%files -n lib%{name} %files -n lib%{name}
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libgviewaudio-*.so.* %{_libdir}/libgviewaudio.so.*
%{_libdir}/libgviewencoder-*.so.* %{_libdir}/libgviewencoder.so.*
%{_libdir}/libgviewrender-*.so.* %{_libdir}/libgviewrender.so.*
%{_libdir}/libgviewv4l2core-*.so.* %{_libdir}/libgviewv4l2core.so.*
%doc AUTHORS COPYING %doc AUTHORS COPYING
%files -n lib%{name}-devel %files -n lib%{name}-devel
%defattr(-,root,root) %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}/libgviewaudio.so
%{_libdir}/libgviewencoder.a
%{_libdir}/libgviewencoder.so %{_libdir}/libgviewencoder.so
%{_libdir}/libgviewrender.a
%{_libdir}/libgviewrender.so %{_libdir}/libgviewrender.so
%{_libdir}/libgviewv4l2core.a
%{_libdir}/libgviewv4l2core.so %{_libdir}/libgviewv4l2core.so
%{_libdir}/pkgconfig/libgviewaudio.pc
%{_libdir}/pkgconfig/libgviewencoder.pc
%{_libdir}/pkgconfig/libgviewrender.pc
%{_libdir}/pkgconfig/libgviewv4l2core.pc
%changelog %changelog
* Mon Nov 25 2024 Automatic Build System <autodist@openmamba.org> 2.2.1-1mamba
- automatic version update by autodist
* Thu Mar 14 2024 Automatic Build System <autodist@openmamba.org> 2.1.0-1mamba * Thu Mar 14 2024 Automatic Build System <autodist@openmamba.org> 2.1.0-1mamba
- automatic version update by autodist - automatic version update by autodist