Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:xwaver
mediatomb
mediatomb.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mediatomb.spec of Package mediatomb
Name: mediatomb Version: 0.12.1 Release: 2%{?dist} License: GPL v2 or later Source0: http://downloads.sourceforge.net/mediatomb/%{name}-%{version}.tar.gz Patch0: object.patch Patch1: const_char_conversion.patch Patch2: config_xml_comment.patch Group: Applications/Multimedia Summary: UPnP AV Mediaserver URL: http://mediatomb.cc BuildRequires: pkgconfig(sqlite3) BuildRequires: mysql-devel pkgconfig(libexif) file-devel zlib-devel BuildRequires: pkgconfig(libcurl) BuildRequires: gcc-c++ autoconf BuildRequires: notification-daemon %if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version} BuildRequires: pkgconfig(libjs) BuildRequires: libmp4v2 libmp4v2-devel #BuildRequires: lastfmlib-devel #Requires: notification-daemon xulrunner taglib js libdvdnav config(shadow-utils) %endif %if 0%{?suse_version} >= 1140 BuildRequires: libjs-devel BuildRequires: pkgconfig(dvdnav) libexpat-devel taglib-devel #BuildRequires: liblastfm-devel Requires(pre): pwdutils Requires(preun): pwdutils Requires(postun): pwdutils %endif %if 0%{?suse_version} == 1130 BuildRequires: libjs-devel BuildRequires: libdvdnav-devel libexpat-devel taglib-devel #BuildRequires: liblastfm-devel Requires(pre): pwdutils Requires(preun): pwdutils Requires(postun): pwdutils %endif %if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version} BuildRequires: pkgconfig(libjs) pkgconfig(dvdnav) expat-devel pkgconfig(taglib) Requires(pre): initscripts Requires(preun): initscripts Requires(postun): initscripts %endif Requires(post): /sbin/chkconfig Requires(preun): /sbin/chkconfig %description MediaTomb is an open source (GPL) UPnP MediaServer with a nice web user interface, it allows you to stream your digital media through your home network and listen to/watch it on a variety of UPnP compatible devices. MediaTomb implements the UPnP MediaServer V 1.0 specification that can be found on http://www.upnp.org/. %prep %setup -qn %{name}-%{version} %patch0 -p1 %patch1 -p1 %patch2 -p1 %build autoreconf -fi %if 0%{?suse_version} %configure --enable-inotify --enable-taglib --enable-libjs --with-js-h=%{_includedir}/js %else %configure --enable-inotify --enable-taglib --enable-libjs --with-js-h=%{_includedir} %endif make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT install -p -D -m0755 scripts/mediatomb-service-fedora $RPM_BUILD_ROOT%{_initrddir}/mediatomb install -p -D -m0644 config/mediatomb-conf-fedora $RPM_BUILD_ROOT%{_sysconfdir}/mediatomb.conf make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/mediatomb touch $RPM_BUILD_ROOT%{_sysconfdir}/mediatomb/{config.xml,mediatomb.db,mediatomb.html} mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d cat > $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/%{name} << 'EOF' /var/log/mediatomb { create 644 root root monthly compress missingok } EOF %clean rm -rf $RPM_BUILD_ROOT %pre getent group mediatomb >/dev/null || groupadd -r mediatomb getent passwd mediatomb >/dev/null || \ useradd -r -g mediatomb -d %{_sysconfdir}/mediatomb -s /sbin/nologin \ -c "To run Mediatomb" mediatomb exit 0 %post /sbin/chkconfig --add mediatomb %preun if [ $1 -eq 0 ] ; then /sbin/service mediatomb stop >/dev/null 2>&1 /sbin/chkconfig --del mediatomb fi %postun if [ "$1" -ge "1" ] ; then /sbin/service mediatomb condrestart >/dev/null 2>&1 || : fi %files %defattr(-,root,root,-) %doc README README.UTF_8 AUTHORS ChangeLog COPYING doc/doxygen.conf %doc doc/scripting.txt doc/scripting_utf8.txt %attr(-,mediatomb,mediatomb)%config(noreplace) %{_sysconfdir}/mediatomb.conf %attr(-,mediatomb,mediatomb)%dir %{_sysconfdir}/%{name}/ %attr(-,mediatomb,mediatomb)%ghost %{_sysconfdir}/%{name}/* %config(noreplace) %{_datadir}/%{name}/js/import.js %config(noreplace) %{_datadir}/%{name}/js/playlists.js %config(noreplace) %{_datadir}/%{name}/js/common.js %config(noreplace) %{_sysconfdir}/logrotate.d/%{name} %{_bindir}/mediatomb %{_datadir}/%{name}/ %{_mandir}/man1/* %config %attr(0755,root,root) %{_initrddir}/mediatomb %changelog * Sun Jun 26 2011 Isaac Fischer <xwaver@gmail.com> 0.12.1.rev2103-2 - applied patches for Fedora 15 build and better Matroska metadata * Fri Apr 15 2011 Isaac Fischer <xwaver@gmail.com> 0.12.1.rev2103-1 - new svn release * Sun Jun 06 2010 Isaac Fischer <xwaver+package@gmail.com> 0.12.1-1 - new upstream release * Thu Dec 31 2009 Isaac Fischer <xwaver+package@gmail.com> 0.11-1.svn2039-1 - new Subversion copy 2039 * Sun Dec 5 2009 Isaac Fischer <xwaver+package@gmail.com> 0.11-1.svn2022-1 - new Subversion copy 2022 * Wed Aug 5 2009 Isaac Fischer <xwaver+package@gmail.com> 0.11.svn2021-1 - new Subversion copy 2021 * Fri Jul 3 2009 Isaac Fischer <xwaver+package@gmail.com> 0.11.9.CVS2019-2 - fixed the compartmentalization of ffmpegthumbnailer. * Mon Feb 19 2009 Isaac Fischer <xwaver+package@gmail.com> 0.11.9.CVS2019-1 - pulled a Subversion copy to get newest support and grafted on spec file. - redo for Fedora 11 - changed back to point to xulrunner/js 1.9.1 again * Mon Feb 19 2009 Isaac Fischer <xwaver+package@gmail.com> 0.12.0-1 - pulled a Subversion copy to get newest support and grafted on spec file. - changed back to point to xulrunner/js 1.9 now * Mon Feb 16 2009 Caolán McNamara <caolanm@redhat.com> 0.11.0-6 - needs to point to xulrunner/js 1.9.1 now - include my_sys.h for my_init - fix some char* -> const char* * Sat Jan 24 2009 Marc Wiriadisastra <marc@mwiriadi.id.au> 0.11.0-5 - Rebuild for mysql dependancy * Mon Dec 1 2008 Michael Schwendt <mschwendt@fedoraproject.org> 0.11.0-4 - Include /usr/share/mediatomb directory. * Tue Oct 7 2008 Marc Wiriadisastra <marc@mwiriadi.id.au> 0.11.0-3 - Added the line change for xulrunner * Tue Oct 7 2008 Marc Wiriadisastra <marc@mwiriadi.id.au> 0.11.0-2 - Added patch from upstream for Curl * Thu Aug 28 2008 Michael Schwendt <mschwendt@fedoraproject.org> 0.11.0-2 - Include /usr/share/mediatomb directory. * Sun Mar 2 2008 Marc Wiriadisastra <marc@mwiriadi.id.au> 0.11.0-1 - New release version 0.11.0 - Upstream has asked me to remove libextractor - added inotify which works - Removed patches due to upstream inclusion - Added expat-devel - Build with xulrunner - Added patch to remove automatic service up and chkconfig up * Wed Feb 13 2008 Marc Wiriadisastra <marc@mwiriadi.id.au> 0.10.0-9 - Rebuild for gcc4.3 * Sat Jan 5 2008 Marc Wiriadisastra <marc@mwiriadi.id.au> 0.10.0-8 - Added patch from upstream fixes the following issues (no bugs #) - fixes 64bit issues in libupnp - adds correct handling of chunked encoded data in libupnp - fixes regarding id3lib and taglib metadata extraction - fix where sqlite database file was checked in configuration even if mysql driver was selected * Thu Jan 3 2008 Marc Wiriadisastra <marc@mwiriadi.id.au> 0.10.0-7 - Added mysql-devel to build requires * Thu Jan 3 2008 Marc Wiriadisastra <marc@mwiriadi.id.au> 0.10.0-6 - Cleaned up spec file * Wed Jan 2 2008 Marc Wiriadisastra <marc@mwiriadi.id.au> 0.10.0-5 - Added mysql-libs for build requires instead of mysql-devel * Wed Jan 2 2008 Marc Wiriadisastra <marc@mwiriadi.id.au> 0.10.0-4 - Actually added the patches to the file. - Added the ownership changes (Mamoru Tasaka) - Libextractor enabled * Wed Jan 2 2008 Marc Wiriadisastra <marc@mwiriadi.id.au> 0.10.0-3 - Added patchs to patch ownership of /etc/mediatomb.conf and /etc/mediatomb - Adjusted pre and post scripts and add user and group mediatomb - Changed attributes so files are owned by mediatomb - Cleaned Requires and added two files for build-requires * Sun Dec 23 2007 Marc Wiriadisastra <marc@mwiriadi.id.au> 0.10.0-2 - Altered spec file for inclusion into Fedora * Wed Jul 11 2007 Sergey Bostandzhyan <jin@mediatomb.cc> 0.10.0-1 - Version is now filled in by the configure script. * Sun May 27 2007 Sergey Bostandzhyan <jin@mediatomb.cc> 0.9.1-1 - updated the init script * Sun Mar 25 2007 Sergey Bostandzhyan <jin@mediatomb.cc> 0.9.0-1 - Synced with the new script naming and adjusted for the release, added man page. * Mon Feb 26 2007 Sergey Bostandzhyan <jin@mediatomb.cc> - Removed some files that were no longer needed. * Wed Sep 7 2005 Sergey Bostandzhyan <jin@mediatomb.cc> - Removed some buildrequires, our configure script should handle different scenarios itself. * Wed Jun 15 2005 Sergey Bostandzhyan <jin@mediatomb.cc> - Added init.d script + chkconfig * Thu Apr 14 2005 Sergey Bostandzhyan <jin@mediatomb.cc> - Initial release
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor