]> git.pld-linux.org Git - packages/airvideo.git/blobdiff - airvideo.spec
- up to 2.4.5 beta6, alpha6 jar
[packages/airvideo.git] / airvideo.spec
index 3d9bf80346bb923b3e189b1fef9298caba3c4f60..f9e50968f0e4c9e4c9da33c67629f75761fe91be 100644 (file)
@@ -6,31 +6,29 @@
 %include       /usr/lib/rpm/macros.java
 Summary:       Air-Video Video Streaming Server
 Name:          airvideo
 %include       /usr/lib/rpm/macros.java
 Summary:       Air-Video Video Streaming Server
 Name:          airvideo
-Version:       2.2.5
-Release:       0.4
+Version:       2.4.5
+Release:       0.11
 License:       GPL v2+ with LGPL v2+ parts
 Group:         Applications/Multimedia
 License:       GPL v2+ with LGPL v2+ parts
 Group:         Applications/Multimedia
-Source0:       http://www.inmethod.com/air-video/download/ffmpeg-for-%{version}.tar.bz2
-# NoSource0-md5:       1623d51b433555e08d0c2fcf1dee1b55
+Source0:       http://inmethod.com/air-video/download/ffmpeg-for-%{version}-beta6.tar.bz2
+# NoSource0-md5:       241844e9d41bbd9f8852955291490910
 NoSource:      0
 Source1:       %{name}.init
 NoSource:      0
 Source1:       %{name}.init
-Source2:       http://inmethod.com/air-video/download/linux/alpha1/AirVideoServerLinux.jar
-# NoSource2-md5:       312d6dd45f6c9928e1570da67a6d8ee6
+Source2:       http://inmethod.com/air-video/download/linux/alpha6/AirVideoServerLinux.jar#/avs-alpha6.jar
+# NoSource2-md5:       b619c088eea230afa92181393a36e1c0
 NoSource:      2
 NoSource:      2
-Source3:       http://inmethod.com/air-video/download/linux/alpha1/test.properties
-# NoSource3-md5:       7bc6524cf7f8c2ec2cfac900bc6325cd
-NoSource:      3
+Source3:       test.properties
+Source4:       avs.avahi
 URL:           http://www.inmethod.com/air-video/
 URL:           http://www.inmethod.com/air-video/
-BuildRequires: faad2-devel
 BuildRequires: lame-libs-devel
 BuildRequires: libx264-devel >= 0.1.3
 BuildRequires: pkgconfig
 BuildRequires: rpm-javaprov
 BuildRequires: rpmbuild(macros) >= 1.470
 BuildRequires: lame-libs-devel
 BuildRequires: libx264-devel >= 0.1.3
 BuildRequires: pkgconfig
 BuildRequires: rpm-javaprov
 BuildRequires: rpmbuild(macros) >= 1.470
+Requires(post,preun):  /sbin/chkconfig
 Requires:      faac
 Requires:      jpackage-utils
 Requires:      faac
 Requires:      jpackage-utils
-Requires(post,preun):  /sbin/chkconfig
-Requires:      mpeg4ip
+Requires:      mpeg4ip-server
 Requires:      rc-scripts
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 Requires:      rc-scripts
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -50,9 +48,19 @@ Air Video can stream videos in almost any format to your iPhone, iPad
 and iPod touch. You don't need to copy your videos to the device just
 to watch them.
 
 and iPod touch. You don't need to copy your videos to the device just
 to watch them.
 
+%package avahi
+Summary:       airvideo service configuration for avahi
+Summary(pl.UTF-8):     Konfiguracja serwisu airvideo dla avahi
+Group:         Applications
+Requires:      %{name} = %{version}-%{release}
+Requires:      avahi
+
+%description avahi
+airvideo service configuration for avahi.
+
 %prep
 %setup -qc
 %prep
 %setup -qc
-mv ffmpeg/* .; rmdir ffmpeg
+mv ffmpeg/{*,.??*} .; rmdir ffmpeg
 
 %build
 # notes:
 
 %build
 # notes:
@@ -77,8 +85,10 @@ mv ffmpeg/* .; rmdir ffmpeg
        --enable-gpl \
        --enable-libx264 \
        --enable-libmp3lame \
        --enable-gpl \
        --enable-libx264 \
        --enable-libmp3lame \
-       --enable-libfaad \
        --disable-decoder=aac \
        --disable-decoder=aac \
+       --disable-indevs \
+       --disable-outdevs \
+       --disable-vaapi \
 %ifnarch %{ix86} %{x8664}
        --disable-mmx \
 %endif
 %ifnarch %{ix86} %{x8664}
        --disable-mmx \
 %endif
@@ -91,16 +101,13 @@ mv ffmpeg/* .; rmdir ffmpeg
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_sbindir},%{_javadir},/etc/rc.d/init.d,/var/lib/airvideo}
+install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_sbindir},%{_javadir},/etc/{rc.d/init.d,avahi/services},/var/lib/airvideo}
 install -p ffmpeg $RPM_BUILD_ROOT%{_sbindir}/%{name}
 install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
 
 install -p ffmpeg $RPM_BUILD_ROOT%{_sbindir}/%{name}
 install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
 
-cp -a %{SOURCE2} $RPM_BUILD_ROOT%{_javadir}
-sed -e '
-       /path.ffmpeg/           s;=.*;= %{_sbindir}/%{name};
-       /path.mp4creator/       s;=.*;= %{_bindir}/mp4creator;
-       /path.faac/                     s;=.*;= %{_bindir}/faac;
-' %{SOURCE3} > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.properties
+cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_javadir}/AirVideoServerLinux.jar
+cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.properties
+cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/avahi/services/%{name}.service
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -122,4 +129,8 @@ fi
 %attr(754,root,root) /etc/rc.d/init.d/%{name}
 %{_javadir}/AirVideoServerLinux.jar
 # XXX, if it really writes something, get dedicated user
 %attr(754,root,root) /etc/rc.d/init.d/%{name}
 %{_javadir}/AirVideoServerLinux.jar
 # XXX, if it really writes something, get dedicated user
-%dir %attr(755,nobody,nobody) /var/lib/airvideo
+%dir /var/lib/airvideo
+
+%files avahi
+%defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/services/%{name}.service
This page took 0.060849 seconds and 4 git commands to generate.