Package guvcview: Specfile
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 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 | %def_disable snapshot %def_enable pulse %define ver_major 2.1 %define api_ver_major 2 %define api_ver 2.2 %define enc_api_ver 2.2 %def_disable qt5 Name: guvcview Version: %ver_major.0 Release: alt1 Summary: A GTK UVC video viewer License: GPL-2.0-or-later Group: Video Url: http://%name.sourceforge.net/ %if_disabled snapshot Source: http://download.sourceforge.net/%name/%name-src-%version.tar.bz2 %else Vcs: git://git.code.sf.net/p/guvcview/git-master.git Source: %name-%version.tar %endif Requires: lib%name = %EVR BuildRequires: libSDL2-devel >= 2.0.0 BuildRequires: gcc-c++ glibc-kernheaders BuildRequires: desktop-file-utils intltool libappstream-glib-devel BuildRequires: libavutil-devel libavcodec-devel BuildRequires: libgtk+3-devel libportaudio2-devel BuildRequires: libv4l-devel libpng-devel libudev-devel libusb-devel BuildRequires: libgsl-devel %{?_enable_pulse:BuildRequires: libpulseaudio-devel} %{?_enable_qt5:BuildRequires: qt5-base-devel qt5-tools} %description This project aims at providing a simple GTK interface for capturing and viewing video from devices supported by the linux UVC driver. The software is based on luvcview but uses a GTK interface, allowing for a more user friendly GUI %package -n lib%name Summary: GTK UVC video viewer libraries Group: System/Libraries %description -n lib%name This project aims at providing a simple GTK interface for capturing and viewing video from devices supported by the linux UVC driver. The software is based on luvcview but uses a GTK interface, allowing for a more user friendly GUI. This package contains GTK UVC video viewer libraries. %package -n lib%name-devel Summary: GTK UVC video viewer development files Group: Development/C Requires: lib%name = %EVR %description -n lib%name-devel This package contains files necessary to develop applications that use %name libraries. %prep %setup -n %name%{?_disable_snapshot:-src}-%version %build %{?_enable_qt5: export ac_cv_prog_MOC=%_bindir/moc-qt5} %autoreconf %configure \ --disable-static \ --disable-debian-menu \ %{?_disable_pulse:--enable-pulse=no} \ %{subst_enable qt5} %make_build %install %makeinstall_std mkdir -p %buildroot%_niconsdir install -p -m644 %buildroot%_pixmapsdir/guvcview/guvcview.png %buildroot%_niconsdir/guvcview.png rm -f %buildroot%_pixmapsdir/guvcview/guvcview.png ln -s %_niconsdir/guvcview.png %buildroot%_pixmapsdir/guvcview/guvcview.png desktop-file-install --dir %buildroot%_desktopdir \ --add-category=Recorder \ --add-category=Video \ %buildroot%_desktopdir/guvcview.desktop %find_lang --output=%name.lang %name gview_v4l2core %files -f %name.lang %_bindir/%name %_desktopdir/%name.desktop %_pixmapsdir/* %_niconsdir/* %_man1dir/* %_datadir/metainfo/%name.appdata.xml %doc AUTHORS ChangeLog README* %files -n lib%name %_libdir/libgviewaudio-%api_ver.so.* %_libdir/libgviewrender-%enc_api_ver.so.* %_libdir/libgviewv4l2core-%enc_api_ver.so.* %_libdir/libgviewencoder-%enc_api_ver.so.* %files -n lib%name-devel %_includedir/%name-%api_ver_major/ %_libdir/*.so %_pkgconfigdir/*.pc %exclude %_datadir/doc/%name %changelog * Wed Mar 13 2024 Yuri N. Sedunov <aris@altlinux.org> 2.1.0-alt1 - 2.1.0 * Wed May 04 2022 Yuri N. Sedunov <aris@altlinux.org> 2.0.8.1-alt1 - updated to v2.0.8-1 * Wed Nov 03 2021 Yuri N. Sedunov <aris@altlinux.org> 2.0.7-alt1 - updated to v2.0.7-2-5-g9edc615 * Tue Oct 23 2018 Yuri N. Sedunov <aris@altlinux.org> 2.0.6-alt1 - 2.0.6 * Mon Jun 04 2018 Yuri N. Sedunov <aris@altlinux.org> 2.0.5-alt4 - rebuilt with ffmpeg-4.0 * Tue Sep 12 2017 Yuri N. Sedunov <aris@altlinux.org> 2.0.5-alt3 - rebuilt against libgsl.so.23 * Sun Jun 04 2017 Yuri N. Sedunov <aris@altlinux.org> 2.0.5-alt2 - rebuilt against libavcodec.so.57/libavutil.so.55 * Sun Feb 19 2017 Yuri N. Sedunov <aris@altlinux.org> 2.0.5-alt1 - 2.0.5 * Thu Nov 17 2016 Yuri N. Sedunov <aris@altlinux.org> 2.0.4-alt1 - 2.0.4 * Wed Feb 24 2016 Yuri N. Sedunov <aris@altlinux.org> 2.0.3-alt1 - 2.0.3 * Sun Nov 30 2014 Yuri N. Sedunov <aris@altlinux.org> 2.0.1-alt1 - 2.0.1 * Sun Sep 14 2014 Yuri N. Sedunov <aris@altlinux.org> 2.0.0-alt1 - 2.0.0 - new lib%%name{,-devel} subpackages - updated buildreqs * Tue Jul 08 2014 Yuri N. Sedunov <aris@altlinux.org> 1.7.3-alt1 - 1.7.3 * Tue Feb 11 2014 Yuri N. Sedunov <aris@altlinux.org> 1.7.2-alt1 - 1.7.2 * Tue Nov 12 2013 Yuri N. Sedunov <aris@altlinux.org> 1.7.1-alt1 - 1.7.1 * Sun Nov 18 2012 Yuri N. Sedunov <aris@altlinux.org> 1.6.1-alt1 - 1.6.1 * Fri Sep 28 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.6.0-alt1.1 - Rebuilt with libpng15 * Mon Jun 04 2012 Yuri N. Sedunov <aris@altlinux.org> 1.6.0-alt1 - 1.6.0 - fixed %%url - updated buildreqs * Wed Apr 04 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.4.4-alt2.1 - Fixed build with new glib2 * Wed Sep 14 2011 Sergey Bolshakov <sbolshakov@altlinux.ru> 1.4.4-alt2 - rebuilt with recent libav * Tue Jun 07 2011 Repocop Q. A. Robot <repocop@altlinux.org> 1.4.4-alt1.qa1 - NMU (by repocop). See http://www.altlinux.org/Tools/Repocop - applied repocop fixes: * freedesktop-desktop-file-proposed-patch for guvcview * Tue Mar 8 2011 Terechkov Evgenii <evg@altlinux.org> 1.4.4-alt1 - 1.4.4 * Tue Aug 10 2010 Terechkov Evgenii <evg@altlinux.ru> 1.4.1-alt1 - 1.4.1 - Spec cleanup * Mon Jul 27 2009 Vladimir A. Svyatoshenko <svyt@altlinux.ru> 1.1.1-alt1.2 - fix spec * Mon Jul 27 2009 Vladimir A. Svyatoshenko <svyt@altlinux.ru> 1.1.1-alt1.1 - fix spec: change Group AudioVideo to Video * Sun Jul 26 2009 Vladimir A. Svyatoshenko <svyt@altlinux.ru> 1.1.1-alt1 - new version * Thu Jun 25 2009 Vladimir A. Svyatoshenko <svyt@altlinux.ru> 1.1.0-alt1 - new version * Sun Apr 12 2009 Vladimir A. Svyatoshenko <svyt@altlinux.ru> 1.0.4-alt1 - new version * Thu Dec 11 2008 Vladimir A. Svyatoshenko <svyt@altlinux.ru> 0.9.6-alt1 - new version * Mon Nov 03 2008 Vladimir A. Svyatoshenko <svyt@altlinux.ru> 0.9.4-alt1.2 - change iconpath from pixmapdirs to niconsdir * Sun Oct 26 2008 Vladimir A. Svyatoshenko <svyt@altlinux.ru> 0.9.4-alt1.1 - rebuild * Mon Oct 20 2008 Vladimir A. Svyatoshenko <svyt@altlinux.ru> 0.9.4-alt1. - new version * Sun Sep 07 2008 Vladimir A. Svyatoshenko <svyt@altlinux.ru> 0.9.3-alt1 - new version * Tue Jul 22 2008 Vladimir A. Svyatoshenko <svyt@altlinux.ru> 0.9.2-alt1 - build for ALT Linux |