rpms/ogmrip/F-10 ogmrip-0.12.2-configure_checks.patch, NONE, 1.1 ogmrip-0.12.3-desktop.patch, NONE, 1.1 ogmrip.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Gianluca Sforna giallu at rpmfusion.org
Fri May 1 14:31:22 CEST 2009


Author: giallu

Update of /cvs/free/rpms/ogmrip/F-10
In directory se02.es.rpmfusion.net:/tmp/cvs-serv28180

Modified Files:
	.cvsignore sources 
Added Files:
	ogmrip-0.12.2-configure_checks.patch 
	ogmrip-0.12.3-desktop.patch ogmrip.spec 
Log Message:
Initial import


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/F-10/.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:31:22 -0000	1.2
@@ -0,0 +1 @@
+ogmrip-0.12.3.tar.gz


Index: sources
===================================================================
RCS file: /cvs/free/rpms/ogmrip/F-10/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:31:22 -0000	1.2
@@ -0,0 +1 @@
+11a52e5d9d7f936ae3a1925b5ab51b72  ogmrip-0.12.3.tar.gz



More information about the rpmfusion-commits mailing list