Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:mschnitzer
dapsenv
dapsenv.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dapsenv.spec of Package dapsenv
# # spec file for package dapsenv # # Copyright (c) 2016 SUSE LINUX Products 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/ # Name: dapsenv Version: 1.0.1 Release: 0 License: BSD-3-Clause Summary: A build environment to build documentations with DAPS Url: https://github.com/mschnitzer/dapsenv Group: Productivity/Publishing/XML Source: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: python3 >= 3.4 Requires: python3-lxml Requires: python3-websockets Requires: python3-irc Requires: python3-PrettyTable Requires: docker BuildRequires: python3 BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: docbook-xsl-stylesheets BuildRequires: libxslt-tools BuildArch: noarch %{!?python3_sitelib: %global python_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} %description This package offers the ability to build documentations in parallel in docker containers by using DAPS. %prep %setup -q -n %{name}-%{version} %build export DB="http://docbook.sourceforge.net/release/xsl/current/" (cd man && make) python3 setup.py build %install mkdir -p %{buildroot}%{_mandir}/man1 cp man/build/%{name}.1 %{buildroot}%{_mandir}/man1 mkdir -p %{buildroot}%{_sysconfdir}/%{name} cp source/%{name}/templates/%{name}.conf %{buildroot}%{_sysconfdir}/%{name} python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} %files %defattr(-,root,root) %{python3_sitelib}/* %{_bindir}/%{name} %{_mandir}/man1/%{name}.1%{ext_man} %dir %{_sysconfdir}/%{name} %config %{_sysconfdir}/%{name}/%{name}.conf %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