Package avidemux-qt: 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 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 | %define rname avidemux %def_disable ownffmpeg %add_python_req_skip ADM_resize ADM_image Name: avidemux-qt Version: 2.6.8 Release: alt0.M70P.2 Group: Video Summary: Avidemux is a graphical AVI files editor Summary(ru_RU.UTF-8): Avidemux -- это редактор AVI-файлов с графическим интерфейсом Url: http://avidemux.org/ License: GPL Provides: avidemux3 = %version-%release Provides: avidemux2 = %version-%release Obsoletes: avidemux2 < %version-%release Provides: avidemux = %version-%release Conflicts: avidemux Source: avidemux-%version.tar %if_enabled ownffmpeg Source1: ffmpeg.tar.bz2 %endif Source2: avidemux.desktop Source3: http://gitorious.org/avidemux2-6/avidemux2-6/blobs/raw/7cf44bbc1f33894594b2bc84089d1779edc5c2b9/avidemux_plugins/ADM_autoScrips/lib/ADM_resize.py Source4: avidemux_ru.ts %if_enabled ownffmpeg Patch1: avidemux-2.5.6-alt-ffmpeg-0.9.2.patch %endif Patch2: avidemux-2.6.8-alt-i18n-qm-path.patch Patch3: avidemux-2.6.0-alt-crash-retranslate.patch Patch4: avidemux-2.6.0-alt-flags.patch # Patch100: avidemux-2.5.1-opencore-check.patch # Automatically added by buildreq on Thu Oct 28 2010 (-bi) #BuildRequires: bzlib-devel cmake gcc-c++ git-svn glibc-devel-static libGL-devel libSDL-devel libXScrnSaver-devel libXau-devel libXcomposite-devel libXcursor-devel libXdmcp-devel libXext-devel libXft-devel libXinerama-devel libXpm-devel libXrandr-devel libXt-devel libXtst-devel libXvMC-devel libXxf86misc-devel libaften-devel libesd-devel libfaad-devel libjack-devel liblame-devel libopencore-amrnb-devel libopencore-amrwb-devel libpulseaudio-devel libsubversion-auth-gnome-keyring libsubversion-auth-kwallet libvdpau-devel libvorbis-devel libvpx-devel libx264-devel libxkbfile-devel libxml2-devel libxvid-devel perl-IO-Compress qt4-designer rpm-build-ruby tetex-core xml-utils xsltproc yasm BuildRequires: bzlib-devel cmake gcc-c++ glibc-devel libSDL-devel python-devel BuildRequires: libaften-devel libfaad-devel libjack-devel liblame-devel BuildRequires: libopencore-amrnb-devel libopencore-amrwb-devel libpulseaudio-devel BuildRequires: libvdpau-devel libva-devel libxvba-devel BuildRequires: libvorbis-devel libvpx-devel libx264-devel BuildRequires: libxml2-devel libxvid-devel perl-IO-Compress libqt4-devel libsqlite3-devel BuildRequires: xml-utils xsltproc yasm kde-common-devel libalsa-devel %description Avidemux is a graphical tool to edit AVI. It allows you to multiplex and demultiplex audio to/from video. It is able to cut video, import BMP, MJPEG and MPEG video, and encode them. You can also process video with included filters. It requires a DivX compatible encoder and the Gimp Toolkit (GTK) libraries. %description -l ru_RU.UTF-8 Avidemux -- это редактор AVI-файлов с графическим интерфейсом. Он позволяет монтировать видеосцены из видеофайлов и изображений и добавлять к ним звуковую дорожку, а затем кодировать в файлы сжатых форматов. %package gui-qt Group: Video Summary: Qt GUI for %name PreReq(post,preun): alternatives >= 0.2 Requires: %name-common = %version-%release Provides: %name-qui = %version-%release Conflicts: %name <= 2.4.4-alt1 %description gui-qt Qt GUI for %name %package gui-gtk Group: Video Summary: GTK GUI for %name PreReq(post,preun): alternatives >= 0.2 Requires: %name-common = %version-%release Provides: %name-qui = %version-%release Conflicts: %name <= 2.4.4-alt1 %description gui-gtk GTK GUI for %name %package common Group: Video Summary: Common files for %name PreReq(post,preun): alternatives >= 0.2 Provides: %name-qui = %version-%release Conflicts: %name <= 2.4.4-alt1 %description common Common files for %name %prep %setup -qn %rname-%version %if_enabled ownffmpeg %patch1 -p1 %endif %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch100 -p1 cp -f %SOURCE4 po/ %if_enabled ownffmpeg install -m 0644 %SOURCE1 avidemux_core/ffmpeg_package %endif grep -rlw 'amd/amdxvba\.h' | xargs sed -i 's|amd/\(amdxvba\.h\)|\1|g' %build export QTDIR=%_qt4dir BUILDDIR=$PWD sh bootStrap.bash --with-core --with-cli --with-qt4 --without-gtk --with-plugins lrelease-qt4 po/*.ts for p in po/*.po ; do FLNG=`echo "$p" | sed -e 's|\..*||' -e 's|.*\/||'` msgfmt -o po/"$FLNG".mo $p done %install %set_verify_elf_method unresolved=relaxed,textrel=relaxed cp -ar install/* %buildroot/ mkdir -p %buildroot/usr/ for d in bin include %_lib share do [ -d "%buildroot/$d" ] || continue mv "%buildroot/$d" %buildroot/usr/ done install -pD -m644 avidemux_icon.png %buildroot/%_pixmapsdir/%rname.png install -pD -m644 %SOURCE2 %buildroot/%_desktopdir/%rname.desktop install -pD -m644 %SOURCE3 %buildroot/%_libdir/ADM_plugins6/autoScripts/lib/ ln -s avidemux3_qt4 %buildroot/%_bindir/%rname for p in po/*.mo ; do LNG=`echo "$p" | sed -e 's|\..*||' -e 's|.*\/||' -e 's|@.*||'` FLNG=`echo "$p" | sed -e 's|\..*||' -e 's|.*\/||'` mkdir -p %buildroot/%_datadir/locale/"$LNG"/LC_MESSAGES install -m 0644 po/"$FLNG".mo %buildroot/%_datadir/locale/"$LNG"/LC_MESSAGES/avidemux.mo done mkdir -p %buildroot/%_datadir/avidemux6/i18n/ install -m 0644 po/avidemux*.qm %buildroot/%_datadir/avidemux6/i18n/ %find_lang avidemux #echo "%%defattr(644,root,root,755)" > avidemux.lang for f in %buildroot/%_datadir/avidemux6/i18n/avidemux*.qm do LNG=`echo "$f"| sed -e 's|^.*/\(.*\)_\([a-z][a-z]\)[^[:alpha:]].*|\2|'` FILE=%%_datadir/avidemux6/i18n/`basename "$f"` echo "%%lang($LNG) $FILE" >>avidemux.lang done %files -f avidemux.lang %_desktopdir/*.desktop %_bindir/avidemux %_bindir/avidemux3_cli %_bindir/avidemux3_jobs %_bindir/avidemux3_qt4 %_libdir/libADM_UI*.so* %_libdir/libADM_render*.so %_libdir/libADM6* %_libdir/libADM_core*.so* %_libdir/libADM_audio*.so %_libdir/ADM_plugins?/ %_pixmapsdir/* #%_datadir/ADM_scripts %dir %_datadir/avidemux6 %dir %_datadir/avidemux6/i18n %_datadir/avidemux6/help # devel %exclude %_includedir/avidemux %changelog * Tue Jul 22 2014 Andrey Cherepanov <cas@altlinux.org> 2.6.8-alt0.M70P.2 - Convert Russian localization from gettext to qt linguist format * Tue Jul 22 2014 Andrey Cherepanov <cas@altlinux.org> 2.6.8-alt0.M70P.1 - Backport new version to p7 branch (ALT #22511) * Thu May 15 2014 Sergey V Turchin <zerg@altlinux.org> 2.6.8-alt1 - new version * Tue May 13 2014 Sergey Bolshakov <sbolshakov@altlinux.ru> 2.6.7-alt3 - rebuilt with recent x264 * Sat Dec 28 2013 Sergey V Turchin <zerg@altlinux.org> 2.6.7-alt2 - built with xvba support * Fri Dec 27 2013 Sergey V Turchin <zerg@altlinux.org> 2.6.7-alt1 - new version * Fri Sep 13 2013 Sergey V Turchin <zerg@altlinux.org> 2.6.5-alt1 - new version * Wed Jun 26 2013 Sergey V Turchin <zerg@altlinux.org> 2.6.4-alt1 - new version * Thu Mar 07 2013 Sergey V Turchin <zerg@altlinux.org> 2.6.1-alt1 - new version * Mon Nov 12 2012 Sergey V Turchin <zerg@altlinux.org> 2.6.0-alt1 - new version * Mon Aug 06 2012 Sergey V Turchin <zerg@altlinux.org> 2.5.6-alt0.M60P.1 - built for M60P * Fri Aug 03 2012 Sergey V Turchin <zerg@altlinux.org> 2.5.6-alt1 - new version - built with internal ffmpeg-0.9.2 * Mon Apr 30 2012 Andrey Cherepanov <cas@altlinux.org> 2.5.5-alt0.M60P.2 - rebuilt with recent libx264 * Mon Jan 30 2012 Sergey Bolshakov <sbolshakov@altlinux.ru> 2.5.5-alt2 - rebuilt with recent libvpx and libx264 * Thu Sep 01 2011 Sergey V Turchin <zerg@altlinux.org> 2.5.5-alt0.M60P.1 - built for M60P * Thu Aug 11 2011 Sergey V Turchin <zerg@altlinux.org> 2.5.5-alt1 - new version * Mon Aug 01 2011 Sergey Bolshakov <sbolshakov@altlinux.ru> 2.5.4-alt4.1 - rebuilt with recent x264 * Wed Apr 20 2011 Sergey V Turchin <zerg@altlinux.org> 2.5.4-alt4 - fix build requires * Wed Nov 17 2010 Sergey V Turchin <zerg@altlinux.org> 2.5.4-alt3 - add Russian translation to desktop-file - rebuilt with new x264 * Thu Oct 28 2010 Sergey V Turchin <zerg@altlinux.org> 2.5.4-alt2 - fix build requires and desktop-file categories * Thu Oct 28 2010 Sergey V Turchin <zerg@altlinux.org> 2.5.4-alt1 - new version * Sat Mar 21 2009 Vitaly Lipatov <lav@altlinux.ru> 2.4.4-alt1 - new version 2.4.4 (with rpmrb script) * Tue Nov 04 2008 Vitaly Lipatov <lav@altlinux.ru> 2.4.3-alt2 - fix build with gcc 4.3 (thanks, PLD) * Thu Jul 31 2008 Vitaly Lipatov <lav@altlinux.ru> 2.4.3-alt1 - new version 2.4.3 (with rpmrb script) - rebuild without esound, without arts * Tue Jul 15 2008 Vitaly Lipatov <lav@altlinux.ru> 2.4.2-alt1 - new version 2.4.2 (with rpmrb script) - cleanup spec, update buildreqs, build with xulrunner * Thu Apr 10 2008 Vitaly Lipatov <lav@altlinux.ru> 2.4.1-alt1 - new version 2.4.1 (with rpmrb script) * Mon Dec 31 2007 Vitaly Lipatov <lav@altlinux.ru> 2.4-alt1 - new version (2.4) * Fri Dec 21 2007 Vitaly Lipatov <lav@altlinux.ru> 2.4-alt0.1pre3 - 2.4pre3 * Fri Jul 06 2007 Vitaly Lipatov <lav@altlinux.ru> 2.4-alt0.1pre2 - new version (2.4) - fix bug #12441 - build with libaften - set avidemux link to gtk binary * Tue Feb 13 2007 Vitaly Lipatov <lav@altlinux.ru> 2.3.0-alt1 - fixes from Michael Shigorin <mike@altlinux.org>: - built against firefox-devel, fixed multilib issue - replaced debian menu file with freedesktop one (from livna.org) - replaced build procedure (from rpmforge.net spec) * Sun Dec 24 2006 Vitaly Lipatov <lav@altlinux.ru> 2.3.0-alt0.1 - new version 2.3.0 (with rpmrb script) * Sun Aug 06 2006 Vitaly Lipatov <lav@altlinux.ru> 2.2-alt0.1pre2b - 2.2.0pre, rebuild without libx264 - note: still wait for 2.3.0, 2.2.0 will never released - add avidemux binary name * Mon Jun 12 2006 Vitaly Lipatov <lav@altlinux.ru> 2.1.2-alt0.3 - rebuild with new libx264 * Thu May 11 2006 Vitaly Lipatov <lav@altlinux.ru> 2.1.2-alt0.2 - rebuild with dynamic libx264 (fix bug #9539) * Wed Mar 08 2006 Vitaly Lipatov <lav@altlinux.ru> 2.1.2-alt0.1 - new version 2.1.2 (with rpmrb script) - rename package to avidemux - disable build with arts - cleanup spec with rpmcs * Thu Dec 22 2005 Vitaly Lipatov <lav@altlinux.ru> 2.1.0-alt0.1 - new version * Tue Nov 29 2005 Vitaly Lipatov <lav@altlinux.ru> 2.1-alt0.1step3 - new version * Sun Oct 09 2005 Vitaly Lipatov <lav@altlinux.ru> 2.1.0-alt0.1step2 - new version * Thu Dec 16 2004 Yuri N. Sedunov <aris@altlinux.ru> 2.0.34-alt0.5test2 - 2.0.34-test2 * Sun Jun 20 2004 Yuri N. Sedunov <aris@altlinux.ru> 2.0.24-alt1 - 2.0.24 - avidemux2.png as icon (thanks lav@) and fixed menu file (close #4448). * Tue Feb 10 2004 Yuri N. Sedunov <aris@altlinux.ru> 2.0.20-alt0.6 - rebuild with xvid-1.0.0rc1. * Sun Dec 21 2003 Yuri N. Sedunov <aris@altlinux.ru> 2.0.20-alt0.5 - 2.0.20 * Mon Nov 03 2003 Yuri N. Sedunov <aris@altlinux.ru> 2.0.18-alt0.5 - 2.0.18 * Sat Sep 27 2003 Yuri N. Sedunov <aris@altlinux.ru> 2.0.16-alt0.5 - 2.0.16 * Tue Aug 26 2003 Yuri N. Sedunov <aris@altlinux.ru> 2.0.14-alt0.5 - 2.0.14 * Mon Jul 14 2003 Yuri N. Sedunov <aris@altlinux.ru> 2.0.10-alt0.5 - 2.0.10 * Thu Jun 19 2003 Yuri N. Sedunov <aris@altlinux.ru> 2.0.6-alt0.5 - First build for Sisyphus. |