commit 3b8573cadbd76ea4c57d8a54f32f4bade495d406
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Sat Jul 9 14:32:34 2016 +0100
Update to 0.9.2 .
.gitignore | 1 +
libmp3splt.spec | 158 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 160 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..0abbce4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/libmp3splt-0.9.2.tar.gz
diff --git a/libmp3splt.spec b/libmp3splt.spec
new file mode 100644
index 0000000..72f061a
--- /dev/null
+++ b/libmp3splt.spec
@@ -0,0 +1,158 @@
+#global __arch_install_post /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot
+%global soname 0
+%bcond_with ltdl
+
+Summary: Libraries for the mp3Splt project
+Name: libmp3splt
+Version: 0.9.2
+Release: 1%{?dist}
+License: GPLv2
+Group: Development/Libraries
+Source:
http://downloads.sourceforge.net/mp3splt/%{name}-%{version}.tar.gz
+URL:
http://mp3splt.sourceforge.net/
+BuildRequires: gettext
+BuildRequires: libid3tag-devel
+BuildRequires: libmad-devel
+BuildRequires: libtool-ltdl-devel
+BuildRequires: libvorbis-devel
+BuildRequires: pcre-devel
+BuildRequires: doxygen, graphviz
+BuildRequires: pkgconfig
+BuildRequires: flac-devel
+BuildRequires: autoconf automake libtool gettext-devel
+
+%description
+The mp3Splt project provides utilities to split mp3 and ogg files,
+by selecting a begin and an end time position, without decoding.
+It is very useful to split large mp3/ogg into smaller files,
+or to split entire albums to obtain original tracks.
+To split an album, the split points and filenames can be selected
+manually or automatically from CDDB (internet or a local file),
+or from .cue files.
+
+It supports automatic silence detection, which can be used
+to adjust cddb/cue split points. It is also possible to extract
+tracks from Mp3Wrap or AlbumWrap files in a few seconds.
+
+The mp3splt project is divided in 3 parts:
+libmp3splt, mp3splt and mp3splt-gtk.
+
+%package devel
+Summary: Files for the development of applications which will use %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+This package contains development files for the mp3splt project.
+
+%prep
+%setup -q
+autoreconf -fiv
+# Avoid standard rpaths on lib64 archs:
+sed -i -e 's|"/lib /usr/lib\b|"/%{_lib} %{_libdir}|' configure
+
+%build
+%configure --disable-static \
+%if %{with ltdl}
+ --with-ltdl-lib=%{_libdir} \
+ --with-ltdl-include=%{_includedir}
+%endif
+
+%__make %{?_smp_mflags}
+
+%install
+make install DESTDIR=%{buildroot}
+
+# Remove libtool la files:
+find %{buildroot}%{_libdir} -name '*.la' -exec rm -f {} ';'
+
+%find_lang %{name}%{soname}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files -f %{name}%{soname}.lang
+%doc AUTHORS NEWS README ChangeLog
+%license COPYING
+%{_libdir}/%{name}.so.*
+%{_libdir}/%{name}%{soname}/libsplt_mp3.so.*
+%{_libdir}/%{name}%{soname}/libsplt_ogg.so.*
+%{_libdir}/%{name}%{soname}/libsplt_flac.so.*
+%exclude %{_docdir}/%{name}/doxygen
+
+%files devel
+%{_includedir}/%{name}/*.h
+%{_libdir}/%{name}.so
+%{_libdir}/%{name}%{soname}/libsplt_mp3.so
+%{_libdir}/%{name}%{soname}/libsplt_ogg.so
+%{_libdir}/%{name}%{soname}/libsplt_flac.so
+%{_libdir}/pkgconfig/%{name}.pc
+%{_docdir}/%{name}/doxygen
+
+%changelog
+* Wed Jul 01 2015 Sérgio Basto <sergio(a)serjux.com> - 0.9.2-1
+- Update to 0.9.2 .
+
+* Fri Aug 30 2013 Paulo Roma <roma(a)lcg.ufrj.br> 0.9.0-13
+- Updated to 0.9.0
+- Added BR flac-devel.
+
+* Sun Mar 31 2013 Paulo Roma <roma(a)lcg.ufrj.br> 0.8.2-12
+- Updated to 0.8.2
+- Changed libmp3splt for libmp3splt%%{soname}.
+
+* Fri Sep 07 2012 Paulo Roma <roma(a)lcg.ufrj.br> 0.7.3-11
+- Updated to 0.7.3
+
+* Wed Jun 06 2012 Paulo Roma <roma(a)lcg.ufrj.br> 0.7.2-10
+- Updated to 0.7.2
+
+* Wed Jan 04 2012 Paulo Roma <roma(a)lcg.ufrj.br> 0.7.1-9
+- Updated to 0.7.1
+- Added BR doxygen.
+- Added doxygen files.
+
+* Sat Sep 03 2011 Paulo Roma <roma(a)lcg.ufrj.br> 0.7-9
+- Updated to 0.7
+
+* Sun Mar 13 2011 Paulo Roma <roma(a)lcg.ufrj.br> 0.6.1a-8
+- Updated to 0.6.1a
+
+* Mon Sep 27 2010 Paulo Roma <roma(a)lcg.ufrj.br> 0.6-6
+- Updated to 0.6
+
+* Wed Feb 17 2010 Paulo Roma <roma(a)lcg.ufrj.br> 0.5.9-6
+- Updated to 0.5.9
+
+* Wed Nov 04 2009 Paulo Roma <roma(a)lcg.ufrj.br> 0.5.8a-6
+- Updated to 0.5.8a
+- Using %%bcond_with ltdl.
+
+* Sat Oct 31 2009 Paulo Roma <roma(a)lcg.ufrj.br> 0.5.8-5
+- Updated to 0.5.8
+- Removed "sed echo" from build section.
+
+* Thu Jul 30 2009 Paulo Roma <roma(a)lcg.ufrj.br> 0.5.7a-4
+- Bugfix release: 0.5.7a
+
+* Mon Jul 27 2009 Paulo Roma <roma(a)lcg.ufrj.br> 0.5.7-4
+- Updated to 0.5.7
+- Moved libsplt_mp3.so and libsplt_ogg.so back to devel.
+- Using find_lang.
+
+* Tue Jun 23 2009 Paulo Roma <roma(a)lcg.ufrj.br> 0.5.6-3
+- Fixed #476061 - libsplt_mp3.so and libsplt_ogg.so
+ moved from devel to the main package.
+
+* Sat May 16 2009 Paulo Roma <roma(a)lcg.ufrj.br> 0.5.6-2
+- Updated to 0.5.6
+
+* Sat May 09 2009 Paulo Roma <roma(a)lcg.ufrj.br> 0.5.5-2
+- Updated to 0.5.5
+- Added BR libid3tag-devel and libtool-ltdl.
+- Fixed configure for finding libtool-ltdl.
+
+* Sun Aug 26 2007 Paulo Roma <roma(a)lcg.ufrj.br> 0.3.1-1
+- Initial spec file.
+
diff --git a/sources b/sources
index e69de29..f36efd4 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+28009187c1cbd0bce50138029532647d libmp3splt-0.9.2.tar.gz