From 0dd862eb45c41825501cf263d2bfb1a6a7e4fe251e410723eee614f0bc0e0377 Mon Sep 17 00:00:00 2001 From: Dave Plater Date: Fri, 24 Jun 2011 22:03:07 +0000 Subject: [PATCH] Accepting request 74480 from home:plater Fix %{BUILD_ORIG} expressions OBS-URL: https://build.opensuse.org/request/show/74480 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libquicktime?expand=0&rev=30 --- ...ice:download_url:libquicktime-1.2.2.tar.gz | 3 - _service:set_version:libquicktime.spec | 155 ------------------ libquicktime.spec | 6 +- 3 files changed, 3 insertions(+), 161 deletions(-) delete mode 100644 _service:download_url:libquicktime-1.2.2.tar.gz delete mode 100644 _service:set_version:libquicktime.spec diff --git a/_service:download_url:libquicktime-1.2.2.tar.gz b/_service:download_url:libquicktime-1.2.2.tar.gz deleted file mode 100644 index e4c2490..0000000 --- a/_service:download_url:libquicktime-1.2.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a83ddaaeaf98231d9f224190dcb8810ebdabd3edb5c8cebe2fb083d25edb7436 -size 1012400 diff --git a/_service:set_version:libquicktime.spec b/_service:set_version:libquicktime.spec deleted file mode 100644 index fc9070c..0000000 --- a/_service:set_version:libquicktime.spec +++ /dev/null @@ -1,155 +0,0 @@ -# -# spec file for package libquicktime -# -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. - -# Please submit bugfixes or comments via http://bugs.opensuse.org/ -# - - -%define soname 0 - - - -Name: libquicktime -Version: 1.2.2 -Release: 0 -License: GNU General Public License version 2 or later (GPL v2 or later) -Summary: Library for Reading and Writing Quicktime Movie Files -Url: http://libquicktime.sf.net -Group: System/Libraries -# http://prdownloads.sourceforge.net/libquicktime/libquicktime-%{version}.tar.gz -Source: http://prdownloads.sourceforge.net/libquicktime/libquicktime-%{version}.tar.gz -Patch0: %{name}-1.2.2-dont_disable_deprecated.patch -BuildRequires: Mesa-devel -BuildRequires: alsa-devel -BuildRequires: doxygen -BuildRequires: gtk2-devel -BuildRequires: libdv-devel -BuildRequires: libjpeg-devel -BuildRequires: libvorbis-devel -BuildRequires: pkg-config -BuildRequires: schroedinger-devel -%if %{BUILD_ORIG} -BuildRequires: libfaac-devel -BuildRequires: libfaad2-devel -BuildRequires: libffmpeg-devel -BuildRequires: libmp3lame-devel -BuildRequires: libx264-devel -%endif -BuildRoot: %{_tmppath}/%{name}-%{version}-build - -%description -A library for reading and writing Quicktime movie files, based on and -forked from quicktime4linux. - -%package -n %{name}%{soname} - -Summary: Library for Reading and Writing Quicktime Movie Files -Group: System/Libraries -# Last version with this name was openSUSE 11.4 -Provides: libquicktime = %{version} -Obsoletes: libquicktime <= 1.2.2 - -%description -n %{name}%{soname} -A library for reading and writing Quicktime movie files, based on and -forked from quicktime4linux. - -%package -n libquicktime-devel - -Summary: Library for reading/writing quicktime movie files -Group: Development/Libraries/C and C++ -Requires: %{name}%{soname} = %{version} - -%description -n libquicktime-devel -library for reading/writing quicktime movie files, based on and forked -from quicktime4linux - -%package -n libquicktime-tools - -Summary: Libquicktime Tools -Group: Productivity/Multimedia/Video/Editors and Convertors -Requires: %{name}%{soname} = %{version} - -%description -n libquicktime-tools -Tools for reading/writing quicktime movie files. - -%prep -%setup -q -%patch0 - -%build -%configure \ - --enable-gpl \ - --docdir="%{_docdir}/%{name}-devel" \ - --with-libdv \ - --with-cpuflags=none -make %{?_smp_mflags} - -%install -%makeinstall -ln -s lqt "%{buildroot}%{_includedir}/quicktime" -%find_lang libquicktime -find %{buildroot}%{_libdir} -type f -name "*.la" -delete -print - -%clean -%{?buildroot:rm -rf %{buildroot}} - -%post -n libquicktime%{soname} -p /sbin/ldconfig - -%postun -n libquicktime%{soname} -p /sbin/ldconfig - -%files -n libquicktime%{soname} -f libquicktime.lang -%defattr(0644,root,root,0755) -%doc COPYING ChangeLog README TODO -%{_libdir}/libquicktime.so.%{soname} -%{_libdir}/libquicktime.so.%{soname}.*.* -%dir %{_libdir}/libquicktime -%{_libdir}/libquicktime/lqt_audiocodec.so -%{_libdir}/libquicktime/lqt_dv.so -%{_libdir}/libquicktime/lqt_mjpeg.so -%{_libdir}/libquicktime/lqt_png.so -%{_libdir}/libquicktime/lqt_rtjpeg.so -%{_libdir}/libquicktime/lqt_schroedinger.so -%{_libdir}/libquicktime/lqt_videocodec.so -%{_libdir}/libquicktime/lqt_vorbis.so -%if %{BUILD_ORIG} -%{_libdir}/libquicktime/lqt_faac.so -%{_libdir}/libquicktime/lqt_faad2.so -%{_libdir}/libquicktime/lqt_ffmpeg.so -%{_libdir}/libquicktime/lqt_lame.so -%{_libdir}/libquicktime/lqt_x264.so -%endif - -%files -n libquicktime-devel -%defattr(0644,root,root,0755) -%doc %{_docdir}/%{name}-devel -%{_includedir}/lqt -%{_includedir}/quicktime -%{_libdir}/libquicktime.so -%{_libdir}/pkgconfig/libquicktime.pc - -%files -n libquicktime-tools -%defattr(-,root,root) -%{_bindir}/libquicktime_config -%{_bindir}/lqt_transcode -%{_bindir}/lqtplay -%{_bindir}/lqtremux -%{_bindir}/qt2text -%{_bindir}/qtdechunk -%{_bindir}/qtdump -%{_bindir}/qtinfo -%{_bindir}/qtrechunk -%{_bindir}/qtstreamize -%{_bindir}/qtyuv4toyuv -%doc %{_mandir}/man1/lqtplay.1%{ext_man} -%changelog diff --git a/libquicktime.spec b/libquicktime.spec index 7d7aa0d..9e6a68a 100644 --- a/libquicktime.spec +++ b/libquicktime.spec @@ -27,7 +27,7 @@ License: GNU General Public License version 2 or later (GPL v2 or later) Summary: Library for Reading and Writing Quicktime Movie Files Url: http://libquicktime.sf.net Group: System/Libraries -# http://prdownloads.sourceforge.net/libquicktime/libquicktime-%{version}.tar.gz +# http://prdownloads.sourceforge.net/libquicktime/libquicktime-%%{version}.tar.gz Source: http://prdownloads.sourceforge.net/libquicktime/libquicktime-%{version}.tar.gz Patch0: %{name}-1.2.2-dont_disable_deprecated.patch BuildRequires: Mesa-devel @@ -39,7 +39,7 @@ BuildRequires: libjpeg-devel BuildRequires: libvorbis-devel BuildRequires: pkg-config BuildRequires: schroedinger-devel -%if %{BUILD_ORIG} +%if 0%{?BUILD_ORIG} BuildRequires: libfaac-devel BuildRequires: libfaad2-devel BuildRequires: libffmpeg-devel @@ -122,7 +122,7 @@ find %{buildroot}%{_libdir} -type f -name "*.la" -delete -print %{_libdir}/libquicktime/lqt_schroedinger.so %{_libdir}/libquicktime/lqt_videocodec.so %{_libdir}/libquicktime/lqt_vorbis.so -%if %{BUILD_ORIG} +%if 0%{?BUILD_ORIG} %{_libdir}/libquicktime/lqt_faac.so %{_libdir}/libquicktime/lqt_faad2.so %{_libdir}/libquicktime/lqt_ffmpeg.so