LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File liquidsoap.spec of Package liquidsoap (Project home:derselbst)

Name: liquidsoap
Version: 1.1.1
Release: 1
Summary: Liquidsoap by Savonet
License: GPL-2.0
URL: http://savonet.sourceforge.net/
Group: Productivity/Multimedia/Sound/Utilities
Source0: %{name}-%{version}.tar.bz2
BuildRequires: ocaml-pcre-devel
BuildRequires: ocaml
BuildRequires: ocaml-findlib-devel
BuildRequires: ocaml-x11
BuildRequires: ocaml-dtools-devel
BuildRequires: ocaml-duppy-devel
BuildRequires: ocaml-cry-devel
BuildRequires: ocaml-camomile-devel
BuildRequires: ocaml-ocamldoc
BuildRequires: ocaml-camlidl-devel
BuildRequires: ocaml-camlp4-devel
BuildRequires: ocaml-mm-devel >= 0.2.1
BuildRequires: ocaml-xmlplaylist-devel
BuildRequires: ocaml-lastfm-devel
BuildRequires: ocaml-ogg-devel
BuildRequires: ocaml-vorbis-devel
BuildRequires: ocaml-opus-devel
BuildRequires: ocaml-speex-devel
BuildRequires: ocaml-mad-devel
BuildRequires: ocaml-flac-devel
BuildRequires: ocaml-lame-devel
BuildRequires: ocaml-shine-devel
BuildRequires: ocaml-gstreamer-devel
BuildRequires: ocaml-frei0r-devel
BuildRequires: ocaml-voaacenc-devel
BuildRequires: ocaml-theora-devel
BuildRequires: ocaml-schroedinger-devel
BuildRequires: ocaml-gavl-devel
BuildRequires: ocaml-bjack-devel
BuildRequires: ocaml-alsa-devel
BuildRequires: ocaml-ao-devel
BuildRequires: ocaml-samplerate-devel
BuildRequires: ocaml-taglib-devel
BuildRequires: ocaml-faad-devel
BuildRequires: ocaml-soundtouch-devel
BuildRequires: ocaml-portaudio-devel
BuildRequires: ocaml-pulseaudio-devel
BuildRequires: ocaml-ladspa-devel
#BuildRequires: ocaml-dssi-devel
BuildRequires: ocaml-sdl-devel
#BuildRequires: ocaml-lo-devel
BuildRequires: pkg-config
BuildRequires: gcc-c++
BuildRequires: libX11-devel

BuildRequires: libmad-devel
BuildRequires: libtag-devel taglib
BuildRequires: libvorbis-devel
BuildRequires: flac-devel
#BuildRequires: libao-devel
BuildRequires: libmp3lame-devel
Requires: logrotate
Requires: ocaml-camomile

%description
Liquidsoap is a powerful and flexible language for describing your streams. It offers a rich collection of operators that you can combine at will, giving you more power than you need for creating or transforming streams. But liquidsoap is still very light and easy to use, in the Unix tradition of simple strong components working together.

%prep
%setup -q

%build
./configure --libdir=%{_libdir} \
	--prefix=%{_prefix} \
	--bindir=%{_bindir} \
    --docdir=%{_docdir}/%{name} \
    --mandir=%{_mandir}

make %{?_smp_mflags}

%install
#INSTALL_DAEMON="yes"
make install DESTDIR=%{buildroot} OCAMLFIND_DESTDIR=%{buildroot} prefix=%{buildroot} bindir=%{buildroot}/%{_bindir} libdir=%{buildroot}/%{_libdir} mandir=%{buildroot}/%{_mandir}

#rpmlint: liquidsoap.x86_64: W: suse-logrotate-log-dir-not-packaged /usr/local/var/log/liquidsoap
#mkdir -p %{buildroot}/usr/local/var/log/liquidsoap


%files
%defattr(-,root,root,-)
%doc examples/README examples/transitions.liq examples/radio.liq examples/geek.liq examples/fallible.liq
%dir %{_sysconfdir}/liquidsoap
%config %{_sysconfdir}/liquidsoap/radio.liq.example
%config %{_sysconfdir}/logrotate.d/liquidsoap
%{_bindir}/liquidsoap
%{_mandir}/man1/liquidsoap.1.gz

%dir %{_libdir}/liquidsoap
%dir %{_libdir}/liquidsoap/%{version}
%{_libdir}/liquidsoap/%{version}/*

#%dir /usr/local/var/log/liquidsoap

%exclude %dir /share/doc/liquidsoap-%{version}
%exclude /share/doc/liquidsoap-%{version}/examples/*

%changelog
* Sat Oct 21 2012 Martin Konecny <martin dot konecny at gmail.com> - 1.0-2
- initial version