Author: giallu
Update of /cvs/free/rpms/ogmrip/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv26451
Modified Files:
.cvsignore sources
Added Files:
ogmrip-0.11.2-dvdreadversion.patch
ogmrip-0.12.2-configure_checks.patch
ogmrip-0.12.3-desktop.patch ogmrip.spec
Log Message:
Initial import
ogmrip-0.11.2-dvdreadversion.patch:
--- NEW FILE ogmrip-0.11.2-dvdreadversion.patch ---
diff -Naupr ogmrip-0.11.2.orig/configure ogmrip-0.11.2/configure
--- ogmrip-0.11.2.orig/configure 2007-12-22 15:42:44.000000000 +0100
+++ ogmrip-0.11.2/configure 2008-05-11 23:28:32.000000000 +0200
@@ -21772,7 +21772,7 @@ cat >>conftest.$ac_ext <<_ACEOF
#include <dvdread/ifo_types.h>
#include <dvdread/ifo_read.h>
#include <dvdread/nav_read.h>
-int main(void) { if (DVDREAD_VERSION < 907) return 1; return 0; }
+int main(void) { if (DVDREAD_VERSION < 904) return 1; return 0; }
_ACEOF
rm -f conftest$ac_exeext
diff -Naupr ogmrip-0.11.2.orig/configure.in ogmrip-0.11.2/configure.in
--- ogmrip-0.11.2.orig/configure.in 2008-05-11 23:28:59.000000000 +0200
+++ ogmrip-0.11.2/configure.in 2007-11-05 20:52:57.000000000 +0100
@@ -180,7 +180,7 @@ AC_TRY_RUN([
#include <dvdread/ifo_types.h>
#include <dvdread/ifo_read.h>
#include <dvdread/nav_read.h>
-int main(void) { if (DVDREAD_VERSION < 907) return 1; return 0; }
+int main(void) { if (DVDREAD_VERSION < 904) return 1; return 0; }
],,AC_MSG_ERROR(Unable to find libdvdread >= 0.9.7))
dnl **************************************************************
ogmrip-0.12.2-configure_checks.patch:
--- NEW FILE ogmrip-0.12.2-configure_checks.patch ---
--- ogmrip-0.12.2.orig/configure.in 2008-09-21 14:16:27.000000000 +0200
+++ ogmrip-0.12.2/configure.in 2008-12-15 17:11:34.000000000 +0100
@@ -289,7 +289,7 @@
dnl **************************************************************
-THEORA_REQUIRED=1.0alpha5
+THEORA_REQUIRED=1.0ALPHA5
THEORA_MODULES="theora >= $THEORA_REQUIRED"
AC_ARG_ENABLE(theora-support,
ogmrip-0.12.3-desktop.patch:
--- NEW FILE ogmrip-0.12.3-desktop.patch ---
diff --git a/data/ogmrip.desktop b/data/ogmrip.desktop
index 7391bbc..7f5e096 100644
--- a/data/ogmrip.desktop
+++ b/data/ogmrip.desktop
@@ -1,5 +1,4 @@
[Desktop Entry]
-Encoding=UTF-8
Name=DVD Encoder OGMRip
Name[ca]=Codificador de DVD OGMRip
Name[cs]=DVD enkodér OGMRIP
@@ -13,8 +12,8 @@ Comment[de]=Ein DVD-Ausleser für GNOME
Comment[fr]=Un encodeur de DVD pour GNOME
Comment[sv]=En dvd-kodare för GNOME
Exec=ogmrip
-Icon=ogmrip.png
+Icon=ogmrip
StartupNotify=true
Terminal=false
Type=Application
-Categories=GNOME;Application;AudioVideo;
+Categories=GNOME;AudioVideo;
--- NEW FILE ogmrip.spec ---
Name: ogmrip
Version: 0.12.3
Release: 3%{?dist}
Summary: DVD ripping and encoding graphical user interface
Group: Applications/Multimedia
License: GPLv2+
URL:
http://ogmrip.sourceforge.net/
Source0:
http://downloads.sourceforge.net/ogmrip/ogmrip-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gtk2-devel, libglade2-devel, GConf2-devel, libxml2-devel
BuildRequires: hal-devel, dbus-glib-devel, enchant-devel, enca-devel
BuildRequires: libdvdread-devel, libtheora-devel, libvorbis-devel
BuildRequires: libtiff-devel
BuildRequires: tesseract-devel
BuildRequires: libnotify-devel
BuildRequires: gettext-devel, intltool
BuildRequires: desktop-file-utils
# We patch configure.in
BuildRequires: autoconf
# Not technically build required, but configure checks for it...
Buildrequires: eject, mplayer, mencoder, ogmtools, vorbis-tools, theora-tools
BuildRequires: mkvtoolnix, lame
# Now, all the same as runtime requirements
Requires: eject, mplayer, mencoder, ogmtools, vorbis-tools, theora-tools
Requires: mkvtoolnix, lame
Requires: gpac
Requires: subtitleripper
Requires(post): GConf2
Requires(postun): GConf2
Patch0: ogmrip-0.12.2-configure_checks.patch
Patch1: ogmrip-0.12.3-desktop.patch
%description
OGMRip is an application and a set of libraries for ripping and encoding DVDs
into AVI, OGM MP4 or Matroska files using a wide variety of codecs. It relies
on mplayer, mencoder, ogmtools, mkvtoolnix, oggenc, lame and faac to perform
its tasks.
%package devel
Summary: Development files for ogmrip
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: gtk2-devel, libglade2-devel, GConf2-devel, libxml2-devel
Requires: hal-devel, dbus-glib-devel, enchant-devel, enca-devel
Requires: libdvdread-devel, libtheora-devel, libvorbis-devel
Requires: libtiff-devel
Requires: tesseract-devel
Requires: libnotify-devel
Requires: pkgconfig
%description devel
Development headers and libraries for ogmrip.
%prep
%setup -q
%patch0 -p1 -b .configure_checks
%patch1 -p1
# Remove -Werror since build fails because of warn_unused_result otherwise
# %{__perl} -pi -e 's|-Wall -Werror|-Wall|g' configure*
%build
autoconf
%configure \
--disable-static \
--disable-schemas-install \
--with-ocr=tesseract
# Disable RPATH
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g'
libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
%find_lang %{name}
# Remove useless files
find %{buildroot} -name '*.la' -delete
desktop-file-install \
--delete-original \
--dir=%{buildroot}%{_datadir}/applications \
%{buildroot}/%{_datadir}/applications/ogmrip.desktop
%clean
rm -rf %{buildroot}
%post
/sbin/ldconfig
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-install-rule \
%{_sysconfdir}/gconf/schemas/ogmrip.schemas &>/dev/null || :
%preun
if [ "$1" -eq 0 ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-uninstall-rule \
%{_sysconfdir}/gconf/schemas/ogmrip.schemas &>/dev/null || :
fi
%postun -p /sbin/ldconfig
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog README TODO
%{_sysconfdir}/gconf/schemas/ogmrip.schemas
%{_bindir}/dvdcpy
%{_bindir}/ogmrip
%{_bindir}/subp2pgm
%{_bindir}/subp2png
%{_bindir}/subp2tiff
%{_bindir}/subptools
%{_bindir}/theoraenc
%{_libdir}/*.so.*
%{_libdir}/ogmrip/
%{_datadir}/applications/ogmrip.desktop
%doc %{_datadir}/gtk-doc/html/ogm*
%{_datadir}/ogmrip/
%{_datadir}/pixmaps/ogmrip.png
%{_mandir}/man1/*.1*
%files devel
%defattr(-,root,root,-)
%{_includedir}/*
%{_libdir}/pkgconfig/*.pc
%{_libdir}/*.so
%changelog
* Mon Apr 20 2009 Gianluca Sforna <giallu gmail com> - 0.12.3-3
- Add Requires on -devel
- Find and remove .la files
- Properly install .desktop file
* Mon Feb 16 2009 Gianluca Sforna <giallu gmail com> - 0.12.3-2
- Rebase Patch0
* Mon Feb 9 2009 Gianluca Sforna <giallu gmail com> - 0.12.3-1
- Upstream release 0.12.3
* Sat Dec 13 2008 Gianluca Sforna <giallu gmail com> - 0.12.2-1
- New spec based off freshrpms for Fedora submission
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/ogmrip/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 1 May 2009 08:55:16 -0000 1.1
+++ .cvsignore 1 May 2009 12:08:43 -0000 1.2
@@ -0,0 +1 @@
+ogmrip-0.12.3.tar.gz
Index: sources
===================================================================
RCS file: /cvs/free/rpms/ogmrip/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 1 May 2009 08:55:16 -0000 1.1
+++ sources 1 May 2009 12:08:43 -0000 1.2
@@ -0,0 +1 @@
+11a52e5d9d7f936ae3a1925b5ab51b72 ogmrip-0.12.3.tar.gz