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