Projects
Multimedia
libmp3splt
libmp3splt.spec
Sign Up
Log In
Username
Password
Sorry, you are not authorized to perform this action.
×
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libmp3splt.spec of Package libmp3splt (Revision 10)
Currently displaying revision
10
,
Show latest
# vim: set ts=4 sw=4 et: # Copyright (c) 2012 Pascal Bleser <pascal.bleser@opensuse.org> # # 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: libmp3splt Version: 0.9.2 Release: 0.pm.1 Summary: Library to split MP3 and Ogg Files Source: http://prdownloads.sourceforge.net/mp3splt/libmp3splt-%{version}.tar.gz Source99: libmp3splt-rpmlintrc Patch0: %name.patch URL: http://mp3splt.sourceforge.net/mp3splt_page/home.php License: GPL-2.0+ BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: pkgconfig(id3tag) BuildRequires: pkgconfig(libpcre) BuildRequires: pkgconfig(mad) BuildRequires: pkgconfig(ogg) BuildRequires: pkgconfig(vorbis) BuildRequires: pkgconfig(zlib) Recommends: %{name}%{soname}-mp3 = %{version} Recommends: %{name}%{soname}-ogg = %{version} %description Library to split mp3 and ogg files selecting a begin and an end time position, without decoding. It's very useful to split large mp3/ogg to make smaller files or to split entire albums to obtain original tracks. %package -n %{name}%{soname} Summary: Library to split MP3 and Ogg Files Recommends: %{name}-ogg = %{version}-%{release} Recommends: %{name}-mp3 = %{version}-%{release} Obsoletes: libmp3splt < %{version} Provides: libmp3splt = %{version} Obsoletes: libmp3split < %{version}-%{release} Provides: libmp3split = %{version}-%{release} %description -n %{name}%{soname} Library to split mp3 and ogg files selecting a begin and an end time position, without decoding. It's very useful to split large mp3/ogg to make smaller files or to split entire albums to obtain original tracks. %package -n %{name}%{soname}-mp3 Summary: MP3 Support Plugin for %{name} Requires: %{name}%{soname} = %{version}-%{release} Obsoletes: libmp3splt-mp3 < %{version} Provides: libmp3splt-mp3 = %{version} %description -n %{name}%{soname}-mp3 %{name} is a ibrary to split mp3 and ogg files selecting a begin and an end time position, without decoding. It's very useful to split large mp3/ogg to make smaller files or to split entire albums to obtain original tracks. This package contains the MP3 support plugin. %package -n %{name}%{soname}-ogg Summary: Ogg Support Plugin for %{name} Requires: %{name}%{soname} = %{version}-%{release} Obsoletes: libmp3splt-ogg < %{version} Provides: libmp3splt-ogg = %{version} %description -n %{name}%{soname}-ogg %{name} is a ibrary to split mp3 and ogg files selecting a begin and an end time position, without decoding. It's very useful to split large mp3/ogg to make smaller files or to split entire albums to obtain original tracks. This package contains the Ogg/Vorbis support plugin. %package -n libmp3splt-devel Summary: Library to Split MP3 and Ogg Files Requires: %{name}%{soname} = %{version}-%{release} Requires: pkgconfig(id3tag) Requires: pkgconfig(libpcre) Requires: pkgconfig(mad) Requires: pkgconfig(ogg) Requires: pkgconfig(vorbis) Requires: pkgconfig(zlib) %description -n libmp3splt-devel Library to split mp3 and ogg files selecting a begin and an end time position, without decoding. It's very useful to split large mp3/ogg to make smaller files or to split entire albums to obtain original tracks. %prep %autosetup -p1 -n "libmp3splt-%{version}" %build export CFLAGS='%optflags -fno-strict-aliasing -std=gnu99' [ -e ./configure ] || NOCONFIGURE=1 ./autogen.sh %configure \ --disable-doxygen_doc \ %make_build %install %make_install rm -fv "%{buildroot}%{_libdir}/libmp3splt".{a,la} rm -fv "%{buildroot}%{_libdir}/libmp3splt%{soname}"/*.a rm -fv "%{buildroot}%{_libdir}/libmp3splt%{soname}"/*.la pushd "%{buildroot}%{_datadir}/locale" mv fr_FR fr mv de_DE de popd %find_lang "libmp3splt%{soname}" %post -n libmp3splt%{soname} -p /sbin/ldconfig %postun -n libmp3splt%{soname} -p /sbin/ldconfig %files -n %{name}%{soname} -f libmp3splt%{soname}.lang %doc AUTHORS ChangeLog README %license COPYING %{_libdir}/libmp3splt.so.%{soname} %{_libdir}/libmp3splt.so.%{soname}.* %dir %{_libdir}/libmp3splt%{soname} %files -n %{name}%{soname}-mp3 %{_libdir}/libmp3splt%{soname}/libsplt_mp3.so* %files -n %{name}%{soname}-ogg %{_libdir}/libmp3splt%{soname}/libsplt_ogg.so* %files -n libmp3splt-devel %{_includedir}/libmp3splt %{_libdir}/libmp3splt.so %{_libdir}/pkgconfig/libmp3splt.pc %changelog
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.