home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 June / ccd0605.iso / LINUX / gopchop-1.1.7.tar.tar / gopchop-1.1.7.tar / gopchop-1.1.7 / gopchop.spec.in < prev    next >
Text File  |  2005-04-29  |  2KB  |  77 lines

  1. # This spec file was originally generated by Gideon
  2.  
  3. Name:        @PACKAGE@
  4. Version:    @PACKAGE_VERSION@
  5. Release:    1
  6. License:    GPL
  7. Summary:    MPEG2 GOP-accurate editor
  8. Vendor:        Kees Cook <mpeg2@outflux.net>
  9. Packager:    Olivier Lahaye <lahaye@noos.fr>
  10. Url:        http://outflux.net/software/pkgs/gopchop
  11. Group:        Applications/Multimedia
  12. BuildRoot:    %{_tmppath}/%{name}-root
  13. Source:        %{name}-%{version}.tar.gz
  14. Requires:    gtk2 >= 2.0.0
  15. Requires:    mpeg2dec = 0.4.0
  16. Requires:    libxml2 >= 2.6.6
  17. BuildRequires:    mpeg2dec-devel = 0.4.0
  18. BuildRequires:    gtk2-devel >= 2.0.0
  19. BuildRequires:    libxml2-devel >= 2.6.6
  20. BuildRequires:    gettext
  21.  
  22. %description
  23. This tool is used for people wanting to take sections out of MPEG2-PS 
  24. files without re-encoding the resulting frames.  The idea is to write 
  25. specific "Group of Pictures" (GOP) sections to a new MPEG2-PS file.  These 
  26. GOPs will decode correctly (in theory), and the gaps won't be noticed.  I 
  27. wrote this tool to edit commercials out of MPEG2 files produced by my 
  28. KFir MPEG2 capture card.  Using this tool for anything else is really beyond
  29. the scope of its design.
  30.  
  31. %prep
  32. %setup -q
  33.  
  34. %build
  35. ./configure --prefix=%{_prefix} \
  36.             --bindir=%{_bindir} \
  37.             --datadir=%{_datadir} \
  38.             --libdir=%{_libdir} \
  39.             --mandir=%{_mandir} \
  40.  
  41. CFLAGS="$RPM_OPT_FLAGS" make
  42.  
  43. %install
  44. rm -rf %{buildroot}
  45. make prefix=%{buildroot}%{_prefix} \
  46.     bindir=%{buildroot}%{_bindir} \
  47.     datadir=%{buildroot}%{_datadir} \
  48.     libdir=%{buildroot}%{_libdir} \
  49.     mandir=%{buildroot}%{_mandir} \
  50.     install
  51.  
  52. %clean
  53. rm -rf %{buildroot}
  54.  
  55. %files
  56. %defattr(-, root, root)
  57. %doc AUTHORS COPYING ChangeLog README TODO INSTALL
  58. %doc %{_mandir}/man1/*
  59.  
  60. %{_bindir}/*
  61. %{_datadir}/locale/*/*/*
  62. %{_datadir}/pixmaps/*
  63. %{_datadir}/applications/*
  64.  
  65. %changelog
  66.  
  67. * Sun Mar 21 2004 Weston Schmidt <schmidtw@users.sourceforge.net> 1.1.3-1
  68. - Added the libxml2 requirement and build requirement.
  69. * Sun Feb 29 2004 Weston Schmidt <schmidtw@users.sourceforge.net> 1.1.2-1
  70. - Added the automatic menu and updated the requirements and build requirements
  71. * Mon Feb 23 2004 Kees Cook <mpeg2@outflux.net> 1.1.2-1
  72. - Fixed build/make/install section
  73. * Fri Feb 13 2004 Kees Cook <mpeg2@outflux.net> 1.1.2-1
  74. - Updated to get built by configure
  75. * Mon Dec 12 2003 Olivier Lahaye <lahaye@noos.fr> 0.9.1-1
  76. - First RPM release.
  77.