From 99459486c839821f1e4e3f6ce05900ffa7a8338bb404c4ab7144f9b1d269c3d4 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 9 Sep 2011 14:56:28 +0000 Subject: [PATCH] remove _service - too fragile OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libogg?expand=0&rev=14 --- _service | 17 --- ...compress:download_url:libogg-1.2.2.tar.bz2 | 3 - _service:set_version:libogg.spec | 121 ------------------ libogg-1.2.2.tar.gz | 3 + libogg.spec | 10 +- 5 files changed, 8 insertions(+), 146 deletions(-) delete mode 100644 _service delete mode 100644 _service:recompress:download_url:libogg-1.2.2.tar.bz2 delete mode 100644 _service:set_version:libogg.spec create mode 100644 libogg-1.2.2.tar.gz diff --git a/_service b/_service deleted file mode 100644 index 5654b3e..0000000 --- a/_service +++ /dev/null @@ -1,17 +0,0 @@ - - - - http - downloads.xiph.org - /releases/ogg/libogg-1.2.2.tar.gz - - - _service:download_url:libogg-1.2.2.tar.gz - sha256 - ab000574bc26d5f01284f5b0f50e12dc761d035c429f2e9c70cb2a9487d8cfba - - - *.gz - - - diff --git a/_service:recompress:download_url:libogg-1.2.2.tar.bz2 b/_service:recompress:download_url:libogg-1.2.2.tar.bz2 deleted file mode 100644 index 0fffc58..0000000 --- a/_service:recompress:download_url:libogg-1.2.2.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:23f7fdd08223e4ebbfdee5c004d00355da089c46cc1524500fcc25a62c813b14 -size 317882 diff --git a/_service:set_version:libogg.spec b/_service:set_version:libogg.spec deleted file mode 100644 index f86b878..0000000 --- a/_service:set_version:libogg.spec +++ /dev/null @@ -1,121 +0,0 @@ -# -# spec file for package libogg (Version 1.2.1) -# -# Copyright (c) 2009 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 _SO_nr 0 - -Name: libogg -Version: 1.2.2 -Release: 0 -Summary: Ogg Bitstream Library -License: BSD3c(or similar) -Url: http://www.vorbis.com/ -# -Group: System/Libraries -Source: %{name}-%{version}.tar.bz2 -Source2: baselibs.conf -Patch1: lib64.dif -Patch2: m4.diff -BuildRequires: pkgconfig -# bug437293 (SLES10 -> SLES11 upgrade path) -%ifarch ppc64 -Obsoletes: libogg-64bit -%endif -BuildRoot: %{_tmppath}/%{name}-%{version}-build - -%description -Libogg is a library for manipulating ogg bitstreams. It handles both -making ogg bitstreams and getting packets from ogg bitstreams. - -Ogg is the native bitstream format of the libvorbis (Ogg Vorbis audio -codec ) and the libtheora (Theora video codec) - -%package -n libogg%{_SO_nr} -Summary: Ogg Bitstream Library -Group: System/Libraries -# bug437293 (SLES10 -> SLES11 upgrade path) -%ifarch ppc64 -Obsoletes: libogg-64bit -%endif -# -Provides: %{name} = %{version} -#openSUSE 10.2 -Obsoletes: %{name} <= 1.1.3 - -%description -n libogg%{_SO_nr} -Libogg is a library for manipulating ogg bitstreams. It handles both -making ogg bitstreams and getting packets from ogg bitstreams. - -Ogg is the native bitstream format of the libvorbis (Ogg Vorbis audio -codec ) and the libtheora (Theora video codec) - -%package devel -License: BSD3c(or similar) -Summary: Include Files and Libraries mandatory for Ogg Development -Group: Development/Libraries/C and C++ -Requires: glibc-devel -Requires: libogg%{_SO_nr} = %{version} -# bug437293 (SLES10 -> SLES11 upgrade path) -%ifarch ppc64 -Obsoletes: libogg-devel-64bit -%endif -# - -%description devel -This package contains all necessary include files and libraries needed -to compile and develop applications that use libogg. - -%prep -%setup -q -%patch2 -if [ "%{_lib}" == "lib64" ]; then -%patch1 -fi - -%build -%configure --disable-static -%{__make} %{?_smp_mflags} - -%install -%{__make} DESTDIR=%{buildroot} docdir=%{_docdir}/%{name}-devel install -# remove unneeded files -%{__rm} -f %{buildroot}%{_libdir}/*.la - -%check -%{__make} check - -%post -n libogg%{_SO_nr} -p /sbin/ldconfig - -%postun -n libogg%{_SO_nr} -p /sbin/ldconfig - -%clean -%{__rm} -rf %{buildroot} - -%files -n libogg%{_SO_nr} -%defattr(0644,root,root,0755) -%doc AUTHORS CHANGES COPYING README -%{_libdir}/libogg.so.%{_SO_nr}* - -%files devel -%defattr(-,root,root) -%{_docdir}/%{name}-devel -%{_includedir}/ogg -%{_libdir}/libogg.so -%{_datadir}/aclocal/ogg.m4 -%{_libdir}/pkgconfig/ogg.pc - -%changelog diff --git a/libogg-1.2.2.tar.gz b/libogg-1.2.2.tar.gz new file mode 100644 index 0000000..8c53d55 --- /dev/null +++ b/libogg-1.2.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ab000574bc26d5f01284f5b0f50e12dc761d035c429f2e9c70cb2a9487d8cfba +size 411540 diff --git a/libogg.spec b/libogg.spec index 886d815..3c3578d 100644 --- a/libogg.spec +++ b/libogg.spec @@ -1,7 +1,7 @@ # -# spec file for package libogg (Version to_be_filled_by_service) +# spec file for package libogg # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# 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 @@ -19,14 +19,14 @@ %define _SO_nr 0 Name: libogg -Version: to_be_filled_by_service -Release: 1 +Version: 1.2.2 +Release: 0 Summary: Ogg Bitstream Library License: BSD3c(or similar) Url: http://www.vorbis.com/ # Group: System/Libraries -Source: %{name}-%{version}.tar.bz2 +Source: http://downloads.xiph.org/releases/ogg/%{name}-%{version}.tar.gz Source2: baselibs.conf Patch1: lib64.dif Patch2: m4.diff