Author: paladine                     Date: Fri Feb 18 13:48:56 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- splited plugins into subpackages and added bconds for them
- added TODO
- nfy
- rel down to 0.1

---- Files affected:
SPECS:
   streamtuner.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SPECS/streamtuner.spec
diff -u SPECS/streamtuner.spec:1.7 SPECS/streamtuner.spec:1.8
--- SPECS/streamtuner.spec:1.7  Fri Feb 18 12:41:01 2005
+++ SPECS/streamtuner.spec      Fri Feb 18 14:48:51 2005
@@ -1,24 +1,46 @@
 # $Revision$, $Date$
+# TODO
+#      - segfaults with python plugin
+#      - review python plugin Requires
+#      - doesn't build with all plugins disabled
+#      - local metadata bcond fix (needs local plugin)
+# Conditional build:
+%bcond_without live365
+%bcond_without local
+#%bcond_without        local_metadata
+%bcond_without python
+%bcond_without shoutcast
+%bcond_without xiph
+#
 Summary:       Stream directory browser
 Summary(pl):   Przeglądarka katalogów strumieni
 Name:          streamtuner
 Version:       0.99.99
-Release:       1
+Release:       0.1
 License:       Free
 Group:         X11/Applications/Sound
-Source0:       
http://savannah.nongnu.org/download/%{name}/%{name}-%{version}.tar.gz
+Source0:       
http://savannah.nongnu.org/download/streamtuner/%{name}-%{version}.tar.gz
 # Source0-md5: 2027b7c34e85b594524b0b4351c14362
 Patch0:                %{name}-am.patch
 Patch1:                %{name}-desktop.patch
 URL:           http://www.nongnu.org/streamtuner/
-BuildRequires: autoconf
+BuildRequires: autoconf >= 2.59
 BuildRequires: automake
 BuildRequires: curl-devel >= 7.10.8
 BuildRequires: gnome-common >= 2.4.0
 BuildRequires: gtk+2-devel >= 2:2.4.4
 BuildRequires: libtool
+%{?with_xiph:BuildRequires:    libxml2-devel}
+BuildRequires: pkgconfig
+%if %{with python}
+BuildRequires: python-devel >= 1:2.3.0
+BuildRequires: python-pygtk-devel >= 1:2.4.0
+%endif
 BuildRequires: scrollkeeper
+#%{?with_local_metadata:BuildRequires: taglib-devel >= 1.3}
 Requires:      gtk+2 >= 2:2.4.4
+Requires:      %{name}-input = %{version}-%{release}
+Conflicts:     streamtuner < %{version}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -44,6 +66,78 @@
 %description devel -l pl
 Pliki nagłówkowe streamtuner.
 
+%package live365
+Summary:       Live365 plugin for streamtuner
+Summary(pl):   Wtyczka Live365 dla streamtunera
+Group:         X11/Applications/Sound
+Requires:      %{name} = %{version}-%{release}
+Provides:      %{name}-input = %{version}-%{release}
+Conflicts:     streamtuner-live365 < %{version}
+
+%description live365
+Live365 plugin for streamtuner.
+
+%description live365 -l pl
+Wtyczka Live365 dla streamtunera.
+
+%package local
+Summary:       Plugin for streamtuner providing access to local music 
collection
+Summary(pl):   Wtyczka dla streamtunera dająca dostęp do lokalnej kolekcji 
muzyki
+Group:         X11/Applications/Sound
+Requires:      %{name} = %{version}-%{release}
+Provides:      %{name}-input = %{version}-%{release}
+Conflicts:     streamtuner-local < %{version}
+
+%description local
+Plugin providing access to your local music collection. It can read
+and modify ID3 and Vorbis metadata.
+
+%description local -l pl
+Wtyczka dla streamtunera dająca dostęp do lokalnej kolekcji muzyki.
+Dzięki tej wtyczce można odczytywać i modyfikować metadane ID3 i
+Vorbis.
+
+%package python
+Summary:       Plugin for streamtuner providing an embedded Python interpreter
+Summary(pl):   Wtyczka dla streamtunera dostarczająca wbudowany interpreter 
Pythona
+Group:         X11/Applications/Sound
+Requires:      %{name} = %{version}-%{release}
+Conflicts:     streamtuner-python < %{version}
+
+%description python
+Plugin for streamtuner providing an embedded Python interpreter.
+
+%description python -l pl
+Wtyczka dla streamtunera dostarczająca wbudowany interpreter Pythona.
+
+%package shoutcast
+Summary:       SHOUTcast plugin for streamtuner
+Summary(pl):   Wtyczka SHOUTcast dla streamtunera
+Group:         X11/Applications/Sound
+Requires:      %{name} = %{version}-%{release}
+Provides:      %{name}-input = %{version}-%{release}
+Conflicts:     streamtuner < %{version}
+
+%description shoutcast
+SHOUTcast plugin for streamtuner.
+
+%description shoutcast -l pl
+Wtyczka SHOUTcast dla streamtunera.
+
+%package xiph
+Summary:       Plugin for streamtuner implementing a dir.xiph.org handler
+Summary(pl):   Wtyczka dla streamtunera implementująca obsługę dir.xiph.org
+Group:         X11/Applications/Sound
+Requires:      %{name} = %{version}-%{release}
+Provides:      %{name}-input = %{version}-%{release}
+Conflicts:     streamtuner-xiph < %{version}
+
+%description xiph
+Plugin for streamtuner implementing a dir.xiph.org handler.
+
+%description xiph -l pl
+Wtyczka dla streamtunera implementująca obsługę dir.xiph.org.
+
 %prep
 %setup -q
 %patch0 -p1
