Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:tiwai
libvorbis-sse2
libvorbis-sse2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libvorbis-sse2.spec of Package libvorbis-sse2
# # spec file for package libvorbis-sse3 (Version 1.3.2) # # Copyright (c) 2010 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 modsfx sse2 Name: libvorbis-%modsfx Version: 1.3.2 Release: 2 #to_be_filled_by_service License: BSD3c(or similar) Summary: The Vorbis General Audio Compression Codec Url: http://www.vorbis.com/ Group: System/Libraries # bug437293 (SLES10 -> SLES11 upgrade path) %ifarch ppc64 Obsoletes: libvorbis-64bit %endif # Source: libvorbis-%{version}.tar.bz2 Source2: baselibs.conf Patch1: libvorbis-lib64.dif Patch2: libvorbis-m4.dif # URL http://www.geocities.jp/aoyoume/aotuv/ # 'Patch5: libvorbis-%%{version}-aotuv-b5.7.diff' # PATCH-FIX-UPSTREAM libvorbis-pkgconfig.patch https://trac.xiph.org/ticket/1759 reddwarf@opensuse.org -- Use Requires/Libs.private to avoid overlinking Patch10: libvorbis-pkgconfig.patch BuildRequires: libogg-devel BuildRequires: fdupes pkgconfig ExclusiveArch: %{ix86} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Vorbis is a fully open, nonproprietary, patent-and-royalty-free, and general-purpose compressed audio format for audio and music at fixed and variable bit rates from 16 to 128 kbps/channel. The native bitstream format of Vorbis is libogg (Ogg). Alternatively, libmatroska (matroska) can also be used. %package -n libvorbis-%{modsfx}_0 Summary: The Vorbis General Audio Compression Codec Group: System/Libraries License: BSD3c(or similar) %description -n libvorbis-sse3_0 Vorbis is a fully open, nonproprietary, patent-and-royalty-free, and general-purpose compressed audio format for audio and music at fixed and variable bit rates from 16 to 128 kbps/channel. The native bitstream format of Vorbis is libogg (Ogg). Alternatively, libmatroska (matroska) can also be used. %package -n libvorbisenc-%{modsfx}_2 Summary: The Vorbis General Audio Compression Codec Group: System/Libraries License: BSD3c(or similar) %description -n libvorbisenc-%{modsfx}_2 Vorbis is a fully open, nonproprietary, patent-and-royalty-free, and general-purpose compressed audio format for audio and music at fixed and variable bit rates from 16 to 128 kbps/channel. The native bitstream format of Vorbis is libogg (Ogg). Alternatively, libmatroska (matroska) can also be used. %package -n libvorbisfile-%{modsfx}_3 Summary: The Vorbis General Audio Compression Codec Group: System/Libraries License: BSD3c(or similar) %description -n libvorbisfile-%{modsfx}_3 Vorbis is a fully open, nonproprietary, patent-and-royalty-free, and general-purpose compressed audio format for audio and music at fixed and variable bit rates from 16 to 128 kbps/channel. The native bitstream format of Vorbis is libogg (Ogg). Alternatively, libmatroska (matroska) can also be used. %prep %setup -q -n libvorbis-%{version} %patch2 # %%patch5 -p1 %patch10 if [ "%{_lib}" == "lib64" ]; then %patch1 fi %build case %{modsfx} in sse2) CFLAGS="$RPM_OPT_FLAGS -msse -msse2 -march=pentium4 -mfpmath=sse";; sse3) CFLAGS="$RPM_OPT_FLAGS -msse -msse2 -msse3 -march=core2 -mfpmath=sse";; *) CFLAGS="$RPM_OPT_FLAGS" esac export CFLAGS ./configure --prefix=%{_prefix} --libdir=%{_libdir}/%{modsfx} \ --includedir=%{_includedir} --datadir=%{_datadir} \ --docdir=%{_docdir} --mandir=%{_mandir} \ --disable-static make %{?_smp_mflags} %install %makeinstall rm -f %{buildroot}%{_libdir}/%{modsfx}/*.la rm -f %{buildroot}%{_libdir}/%{modsfx}/*.so rm -rf %{buildroot}%{_libdir}/%{modsfx}/pkgconfig rm -rf %{buildroot}%{_includedir}/* rm -rf %{buildroot}%{_datadir}/aclocal/* rm -rf %{buildroot}%{_datadir}/doc %check %__make check %post -n libvorbis-%{modsfx}_0 -p /sbin/ldconfig %postun -n libvorbis-%{modsfx}_0 -p /sbin/ldconfig %post -n libvorbisenc-%{modsfx}_2 -p /sbin/ldconfig %postun -n libvorbisenc-%{modsfx}_2 -p /sbin/ldconfig %post -n libvorbisfile-%{modsfx}_3 -p /sbin/ldconfig %postun -n libvorbisfile-%{modsfx}_3 -p /sbin/ldconfig %clean [ %{buildroot} != "/" ] && rm -rf %{buildroot} %files -n libvorbis-%{modsfx}_0 %defattr(0644,root,root,0755) %dir %{_libdir}/%{modsfx} %{_libdir}/%{modsfx}/libvorbis.so.0* %files -n libvorbisenc-%{modsfx}_2 %defattr(0644,root,root,0755) %dir %{_libdir}/%{modsfx} %{_libdir}/%{modsfx}/libvorbisenc.so.2* %files -n libvorbisfile-%{modsfx}_3 %defattr(0644,root,root,0755) %dir %{_libdir}/%{modsfx} %{_libdir}/%{modsfx}/libvorbisfile.so.3* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor