Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:awissu
mistserver
mistserver.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mistserver.spec of Package mistserver
# # spec file for package mistserver # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define soname mist %define sover 2 Name: mistserver Version: 2.5.1 Release: 0 Summary: Open-source multimedia server License: AGPL-3.0 Group: Productivity/Multimedia/Other Url: http://mistserver.org Source0: https://github.com/DDVTECH/mistserver/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz # PATCH-FIX-OPENSUSE service.patch avvissu@yandex.ru -- Change service to run after network.target Patch0: mistserver-2.5.1_service.patch # PATCH-FIX-OPENSUSE lib.patch avvissu@yandex.ru -- Change the library installation directory Patch1: mistserver-2.5.1_lib.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: fdupes BuildRequires: doxygen BuildRequires: systemd %{?systemd_requires} %description MistServer is a streaming media server that works well in any streaming environment. MistServer can scale from a low resource solution to a streaming media software powerhouse. Flexible and adaptive by nature, MistServer is able to stream video and audio online or on intranet to any device. %package -n lib%{soname}%{sover} Summary: The core library for %{name} Group: System/Libraries Provides: lib%{name}%{soname} = %{version} %description -n lib%{soname}%{sover} MistServer is a streaming media server that works well in any streaming environment. This package contains the shared library. %package devel Summary: Development files for %{name} Group: Development/Libraries/C and C++ Requires: lib%{name}%{soname} = %{version} %description devel MistServer is a streaming media server that works well in any streaming environment. This package contains header files and libraries needed to develop application that use %{name} %prep %setup -q %patch0 -p1 %patch1 -p1 # Don't compile in DATE and TIME BUILDDATE=$(LC_ALL=C date -ur %{_sourcedir}/%{name}.changes +'%b %d %Y') BUILDTIME=$(LC_ALL=C date -ur %{_sourcedir}/%{name}.changes +'%H:%M') sed -e "s/__DATE__/\"$BUILDDATE\"/" \ -e "s/__TIME__/\"$BUILDTIME\"/" \ -i $(grep -rl '__DATE__\|__TIME__') %build %cmake make %{?_smp_mflags} %install %cmake_install # Install service file install -d %{buildroot}/%{_sbindir} install -Dm0644 {./,%{buildroot}%{_unitdir}/}%{name}.service ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name} # ghost files install -Dm0644 /dev/null %{buildroot}%{_sysconfdir}/%{name}.conf %post -n lib%{soname}%{sover} -p /sbin/ldconfig %postun -n lib%{soname}%{sover} -p /sbin/ldconfig %pre %service_add_pre %{name}.service %post %service_add_post %{name}.service %preun %service_del_preun %{name}.service %postun %service_del_postun %{name}.service %files %defattr(-,root,root) %doc COPYING %{_bindir}/Mist* %{_sbindir}/rc%{name} %{_unitdir}/%{name}.service %ghost %verify(not md5 size mtime) %config(missingok,noreplace) %{_sysconfdir}/%{name}.conf %files -n lib%{soname}%{sover} %{_libdir}/lib%{soname}.so.* %files devel %{_includedir}/%{soname} %{_libdir}/lib%{soname}.so %changelog
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