libmp3splt.spec mp3splt.spec mp3splt-gtk.spec

Sergio Monteiro Basto <[email protected]>
Newsgroups gmane.linux.redhat.rpm.atrpms.devel
Message-ID <1299637247.8001.7.camel@segulix>
Hi, I send to you new specs for new releases:

libmp3splt-0.6.1a.tar.gz 
mp3splt-2.3a.tar.gz
mp3splt-gtk-0.6.1a.tar.gz

on mp3splt-gtk, I have to comment "sed -i " line seems fixed upstream.
and in %files add 
/usr/share/gnome/*                                                                                                                         
/usr/share/mp3splt-gtk/*                                                                                                                   
/usr/share/omf/* 

In new releases have been add support to "save project". 
Hope that help and you update this packages ;)
I don't test this news packages, yet 

Thanks, 
-- 
Sérgio M. B.
libmp3splt.spec (text/x-rpm-spec, 3.6 KB)
%bcond_with ltdl

Summary:       Libraries for the mp3Splt project
Name:          libmp3splt
Version:       0.6.1a
Release:       1%{?dist}
License:       GPLv2
Group:         Development/Libraries
Source:        http://downloads.sourceforge.net/mp3splt/%{name}-%{version}.tar.gz
URL:           http://mp3splt.sourceforge.net/
BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gettext
BuildRequires: libid3tag-devel 
BuildRequires: libmad-devel 
BuildRequires: libtool-ltdl-devel
BuildRequires: libvorbis-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
# Avoid standard rpaths on lib64 archs:
sed -i -e 's|"/lib /usr/lib\b|"/%{_lib} %{_libdir}|' configure

%build
%configure \
%if %{with ltdl}
           --with-ltdl-lib=%{_libdir} \
           --with-ltdl-include=%{_includedir}
%endif

make

%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}

%find_lang %{name}

%clean
rm -rf %{buildroot}

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README TODO
%{_libdir}/libmp3splt.so.*
%{_libdir}/libmp3splt/libsplt_mp3.so.*
%{_libdir}/libmp3splt/libsplt_ogg.so.*
%exclude %{_libdir}/libmp3splt/libsplt*.la
%{_datadir}/aclocal/mp3splt.m4

%files devel
%defattr(-,root,root,-)
%{_includedir}/%{name}/*.h
%{_libdir}/libmp3splt.so
%{_libdir}/libmp3splt/libsplt_mp3.so
%{_libdir}/libmp3splt/libsplt_ogg.so
%exclude %{_libdir}/libmp3splt*.la
%{_libdir}/libmp3splt.a
%{_libdir}/libmp3splt/libsplt_mp3.a
%{_libdir}/libmp3splt/libsplt_ogg.a

%changelog
* Mon Sep 27 2010 Paulo Roma <[email protected]> 0.6-6
- Updated to 0.6

* Wed Feb 17 2010 Paulo Roma <[email protected]> 0.5.9-6
- Updated to 0.5.9

* Wed Nov 04 2009 Paulo Roma <[email protected]> 0.5.8a-6
- Updated to 0.5.8a
- Using %%bcond_with ltdl.

* Sat Oct 31 2009 Paulo Roma <[email protected]> 0.5.8-5
- Updated to 0.5.8
- Removed "sed echo" from build section. 

* Thu Jul 30 2009 Paulo Roma <[email protected]> 0.5.7a-4
- Bugfix release: 0.5.7a

* Mon Jul 27 2009 Paulo Roma <[email protected]> 0.5.7-4
- Updated to 0.5.7
- Moved libsplt_mp3.so and libsplt_ogg.so back to devel.
- Using find_lang.

* Thu Jun 23 2009 Paulo Roma <[email protected]> 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 <[email protected]> 0.5.6-2
- Updated to 0.5.6

* Sat May 09 2009 Paulo Roma <[email protected]> 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 <[email protected]> 0.3.1-1
- Initial spec file.
mp3splt.spec (text/x-rpm-spec, 2.7 KB)
Summary:   A Free, command-line, AlbumWrap and mp3wrap file exctractor
Name:      mp3splt
Version:   2.3a
Release:   1%{?dist}
License:   GPLv2
Group:     Applications/Multimedia
Source:    http://download.sourceforge.net/sourceforge/mp3splt/mp3splt-%{version}.tar.gz
URL:       http://mp3splt.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libmp3splt-devel > 0.5.9 libtool-ltdl-devel
BuildRequires: gettext

%description
Mp3Splt is a command line utility 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 VBR mp3, and it is also possible to extract tracks 
from Mp3Wrap or AlbumWrap files in a few seconds.

%prep
%setup -q
%{_bindir}/iconv -f iso8859-1 -t utf8 AUTHORS -o AUTHORS.txt
touch -r AUTHORS AUTHORS.txt
mv AUTHORS.txt AUTHORS

%build
%configure --with-mp3splt-includes=%{_includedir}/libmp3splt \
           --enable-oggsplt_symlink
           
make

%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}

%find_lang %{name}

%clean
rm -rf %{buildroot}

%files -f %{name}.lang
%defattr (-,root,root,-)
%doc AUTHORS COPYING README
%{_bindir}/mp3splt
%{_bindir}/oggsplt
%{_mandir}/man1/%{name}*.gz
%{_mandir}/man1/oggsplt*.gz

%changelog
* Mon Sep 27 2010 Paulo Roma <[email protected]> 2.2.9-6
- Updated to 2.2.9

* Wed Feb 17 2010 Paulo Roma <[email protected]> 2.2.8-6
- Updated to 2.2.8

* Wed Nov 04 2009 Paulo Roma <[email protected]> 2.2.7a-6
- Updated to 2.2.7a

* Sat Oct 31 2009 Paulo Roma <[email protected]> 2.2.7-6
- Updated to 2.2.7

* Thu Jul 30 2009 Paulo Roma <[email protected]> 2.2.6a-6
- Bugfix release: 2.2.6a

* Mon Jul 27 2009 Paulo Roma <[email protected]> 2.2.6-6
- Updated to 2.2.6
- Using find_lang.

* Sat May 16 2009 Paulo Roma <[email protected]> 2.2.5-5
- Updated to 2.2.5

* Mon May 11 2009 Paulo Roma <[email protected]> 2.2.4-5
- Added BR libtool-ltdl-devel.

* Sat May 09 2009 Paulo Roma <[email protected]> 2.2.4-4
- Updated to 2.2.4
- Touching AUTHORS file.
- Updated Source download link.
- Removed obsolete gcc 4.1 patch.

* Wed Jul 30 2008 Paulo Roma <[email protected]> 2.1-3
- Patched for building on gcc 4.1.
- Converted AUTHORS to utf8.

* Sat Nov 17 2007 Paulo Roma <[email protected]> 2.1-2
- Using CC=gcc and relying on forcegcc
  for chosing the appropriate compiler (gcc34 or gcc32).

* Thu Jul 12 2007 Paulo Roma <[email protected]> 2.1-1
- Initial spec file.
mp3splt-gtk.spec (text/x-rpm-spec, 3.5 KB)
%bcond_without audacious

Summary: Gtk frontend for mp3splt 
Name:    mp3splt-gtk
Version: 0.6.1a
Release: 1%{?dist}
License: GPLv2
Group:   Applications/Multimedia
Source:  http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
URL:     http://mp3splt.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: dbus-glib-devel
BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: gtk2-devel 
BuildRequires: libmp3splt-devel >= %{version}
BuildRequires: libtool-ltdl-devel
BuildRequires: gstreamer-devel 
BuildRequires: gstreamer-plugins-base-devel

%{?with_audacious:BuildRequires: audacious-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.

%prep
%setup -q
%{_bindir}/iconv -f iso8859-1 -t utf8 AUTHORS -o AUTHORS.txt
touch -r AUTHORS AUTHORS.txt
mv AUTHORS.txt AUTHORS
#sed -i -e's,/usr/share/mp3splt-gtk/mp3splt-gtk_ico.png,mp3splt-gtk_ico,g' mp3splt-gtk.desktop

%build
export LDFLAGS="$LDFLAGS -laudclient -lm"
%configure --with-mp3splt-includes=%{_includedir}/libmp3splt \
           %{!?with_audacious:--disable-audacious}

make

%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}

# menu entry
desktop-file-install --delete-original                          \
                     --vendor ""                                \
                     --dir %{buildroot}%{_datadir}/applications \
                     %{_builddir}/%{name}-%{version}/%{name}.desktop

%find_lang %{name}

%clean
rm -rf %{buildroot}

%files -f %{name}.lang
%defattr (-,root,root,0755)
%doc ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL README
/usr/share/gnome/*
/usr/share/mp3splt-gtk/*
/usr/share/omf/*
%{_bindir}/%{name}
%{_datadir}/pixmaps/%{name}.png
%{_datadir}/pixmaps/%{name}_ico.svg
%{_datadir}/applications/%{name}.desktop
%{_mandir}/man1/mp3splt-gtk.*

%changelog
* Mon Sep 27 2010 Paulo Roma <[email protected]> 0.6-6
- Updated to 0.6

* Mon Feb 22 2010 Paulo Roma <[email protected]> 0.5.9-6_1
- Linking with audclient.

* Wed Feb 17 2010 Paulo Roma <[email protected]> 0.5.9-6
- Updated to 0.5.9
- Using desktop-file-install.

* Wed Nov 04 2009 Paulo Roma <[email protected]> 0.5.8a-5
- Updated to 0.5.8a

* Sat Oct 31 2009 Paulo Roma <[email protected]> 0.5.8-5
- Updated to 0.5.8

* Thu Jul 30 2009 Paulo Roma <[email protected]> 0.5.7a-5
- Bugfix release: 0.5.7a

* Mon Jul 27 2009 Paulo Roma <[email protected]> 0.5.7-5
- Updated to 0.5.7

* Sat May 16 2009 Paulo Roma <[email protected]> 0.5.6-4
- Updated to 0.5.6

* Mon May 11 2009 Paulo Roma <[email protected]> 0.5.5-4
- Added BR libtool-ltdl-devel and dbus-glib-devel.

* Sat May 09 2009 Paulo Roma <[email protected]> 0.5.5-3
- Updated to 0.5.5

* Sun Mar 21 2009 Paulo Roma <[email protected]> 0.3.1-2
- Using find_lang.
- Converted AUTHORS to utf8.

* Sun Aug 26 2007 Paulo Roma <[email protected]> 0.3.1-1
- Initial spec file.
smime.p7s (application/x-pkcs7-signature, 3.2 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.