Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2:Staging:F
twolame
twolame.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File twolame.spec of Package twolame
# # spec file for package twolame # # Copyright (c) 2006-2008 oc2pus # Copyright (c) 2017 SUSE LINUX 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: twolame Version: 0.3.13 %define sonum 0 Release: 0 Summary: An optimised MPEG Audio Layer 2 (MP2) encoder License: LGPL-2.1 Group: Productivity/Multimedia/Sound/Utilities Url: http://www.twolame.org/ Source0: http://prdownloads.sourceforge.net/twolame/%{name}-%{version}.tar.gz Source1: baselibs.conf BuildRequires: pkgconfig BuildRequires: pkgconfig(sndfile) >= 1.0.0 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description TwoLAME is an optimised MPEG Audio Layer 2 (MP2) encoder based on tooLAME by Mike Cheng, which in turn is based upon the ISO dist10 code and portions of LAME. TwoLAME includes libtwolame, a fully thread-safe shared library with an API very similar to LAME's. %package -n lib%{name}%{sonum} Summary: Shared libraries for TwoLame Group: System/Libraries %description -n lib%{name}%{sonum} TwoLAME is an optimised MPEG Audio Layer 2 (MP2) encoder based on tooLAME by Mike Cheng, which in turn is based upon the ISO dist10 code and portions of LAME. TwoLAME includes libtwolame, a fully thread-safe shared library with an API very similar to LAME's. This package contains the shared libraries for TwoLame. %package -n lib%{name}-devel Summary: Include Files and Libraries mandatory for Development Group: Development/Libraries/C and C++ Requires: lib%{name}%{sonum} = %{version} Provides: %{name}-devel = 0.3.10 Obsoletes: %{name}-devel < 0.3.10 %description -n lib%{name}-devel This package contains all necessary include files and libraries needed to develop applications that require these. %prep %setup -q sed -i 's|\r||g' doc/html/*.html chmod 644 doc/html/*.html %build export CFLAGS="%optflags -fno-strict-aliasing" %configure --disable-static make %{?_smp_mflags} %install %make_install install -dm 755 %{buildroot}%{_docdir} mv %{buildroot}%{_datadir}/doc/%{name} \ %{buildroot}%{_docdir}/%{name}-devel find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print %post -n lib%{name}%{sonum} -p /sbin/ldconfig %postun -n lib%{name}%{sonum} -p /sbin/ldconfig %files %defattr(-,root,root) %doc COPYING %{_bindir}/%{name} %{_mandir}/man1/%{name}.1* %files -n lib%{name}%{sonum} %defattr(-,root,root) %{_libdir}/lib%{name}.so.%{sonum}* %{_libdir}/lib%{name}.so.%{sonum} %files -n lib%{name}-devel %defattr(-,root,root) %doc AUTHORS ChangeLog README TODO %doc %{_docdir}/%{name}-devel %{_includedir}/* %{_libdir}/lib%{name}.so %{_libdir}/pkgconfig/%{name}.pc %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