Author: sagitter
Update of /cvs/free/rpms/moc/F-18
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv23265/F-18
Modified Files:
.cvsignore sources
Added Files:
moc-r2506+fsf_addr.patch moc.spec
Log Message:
moc-r2506+fsf_addr.patch:
xing.c | 4 ++--
xing.h | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
--- NEW FILE moc-r2506+fsf_addr.patch ---
diff --git a/decoder_plugins/mp3/xing.c b/decoder_plugins/mp3/xing.c
index 743cc3d..68a01dc 100644
--- a/decoder_plugins/mp3/xing.c
+++ b/decoder_plugins/mp3/xing.c
@@ -13,8 +13,8 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* $Id: xing.c,v 1.5 2002/11/18 16:32:21 daper Exp $
*/
diff --git a/decoder_plugins/mp3/xing.h b/decoder_plugins/mp3/xing.h
index 8cb1c2a..1f26e09 100644
--- a/decoder_plugins/mp3/xing.h
+++ b/decoder_plugins/mp3/xing.h
@@ -13,8 +13,8 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* $Id: xing.h,v 1.3 2002/10/04 13:38:09 daper Exp $
*/
--- NEW FILE moc.spec ---
# Set up a new macro to define MOC's 'mocp' executable
%global exec mocp
Name: moc
Summary: Music on Console - Console audio player for Linux/UNIX
Version: 2.5.0
Release: 0.9.beta1%{?dist}
License: GPLv2+ and GPLv3+
URL:
http://www.moc.daper.net
Source0:
http://ftp.daper.net/pub/soft/moc/unstable/%{name}-%{version}-beta1.tar.bz2
## This patch corrects all outdated FSF address
Patch0: %{name}-r2506+fsf_addr.patch
BuildRequires: pkgconfig(ncurses)
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(jack)
BuildRequires: pkgconfig(libcurl)
BuildRequires: pkgconfig(samplerate)
BuildRequires: ffmpeg-devel
BuildRequires: pkgconfig(taglib)
BuildRequires: pkgconfig(speex)
BuildRequires: libmad-devel
BuildRequires: pkgconfig(id3tag)
BuildRequires: pkgconfig(vorbis)
BuildRequires: pkgconfig(flac)
BuildRequires: pkgconfig(zlib)
BuildRequires: pkgconfig(sndfile)
BuildRequires: pkgconfig(libmodplug)
BuildRequires: pkgconfig(libtimidity)
BuildRequires: pkgconfig(wavpack)
BuildRequires: libdb-devel
BuildRequires: libtool-ltdl-devel
BuildRequires: gettext-devel
BuildRequires: pkgconfig(opus)
BuildRequires: libtool
BuildRequires: librcc-devel
Requires: ffmpeg
Requires: opus
%description
MOC (music on console) is a console audio player for LINUX/UNIX designed to be
powerful and easy to use. You just need to select a file from some directory
using the menu similar to Midnight Commander, and MOC will start playing all
files in this directory beginning from the chosen file.
%prep
%setup -q -n %{name}-%{version}-beta1
%patch0 -p1 -b %{name}-r2506+fsf_addr.patch
%build
%configure --disable-static --with-rcc \
--with-oss --with-alsa --with-jack --with-aac --with-mp3 \
--with-musepack --with-vorbis --with-flac --with-wavpack \
--with-sndfile --with-modplug --with-ffmpeg --with-speex \
--with-samplerate --with-curl
make %{?_smp_mflags}
%install
%make_install
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc
rm -f $RPM_BUILD_ROOT%_libdir/*.la
rm -f $RPM_BUILD_ROOT%_libdir/moc/decoder_plugins/*.la
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%doc README README_equalizer AUTHORS ChangeLog COPYING config.example keymap.example NEWS
%dir %{_datadir}/%{name}
%{_bindir}/%{exec}
%{_datadir}/%{name}/themes/*
%{_mandir}/man1/%{exec}.*
%dir %{_libdir}/%{name}
%{_libdir}/%{name}/decoder_plugins
%changelog
* Sat Jun 08 2013 Antonio Trande <sagitter(a)fedoraproject.org> 2.5.0-0.9.beta1
- Removed some explicit Requires (curl, jack-audio-connection-kit, ncurses, speex)
* Fri Jun 07 2013 Antonio Trande <sagitter(a)fedoraproject.org> 2.5.0-0.8.beta1
- Fixed Source0 line
- Package owns %%{_libdir}/%%{name} directory
* Mon May 20 2013 Antonio Trande <sagitter(a)fedoraproject.org> 2.5.0-0.7.beta1
- Dist tag changed to %%{?dist}
* Tue Apr 09 2013 Antonio Trande <sagitter(a)fedoraproject.org> 2.5.0-0.6.beta1
- Removed autoreconf task from %%build section
* Fri Apr 05 2013 Antonio Trande <sagitter(a)fedoraproject.org> 2.5.0-0.5.beta1
- Removed libRCC explicit require
* Sun Mar 03 2013 Antonio Trande <sagitter(a)fedoraproject.org> 2.5.0-0.4.beta1
- Removed DESTDIR from %%make_install
- Changed source link with a public one
- Set up a new macro to define MOC's 'mocp' executable
- Added %%{name} prefix to the patch
* Tue Dec 25 2012 Antonio Trande <sagitter(a)fedoraproject.org> 2.5.0-0.3.beta1
- Added librcc support (fixes encoding in broken mp3 tags)
* Mon Oct 22 2012 Antonio Trande <sagitter(a)fedoraproject.org> 2.5.0-0.2.beta1
- Added patch to fix FSF address
* Mon Oct 22 2012 Antonio Trande <sagitter(a)fedoraproject.org> 2.5.0-0.1.beta1
- 2.5.0-beta1
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/moc/F-18/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 8 Jun 2013 14:24:00 -0000 1.1
+++ .cvsignore 8 Jun 2013 19:51:22 -0000 1.2
@@ -0,0 +1 @@
+moc-2.5.0-beta1.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/free/rpms/moc/F-18/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 8 Jun 2013 14:24:00 -0000 1.1
+++ sources 8 Jun 2013 19:51:22 -0000 1.2
@@ -0,0 +1 @@
+795ecba86847e082aa2f21937cc04804 moc-2.5.0-beta1.tar.bz2