Compare commits

..

3 commits

Author SHA1 Message Date
Fedora Release Engineering
85fe66227c dist-git conversion 2010-07-29 15:59:43 +00:00
Bill Nottingham
3f35c3f5bd Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:35:00 +00:00
Jesse Keating
d279ae708c Initialize branch F-9 for xmms-flac 2008-04-22 03:05:22 +00:00
5 changed files with 137 additions and 1 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
flac-1.1.4.tar.gz

View file

@ -1 +0,0 @@
now provided as a subpackage of flac

1
sources Normal file
View file

@ -0,0 +1 @@
3958cbd5b6ed8c14966792538e44223b flac-1.1.4.tar.gz

View file

@ -0,0 +1,44 @@
diff -Naupr flac-1.1.4.orig/src/plugin_xmms/Makefile.am flac-1.1.4/src/plugin_xmms/Makefile.am
--- flac-1.1.4.orig/src/plugin_xmms/Makefile.am 2007-02-02 07:25:04.000000000 +0100
+++ flac-1.1.4/src/plugin_xmms/Makefile.am 2007-08-23 12:03:05.000000000 +0200
@@ -30,7 +30,7 @@ noinst_HEADERS = \
plugin.h \
tag.h
-AM_CFLAGS = @OGG_CFLAGS@ @XMMS_CFLAGS@
+AM_CFLAGS = @OGG_CFLAGS@ @XMMS_CFLAGS@ -lFLAC
INCLUDES = -I$(top_srcdir)/src
if FLaC__INSTALL_XMMS_PLUGIN_LOCALLY
@@ -62,8 +62,7 @@ libxmms_flac_la_LIBADD = \
$(top_builddir)/src/share/replaygain_analysis/libreplaygain_analysis.la \
$(top_builddir)/src/share/replaygain_synthesis/libreplaygain_synthesis.la \
$(top_builddir)/src/share/utf8/libutf8.la \
- $(top_builddir)/src/libFLAC/libFLAC.la \
- -L$(top_builddir)/src/libFLAC/.libs \
+ -lFLAC \
@OGG_LIBS@ \
@XMMS_LIBS@ \
@LIBICONV@
diff -Naupr flac-1.1.4.orig/src/plugin_xmms/Makefile.in flac-1.1.4/src/plugin_xmms/Makefile.in
--- flac-1.1.4.orig/src/plugin_xmms/Makefile.in 2007-02-14 07:14:19.000000000 +0100
+++ flac-1.1.4/src/plugin_xmms/Makefile.in 2007-08-23 12:03:20.000000000 +0200
@@ -235,7 +235,7 @@ noinst_HEADERS = \
tag.h
-AM_CFLAGS = @OGG_CFLAGS@ @XMMS_CFLAGS@
+AM_CFLAGS = @OGG_CFLAGS@ @XMMS_CFLAGS@ -lFLAC
INCLUDES = -I$(top_srcdir)/src
@FLaC__INSTALL_XMMS_PLUGIN_LOCALLY_FALSE@xmmsinputplugindir = @XMMS_INPUT_PLUGIN_DIR@
@@ -261,8 +261,7 @@ libxmms_flac_la_LIBADD = \
$(top_builddir)/src/share/replaygain_analysis/libreplaygain_analysis.la \
$(top_builddir)/src/share/replaygain_synthesis/libreplaygain_synthesis.la \
$(top_builddir)/src/share/utf8/libutf8.la \
- $(top_builddir)/src/libFLAC/libFLAC.la \
- -L$(top_builddir)/src/libFLAC/.libs \
+ -lFLAC \
@OGG_LIBS@ \
@XMMS_LIBS@ \
@LIBICONV@

91
xmms-flac.spec Normal file
View file

@ -0,0 +1,91 @@
%define xmms_inputdir %(xmms-config --input-plugin-dir 2>/dev/null || echo %{_libdir}/xmms/General)
Summary: XMMS plugin needed to play FLAC (Free Lossless Audio Codec) files
Name: xmms-flac
Version: 1.1.4
Release: 4%{?dist}
# The entire FLAC sources are covered by multiple licenses, but the xmms plugin
# is only GPLv2+
License: GPLv2+
Group: Applications/Multimedia
URL: http://flac.sourceforge.net/
Source: http://dl.sf.net/flac/flac-%{version}.tar.gz
Patch0: xmms-flac-1.1.4-rpath.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: xmms-devel, libogg-devel, gettext-devel
BuildRequires: flac-devel
%description
FLAC is a Free Lossless Audio Codec. The FLAC format supports streaming,
seeking, and archival, and gives 25-75% compression on typical CD audio.
This is the input plugin for XMMS to be able to read FLAC files.
%prep
%setup -q -n flac-%{version}
%patch0 -p1 -b .rpath
%build
%configure --with-pic
%{__make} %{?_smp_mflags}
%install
%{__rm} -rf %{buildroot}
%{__install} -D -m 0755 src/plugin_xmms/.libs/libxmms-flac.so \
%{buildroot}%{xmms_inputdir}/libxmms-flac.so
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc COPYING.GPL
%{xmms_inputdir}/libxmms-flac.so
%changelog
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1.4-4
- Autorebuild for GCC 4.3
* Thu Aug 23 2007 Matthias Saou <http://freshrpms.net/> 1.1.4-3
- Include patch to remove rpath usage and link against external libFLAC.
* Fri Aug 3 2007 Matthias Saou <http://freshrpms.net/> 1.1.4-2
- Update License field.
* Thu Feb 15 2007 Matthias Saou <http://freshrpms.net/> 1.1.4-1
- Update to 1.1.4.
- Remove now included "xmms" patch.
- Remove no longer relevant "libtool" patch.
- No longer autoreconf, since we don't patch configure.in anymore.
* Mon Aug 28 2006 Matthias Saou <http://freshrpms.net/> 1.1.2-27
- FC6 rebuild.
* Mon Feb 13 2006 Matthias Saou <http://freshrpms.net/> 1.1.2-26
- Rebuild for new glibc/gcc.
* Tue Nov 22 2005 Matthias Saou <http://freshrpms.net/> 1.1.2-25
- Update patch with one provided from FLAC CVS by Øyvind Stegard to further
fix configuration dialog crashes (#173723).
* Sat May 28 2005 Matthias Saou <http://freshrpms.net/> 1.1.2-24
- Bump release to 24 since main Core flac obsoletes xmms-flac < 1.1.2-24.
- Add patches from FC flac to fix libtool issues on x86_64.
* Thu May 19 2005 Matthias Saou <http://freshrpms.net/> 1.1.2-2
- Add patch to fix memory double freeing issue (bz #157796).
* Thu May 19 2005 Matthias Saou <http://freshrpms.net/> 1.1.2-1
- Initial RPM release since the plugin was disabled from the main flac in
Core, because xmms was moved to Extras, thus no longer available at build
time for Core packages.
- Laziness has made me include the whole 1.4MB of FLAC sources, but if
someone wants to provide a simple script to extract only the relevant sources
in order to create a custom source package of the plugin only, that would
be great!