goom/goom.spec

140 lines
4.0 KiB
RPMSpec
Raw Permalink Normal View History

%define pkgver %(echo %version | tr . -)
Name: goom
Version: 2k4.0
Release: 2mamba
Summary: Visual effects generator for audio players
Group: Applications/Multimedia
Distribution: openmamba
Vendor: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.ios-software.com/index.php3?page=projet&quoi=1
Source: http://surfnet.dl.sourceforge.net/sourceforge/goom/goom-%{pkgver}-src.tar.gz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libaudio-devel
BuildRequires: libdirectfb-devel
BuildRequires: libglib1-devel
BuildRequires: libgtk1-devel
BuildRequires: libICE-devel
BuildRequires: libSDL-devel
BuildRequires: libSM-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libxcb-devel
BuildRequires: libXdmcp-devel
BuildRequires: libXext-devel
%if "%{stage1}" != "1"
BuildRequires: libxmms-devel
%endif
BuildRequires: libXt-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
Provides: goom2k4
Obsoletes: goom2k4
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
%description
Goom is a visual effects generator for audio players, available for XMMS.
%package -n libgoom2
Summary: Shared library part of the Goom visualization plugin
Group: System/Libraries
%description -n libgoom2
Goom shared library which can be used to access the core functions of goom (libvisual uses it if available for instance)
%package -n libgoom2-devel
Summary: Development files of the Goom visualization plugin
Group: Development/Libraries
Requires: libgoom2 = %{version}
%description -n libgoom2-devel
Goom shared library which can be used to access the core functions of goom (libvisual uses it if available for instance)
Install this if you want to embed goom in your own programs.
%package -n SDL_goom
Summary: A standalone program using libgoom2
Group: Applications/Multimedia
Requires: libgoom2 = %{version}
%description -n SDL_goom
A standalone program using libgoom2. It displays things with SDL and get sound data from stdin.
%package -n xmms-goom
Summary: The goom2k4 xmms plugin
Group: Applications/Multimedia
Requires: libgoom2 = %{version}
%description -n xmms-goom
The goom2k4 xmms plugin.
%prep
%setup -q -n goom%{pkgver}
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%post -n libgoom2 -p /sbin/ldconfig
%postun -n libgoom2 -p /sbin/ldconfig
%files -n libgoom2
%defattr(-,root,root)
%{_libdir}/libgoom2.so.*
%doc AUTHORS COPYING
%files -n libgoom2-devel
%defattr(-,root,root)
%dir %{_includedir}/goom
%{_includedir}/goom/*.h
%{_libdir}/libgoom2.la
%{_libdir}/libgoom2.so
%{_libdir}/pkgconfig/libgoom2.pc
%doc README ChangeLog
%if "%{stage1}" != "1"
%files -n SDL_goom
%defattr(-,root,root)
%{_bindir}/goom2
%files -n xmms-goom
%defattr(-,root,root)
%{_libdir}/xmms/Visualization/libxmmsgoom2.la
%{_libdir}/xmms/Visualization/libxmmsgoom2.so
%endif
%changelog
* Sun Aug 22 2010 Automatic Build System <autodist@mambasoft.it> 2k4.0-2mamba
- automatic rebuild by autodist
* Fri Jul 17 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2k4.0-1mamba
- update to 2k4.0
* Fri Jul 17 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2k4-1mamba
- update to 2k4
* Fri Jul 17 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0-5mamba
- specfile updated and rebuilt
* Wed Aug 10 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0-4qilnx
- missing build requirements added
* Wed Jun 29 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0-3qilnx
- fixed requirements for devel packages
- own %{_includedir}/goom
- %%post, %%postun scriptlets for libgoom2 package instead of main package
* Mon Jun 27 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 0-2qilnx
- rebuild and moved from devel-contrib repository to devel repository
* Sat Jun 25 2005 Matteo Bernasconi <voyagernm@virgilio.it> 0-1qilnx
- first build