@@ -56,6 +150,11 @@
 %{__autoconf}
 %{__automake}
 %configure \
+       %{!?with_live365:--disable-live365} \
+       %{!?with_local:--disable-local} \
+       %{!?with_python:--disable-python} \
+       %{!?with_shoutcast:--disable-shoutcast} \
+       %{!?with_xiph:--disable-xiph} \
        --with-html-dir=%{_gtkdocdir}
 %{__make}
 
@@ -81,8 +180,13 @@
 %attr(755,root,root) %{_bindir}/*
 %dir %{_libdir}/%{name}
 %dir %{_libdir}/%{name}/plugins
-%attr(755,root,root) %{_libdir}/%{name}/plugins/*.so
-%{_datadir}/%{name}
+%dir %{_datadir}/%{name}
+%{_datadir}/%{name}/ui
+%exclude %{_datadir}/%{name}/ui/live365.png
+%exclude %{_datadir}/%{name}/ui/local.png
+%exclude %{_datadir}/%{name}/ui/python.png
+%exclude %{_datadir}/%{name}/ui/shoutcast.png
+%exclude %{_datadir}/%{name}/ui/xiph.png
 %{_desktopdir}/*.desktop
 %{_pixmapsdir}/*
 %{_omf_dest_dir}/%{name}
@@ -93,12 +197,51 @@
 %{_gtkdocdir}/%{name}
 %{_pkgconfigdir}/*.pc
 
+%if %{with live365}
+%files live365
+%attr(755,root,root) %{_libdir}/%{name}/plugins/live365.so
+%{_datadir}/%{name}/ui/live365.png
+%endif
+
+%if %{with local}
+%files local
+%attr(755,root,root) %{_libdir}/%{name}/plugins/local.so
+%{_datadir}/%{name}/ui/local.png
+%endif
+
+%if %{with python}
+%files python
+%attr(755,root,root) %{_libdir}/%{name}/plugins/python.so
+%{_datadir}/%{name}/ui/python.png
+%dir %{_datadir}/%{name}/python
+%{_datadir}/%{name}/python/icons
+%{_datadir}/%{name}/python/scripts
+%endif
+
+%if %{with shoutcast}
+%files shoutcast
+%attr(755,root,root) %{_libdir}/%{name}/plugins/shoutcast.so
+%{_datadir}/%{name}/ui/shoutcast.png
+%endif
+
+%if %{with xiph}
+%files xiph
+%attr(755,root,root) %{_libdir}/%{name}/plugins/xiph.so
+%{_datadir}/%{name}/ui/xiph.png
+%endif
+
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <[EMAIL PROTECTED]>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2005/02/18 13:48:51  paladine
+- splited plugins into subpackages and added bconds for them
+- added TODO
+- nfy
+- rel down to 0.1
+
 Revision 1.7  2005/02/18 11:41:01  aflinta
 - seems to be OK, release 1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/streamtuner.spec?r1=1.7&r2=1.8&f=u


_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to