From 1ee3e7e2581f235c2f2948b4780d0d87ff1efb538ea5e140c4b72ec04b5789e9 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Sat, 28 Jul 2007 14:28:02 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libquicktime?expand=0&rev=5 --- dont-disable-deprecated.patch | 14 ++++++++++++++ libquicktime.changes | 6 ++++++ libquicktime.spec | 16 +++++++++++++--- 3 files changed, 33 insertions(+), 3 deletions(-) create mode 100644 dont-disable-deprecated.patch diff --git a/dont-disable-deprecated.patch b/dont-disable-deprecated.patch new file mode 100644 index 0000000..763da89 --- /dev/null +++ b/dont-disable-deprecated.patch @@ -0,0 +1,14 @@ +Index: libquicktime-1.0.0/configure.ac +=================================================================== +--- libquicktime-1.0.0.orig/configure.ac ++++ libquicktime-1.0.0/configure.ac +@@ -365,7 +365,8 @@ AM_CONDITIONAL(HAVE_GTK, test x$have_gtk + AC_SUBST(GTK_REQUIRED) + + dnl Always be in sync with the newest gtk +-GTK_CFLAGS="$GTK_CFLAGS -DGTK_DISABLE_DEPRECATED" ++dnl Ha ha! I thwart thee! ++GTK_CFLAGS="$GTK_CFLAGS" + + dnl + dnl Check for libdv diff --git a/libquicktime.changes b/libquicktime.changes index ce5be4b..db8e6ce 100644 --- a/libquicktime.changes +++ b/libquicktime.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jul 27 21:33:05 CEST 2007 - maw@suse.de + +- Add dont-disable-deprecated.patch +- Use %fdupes. + ------------------------------------------------------------------- Sat May 12 15:27:41 CEST 2007 - olh@suse.de diff --git a/libquicktime.spec b/libquicktime.spec index 12edc67..e159579 100644 --- a/libquicktime.spec +++ b/libquicktime.spec @@ -11,16 +11,17 @@ # norootforbuild Name: libquicktime -BuildRequires: alsa-devel gtk2-devel libavc1394-devel libdv-devel libjpeg-devel libvorbis-devel sed +BuildRequires: alsa-devel fdupes gtk2-devel libavc1394-devel libdv-devel libjpeg-devel libvorbis-devel sed %define DISTRIBUTABLE 1 -License: GNU General Public License (GPL) +License: GPL v2 or later Group: Development/Libraries/Other Autoreqprov: on Version: 1.0.0 -Release: 7 +Release: 30 URL: http://libquicktime.sf.net Source0: %{name}-%{version}.tar.gz Patch0: %{name}-%{version}-arrayoverflow.patch +Patch1: dont-disable-deprecated.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: A Library for Reading and Writing Quicktime Movie Files Provides: quicktime4linux @@ -51,8 +52,10 @@ from quicktime4linux # fix brokem links in API docs sed -r "s/(building|codecs|index|license|opening|positioning|reading|util|writing).html/qt4l_&/" -i doc/* %patch0 -p0 +%patch1 -p1 %build +autoreconf -f -i %{?suse_update_config:%{suse_update_config -f}} ./configure --prefix=%{_prefix} \ --bindir=%{_bindir} \ @@ -69,6 +72,10 @@ make %install make DESTDIR="%{buildroot}" install ln -s lqt %{buildroot}/usr/include/quicktime +%if %suse_version > 1020 + +%fdupes $RPM_BUILD_ROOT +%endif %clean rm -rf "%{buildroot}" @@ -102,6 +109,9 @@ rm -rf "%{buildroot}" %doc doc/*.html doc/*.txt %changelog +* Fri Jul 27 2007 - maw@suse.de +- Add dont-disable-deprecated.patch +- Use %%fdupes. * Sat May 12 2007 - olh@suse.de - remove unneded Requires libraw1394-devel * Wed May 09 2007 - pcerny@suse.cz