Projects
Multimedia
mythweb
mythweb.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mythweb.spec of Package mythweb (Revision 9)
Currently displaying revision
9
,
Show latest
# # spec file for package mythweb # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2011,2012 Herbert Graeber # # 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 https://bugs.opensuse.org/ # %global _htmldir /srv/www/htdocs %define manjor 30 # Save a previous major release # NOTE: You should have made sure that name of the package is # configured correctly and defines the expected version # You can add the manjor macro in the name tag # See: Conflicts Tag %define pkgmanjor %(echo %{name} | sed -ne '/-/s/[^-]*//p' -ne '/-/!s/[^0-9]*//p') %define statusrelease %(test -n '%{?pkgmanjor}' && echo legacy || echo current) %if 0%{?pkgmanjor} %define statusrelease legacy %else %define statusrelease current %endif Name: mythweb Version: 30.0+git.20190103.8dc8a715 Release: 0 Summary: The web interface to MythTV License: GPL-2.0-or-later Group: Productivity/Multimedia/Video/Players URL: http://mythtv.org/ Source0: mythweb-fixes-%{version}.tar.gz Source120: mythweb.conf BuildRequires: fdupes Requires: httpd Requires: mod_php_any Requires: php >= 5.1 Requires: php-mysql Requires: php-mythtv >= %{version} Provides: mythweb-%{statusrelease} Conflicts: mythweb%{!?pkgmanjor:-legacy} Conflicts: mythweb-0_27 Conflicts: mythweb-0_28 BuildArch: noarch %description MythTV provides a unified graphical interface for recording and viewing television programs. Refer to the mythtv package for more information. The web interface to MythTV. %prep %setup -q -n mythweb-fixes-%{version} chmod -R g-w ./* find . -name '*.php' -exec chmod -x "{}" \; %build : %install install -d %{buildroot}%{_htmldir}/mythweb cp -a * %{buildroot}%{_htmldir}/mythweb/ install -d %{buildroot}%{_htmldir}/mythweb/{image_cache,php_sessions} install -D %{SOURCE120} -m 644 %{buildroot}%{_sysconfdir}/apache2/conf.d/mythweb.conf chmod a+x %{buildroot}%{_htmldir}/mythweb/modules/coverart/handler.pl rm -f %{buildroot}%{_htmldir}/mythweb/data/.htaccess %fdupes %{buildroot}%{_htmldir}/mythweb %files %defattr(0644,root,root,0755) %license LICENSE %doc README %dir %{_sysconfdir}/apache2 %dir %{_sysconfdir}/apache2/conf.d %config(noreplace) %{_sysconfdir}/apache2/conf.d/mythweb.conf %defattr(-,wwwrun,www,0775) %dir %{_htmldir}/mythweb %{_htmldir}/mythweb/* %exclude %{_htmldir}/mythweb/README %changelog
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.