Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:frispete:wine
wine-mp3
wine-mp3.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File wine-mp3.spec of Package wine-mp3
# # spec file for package wine-mp3 (Version 1.1.39) # # 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/ # Name: wine-mp3 BuildRequires: wine-devel wine BuildRequires: pkgconfig(libmpg123) License: LGPL Group: System/Emulators/PC AutoReqProv: on Version: 1.1.39 Release: 1 Summary: Wine MP3 ACM codec Url: http://www.winehq.com # cp dlls/winemp3.acm/mpegl3.c . Source0: mpegl3.c # cp dlls/winemp3.acm/winemp3.acm.spec . Source1: winemp3.acm.spec Source2: baselibs.conf # patch to build stand-alone Patch0: mpegl3.patch # make it build on sle11 sp3 %if 0%{?suse_version} == 1110 BuildRequires: gcc47 #!BuildIgnore: libgcc43 #!BuildIgnore: libgomp43 %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This is a standalone build of Wines MP3 ACM module, based on libmpg123. You will need libmpg123-devel to build it. %prep cp %SOURCE0 . %patch0 cp %SOURCE1 . %build gcc -c -D_FILE_OFFSET_BITS=64 -D__WINESRC__ -DHAVE_MPG123_H -I/usr/include/wine -I/usr/include/wine/windows -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wtype-limits -Wwrite-strings -Wpointer-arith $RPM_OPT_FLAGS -o mpegl3.o mpegl3.c winegcc -shared winemp3.acm.spec mpegl3.o -o winemp3.acm.so -lwinmm -luser32 -lkernel32 -lmpg123 %if 0%{?suse_version} >= 1120 winegcc -shared winemp3.acm.spec mpegl3.o -o winemp3.acm.fake -lwinmm -luser32 -lkernel32 -lmpg123 %endif %install mkdir -p $RPM_BUILD_ROOT/%{_libdir}/wine install -c -m 755 winemp3.acm.so $RPM_BUILD_ROOT/%{_libdir}/wine %if 0%{?suse_version} >= 1120 mkdir -p $RPM_BUILD_ROOT/%{_libdir}/wine/fakedlls install -c -m 755 winemp3.acm.fake $RPM_BUILD_ROOT/%{_libdir}/wine/fakedlls/winemp3.acm %endif %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %dir %{_libdir}/wine %{_libdir}/wine/*.so %if 0%{?suse_version} >= 1120 %dir %{_libdir}/wine/fakedlls %{_libdir}/wine/fakedlls/* %endif %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