[packages/goom-2k4] - new
qboosh
qboosh at pld-linux.org
Wed Apr 10 20:53:37 CEST 2013
commit ad6f0270000b37792665b5f2dfb4c1ac19a5e3bb
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Apr 10 20:53:42 2013 +0200
- new
goom-2k4-link.patch | 12 +++++
goom-2k4.spec | 132 ++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 144 insertions(+)
---
diff --git a/goom-2k4.spec b/goom-2k4.spec
new file mode 100644
index 0000000..110717b
--- /dev/null
+++ b/goom-2k4.spec
@@ -0,0 +1,132 @@
+#
+# Conditional build:
+%bcond_without static_libs # static library
+#
+Summary: GOOM! audio visualization version 2
+Summary(pl.UTF-8): Wizualizacja dźwięku GOOM! wersja 2
+Name: goom-2k4
+Version: 0
+Release: 1
+License: LGPL
+Group: Applications/Graphics
+Source0: http://downloads.sourceforge.net/goom/%{name}-%{version}-src.tar.gz
+# Source0-md5: 8100dd07e0c6784fdf079eeaa53a5c7f
+Patch0: %{name}-link.patch
+URL: http://goom.sourceforge.net/
+BuildRequires: SDL-devel >= 1.2.0
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: gtk+-devel
+BuildRequires: libtool
+BuildRequires: xmms-devel >= 0.9.5.1
+Requires: libgoom2 = %{version}-%{release}
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+GOOM! audio visualization version 2.
+
+%description -l pl.UTF-8
+Wizualizacja dźwięku GOOM! wersja 2.
+
+%package -n libgoom2
+Summary: Goom audio visualisation effects library
+Summary(pl.UTF-8): Biblioteka efektów wizualnych dźwięku Goom
+Group: Libraries
+
+%description -n libgoom2
+Goom audio visualisation effects library.
+
+%description -n libgoom2 -l pl.UTF-8
+Biblioteka efektów wizualnych dźwięku Goom.
+
+%package -n libgoom2-devel
+Summary: Header files for Goom audio visualisation effects library
+Summary(pl.UTF-8): Pliki nagłówkowe biblioteki efektów wizualnych dźwięku Goom
+Group: Development/Libraries
+Requires: libgoom2 = %{version}-%{release}
+
+%description -n libgoom2-devel
+Header files for Goom audio visualisation effects library.
+
+%description -n libgoom2-devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki efektów wizualnych dźwięku Goom.
+
+%package -n libgoom2-static
+Summary: Goom audio visualisation effects static library
+Summary(pl.UTF-8): Statyczna biblioteka efektów wizualnych dźwięku Goom
+Group: Development/Libraries
+Requires: libgoom2-devel = %{version}-%{release}
+
+%description -n libgoom2-static
+Goom audio visualisation effects static library.
+
+%description -n libgoom2-static -l pl.UTF-8
+Statyczna biblioteka efektów wizualnych dźwięku Goom.
+
+%package -n xmms-visualization-goom2
+Summary: Goom 2 visualization plugin for XMMS
+Summary(pl.UTF-8): Wtyczka wizualizacji Goom 2 dla XMMS-a
+Group: Applications/Multimedia
+Requires: libgoom2 = %{version}-%{release}
+Requires: xmms >= 0.9.5.1
+
+%description -n xmms-visualization-goom2
+Goom 2 visualization plugin for XMMS.
+
+%description -n xmms-visualization-goom2 -l pl.UTF-8
+Wtyczka wizualizacji Goom 2 dla XMMS-a.
+
+%prep
+%setup -q -n goom2k4-%{version}
+%patch0 -p1
+
+%build
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__automake}
+%configure \
+ %{?with_static_libs:--enable-static}
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} $RPM_BUILD_ROOT%{xmms_visualization_plugindir}/*.la
+%{?with_static_libs:%{__rm} $RPM_BUILD_ROOT%{xmms_visualization_plugindir}/*.a}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -n libgoom2 -p /sbin/ldconfig
+%postun -n libgoom2 -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS COPYING ChangeLog README
+%attr(755,root,root) %{_bindir}/goom2
+
+%files -n libgoom2
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libgoom2.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libgoom2.so.0
+
+%files -n libgoom2-devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libgoom2.so
+%{_libdir}/libgoom2.la
+%{_includedir}/goom
+%{_pkgconfigdir}/libgoom2.pc
+
+%if %{with static_libs}
+%files -n libgoom2-static
+%defattr(644,root,root,755)
+%{_libdir}/libgoom2.a
+%endif
+
+%files -n xmms-visualization-goom2
+%defattr(644,root,root,755)
+%attr(755,root,root) %{xmms_visualization_plugindir}/libxmmsgoom2.so
diff --git a/goom-2k4-link.patch b/goom-2k4-link.patch
new file mode 100644
index 0000000..5b79dc7
--- /dev/null
+++ b/goom-2k4-link.patch
@@ -0,0 +1,12 @@
+--- goom2k4-0/src/Makefile.am.orig 2005-02-07 14:46:41.000000000 +0100
++++ goom2k4-0/src/Makefile.am 2013-04-10 16:45:10.781752647 +0200
+@@ -16,7 +16,8 @@
+ goom2_libdir = $(libdir)
+
+ goom2_library_includedir=$(includedir)/goom
+-goom2_library_include_HEADERS = goom.h goom_plugin_info.h goom_typedefs.h goom_graphic.h goom_config_param.h goom_visual_fx.h goom_filters.h goom_tools.h goomsl.h goomsl_hash.h goomsl_heap.h goom_tools.h goom_config.h
++goom2_library_include_HEADERS = goom.h goom_plugin_info.h goom_typedefs.h goom_graphic.h goom_config_param.h goom_visual_fx.h goom_filters.h goom_tools.h goomsl.h goomsl_hash.h goomsl_heap.h goom_config.h
++libgoom2_la_LIBADD = -lm
+ libgoom2_la_LDFLAGS = -export-dynamic -export-symbols-regex "goom.*"
+ libgoom2_la_SOURCES = \
+ goomsl_yacc.y goomsl_lex.l goomsl.c goomsl_hash.c goomsl_heap.c \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/goom-2k4.git/commitdiff/ad6f0270000b37792665b5f2dfb4c1ac19a5e3bb
More information about the pld-cvs-commit
mailing list