Sophie

Sophie

distrib > Mageia > 5 > x86_64 > by-pkgid > 37fcfc0bf32e4211ce2c7989a5b027a0 > files > 5

mp3splt-gtk-0.9.1-3.mga5.src.rpm

Name:		mp3splt-gtk
Version:	0.9.1
Release:	%mkrel 3
Summary:	GTK utility to split MP3 and Ogg Files without decoding
#Source0:	http://ioalex.net/testing_downloads/snapshots/%%{rev}/%%{name}-%%{version}.tar.gz
Source0:	http://prdownloads.sourceforge.net/mp3splt/mp3splt-gtk-%{version}.tar.gz
Patch1:		mp3splt-gtk-0.9-fix_desktop_file.patch
Patch2:		mp3splt-gtk-0.9-automake1.13.patch
Patch3:		mp3splt-gtk-0.7.3-fix-str-fmt.patch
URL:		http://mp3splt.sourceforge.net
Group:		Sound/Utilities
License:	GPLv2+
BuildRequires:	gstreamer1.0-devel
BuildRequires:	libmp3splt-devel
BuildRequires:	pkgconfig(gtk+-3.0)
BuildRequires:	libpng-devel
#BuildRequires:	audacious-devel
BuildRequires:	gnome-doc-utils
BuildRequires:	gnomeui2-devel
BuildRequires:	gettext-devel
BuildRequires:	shtool

%description
GTK utility to split mp3 and ogg files selecting a begin and an end time
position, without decoding. It is very useful to split large mp3/ogg
to make smaller files or to split entire albums to obtain original tracks.

%prep
%setup -q
%apply_patches

%build
#to get latest files
autoreconf -vfi
%configure2_5x \
	--disable-rpath \
	--disable-doxygen_doc \
	--enable-gtk3 \
	--disable-audacious
%make V=1

%install
%makeinstall_std

# desktop file
mkdir -p %{buildroot}%{_datadir}/applications
desktop-file-install \
	--remove-category=Application \
	--dir=%{buildroot}%{_datadir}/applications/ \
		%{name}.desktop

%find_lang %{name} --with-gnome

#there's no automatic way to add .omf files to lang list
for omf in %{buildroot}%{_datadir}/omf/%{name}/*-??*.omf;do
echo "%lang($(basename $omf|sed -e s/.*-// -e s/.omf//)) $(echo $omf|sed -e s!%{buildroot}!!)" >> %{name}.lang
done

%files -f %{name}.lang
%doc AUTHORS ChangeLog NEWS README
%{_bindir}/%{name}
%{_datadir}/%{name}
%{_datadir}/pixmaps/%{name}*.*
%{_datadir}/applications/%{name}.desktop
%{_mandir}/man1/%{name}.*


%changelog
* Wed Oct 15 2014 umeabot <umeabot> 0.9.1-3.mga5
+ Revision: 740874
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 0.9.1-2.mga5
+ Revision: 682634
- Mageia 5 Mass Rebuild

* Sat Jun 07 2014 wally <wally> 0.9.1-1.mga5
+ Revision: 634358
- new version 0.9.1
- disable audacious support for now as it doesn't build
- drop unneeded 'undef GTK_DISABLE_DEPRECATED' patch

* Sat Oct 19 2013 umeabot <umeabot> 0.9-3.mga4
+ Revision: 532358
- Mageia 4 Mass Rebuild

* Tue Aug 20 2013 wally <wally> 0.9-2.mga4
+ Revision: 468083
- fix build with new gtk3 (use deprecated symbols)
- add patch to suppress automake warnings (subdir-objects)

* Wed Jul 24 2013 wally <wally> 0.9-1.mga4
+ Revision: 457820
- new version 0.9
- rediff .desktop file patch
- drop unneeded build fix patch

* Fri May 24 2013 wally <wally> 0.8.2-1.mga4
+ Revision: 426782
- add patch to fix build
- new version 0.8.2
- drop unneeded linking patch

* Sat Jan 12 2013 umeabot <umeabot> 0.7.3-3.mga3
+ Revision: 360391
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Sat Dec 29 2012 barjac <barjac> 0.7.3-2.mga3
+ Revision: 336229
- changed group in line with new policy

* Sun Sep 02 2012 wally <wally> 0.7.3-1.mga3
+ Revision: 287398
- new version 0.7.3
- add a patch to fix str fmt
- clean .spec a bit

* Mon Jun 04 2012 wally <wally> 0.7.2-1.mga3
+ Revision: 254372
- new version 0.7.2
- add P2 to fix build

* Wed Nov 16 2011 wally <wally> 0.7.1-1.mga2
+ Revision: 168308
- drop unneeded P2
- new version 0.7.1

* Fri Oct 14 2011 wally <wally> 0.7.0.934-1.mga2
+ Revision: 155215
- new snapshot

* Fri Oct 07 2011 wally <wally> 0.7.0.932-1.mga2
+ Revision: 152877
- new snapshot 0.7.0.932
- drop P0 and rediff P1
- add P2 to fix build with gtk3
- disable doc build
- fix summary and description
- imported package mp3splt-gtk


* Sun Mar 06 2011 Jani Välimaa <wally@mandriva.org> 0.6.1a-1mdv2011.0
+ Revision: 642305
- new version 0.6.1a
- add patches to fix Makefile and .desktop file
- use upstream .desktop file

* Fri Oct 01 2010 Jani Välimaa <wally@mandriva.org> 0.6-1mdv2011.0
+ Revision: 582294
- new version 0.6
- drop unneeded patch

* Fri Aug 27 2010 Jani Välimaa <wally@mandriva.org> 0.5.9-1mdv2011.0
+ Revision: 573592
- import mp3splt-gtk