]> git.pld-linux.org Git - packages/flumotion.git/blobdiff - flumotion.spec
- fixed init scripts
[packages/flumotion.git] / flumotion.spec
index 810db9789b3f6b0d9972390955292437ffe1a929..4f43770bfdf53aaf2d18f6c913e36cd238472073 100644 (file)
@@ -2,11 +2,12 @@ Summary:      The Fluendo Streaming Server
 Summary(pl.UTF-8):     Serwer strumieni Fluendo
 Name:          flumotion
 Version:       0.5.1
-Release:       0.3
+Release:       0.4
 License:       GPL
 Group:         Daemons
 Source0:       http://www.flumotion.net/src/flumotion/%{name}-%{version}.tar.bz2
 # Source0-md5: 70256d8d80a0d5cda61e468116ff8be2
+Source1:       %{name}.init
 Patch0:                %{name}-pdksh.patch
 URL:           http://www.flumotion.net/
 BuildRequires: automake
@@ -16,37 +17,38 @@ BuildRequires:      python-gstreamer >= 0.10.4
 BuildRequires: python-TwistedCore >= 2.0.1
 BuildRequires: python-TwistedNames
 BuildRequires: python-TwistedWeb
-Requires:              gstreamer-audio-effects-good
-Requires:              gstreamer-libpng
-Requires:              gstreamer-plugins-base >= 0.10.10
-Requires:              python-PIL
-Requires:              python-TwistedCore-ssl
 Requires(pre): /usr/sbin/useradd
 Requires(post,preun):  /sbin/chkconfig
 Requires(post):        openssl-tools
-Provides:              user(flumotion)
+Requires:      gstreamer-audio-effects-good
+Requires:      gstreamer-libpng
+Requires:      gstreamer-plugins-base >= 0.10.10
+Requires:      python-PIL
+Requires:      python-TwistedCore-ssl
+Provides:      user(flumotion)
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Flumotion is a GPL streaming media server written in Python. It is distributed
-and component-based: every step in the streaming process (production,
-conversion, consumption) can be run inside a separate process on separate
-machines.
+Flumotion is a GPL streaming media server written in Python. It is
+distributed and component-based: every step in the streaming process
+(production, conversion, consumption) can be run inside a separate
+process on separate machines.
 
-Flumotion uses a central manager process to control the complete network; one
-or more worker processes distributed over machines to run actual streaming
-components; and one or more admin clients connecting to the manager to control
-it.
+Flumotion uses a central manager process to control the complete
+network; one or more worker processes distributed over machines to run
+actual streaming components; and one or more admin clients connecting
+to the manager to control it.
 
 %description -l pl.UTF-8
-Flumotion to serwer strumieni multimedialnych napisany w Pythonie i udostępniany
-na licencji GPL. Jest to system rozproszony i modularny: każdy etap przetwarzania
-strumienia (produkcja, konwersja, konsumpcja) może być przeprowadzany w osobnym
-procesie i na osobnej maszynie.
+Flumotion to serwer strumieni multimedialnych napisany w Pythonie i
+udostępniany na licencji GPL. Jest to system rozproszony i modularny:
+każdy etap przetwarzania strumienia (produkcja, konwersja, konsumpcja)
+może być przeprowadzany w osobnym procesie i na osobnej maszynie.
 
-Flumotion używa centralnego procesu zarządcy, który kontroluje cały system; jednego
-lub więcej procesu robotnika czuwającego nad komponentami; jednego lub więcej
-klienta administracji, pozwalającego na sprawowanie kontroli przez użytkownika.
+Flumotion używa centralnego procesu zarządcy, który kontroluje cały
+system; jednego lub więcej procesu robotnika czuwającego nad
+komponentami; jednego lub więcej klienta administracji, pozwalającego
+na sprawowanie kontroli przez użytkownika.
 
 %prep
 %setup -q
@@ -66,9 +68,7 @@ mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/flumotion
 
 # install service files
 install -d $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d
-install -m 755 \
-       doc/redhat/flumotion \
-       $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d
+install -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/%{name}
 
 # create log and run and cache directory
 install -d $RPM_BUILD_ROOT%{_localstatedir}/log/flumotion
This page took 0.058063 seconds and 4 git commands to generate.