Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2:Staging:N
devscripts
devscripts.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File devscripts.spec of Package devscripts
# # spec file for package devscripts # # Copyright (c) 2015 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: devscripts Version: 2.15.1 Release: 0 Summary: Scripts to make the life of a Debian Package maintainer easier License: GPL-2.0+ and GPL-2.0 and GPL-3.0+ and GPL-3.0 and Artistic-2.0 and GPL-1.0+ or Artistic-1.0 and SUSE-Public-Domain and ISC Group: Development/Tools/Building Source0: http://ftp.de.debian.org/debian/pool/main/d/devscripts/%{name}_%{version}.tar.xz # PATCH-FIX-UPSTREAM remove bash auto completion and fix docbook template directories path. Patch0: devscripts-2.11.7-buildfix.patch # PATCH-FIX-UPSTREAM hg can't commit empty, fix it. Patch1: devscripts-2.11.7-debcommit-hg16.patch # PATCH-FIX-UPSTREAM remove unrecognized --install-layout=deb from scripts/setup.py and fix prefix Patch3: devscripts-2.15.1-remove-install-layout-deb.patch BuildRequires: dpkg-devel >= 1.15.6 BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: zlib-devel Requires: checkbashisms >= %{version} Requires: dpkg Requires: html2text Requires: perl Provides: deb:%{_bindir}/debchange BuildRequires: docbook-xsl-stylesheets BuildRequires: libxslt BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} BuildRequires: sgmltool BuildRequires: texlive-latex %define _xsl_stylesheet /usr/share/xml/docbook/stylesheet/nwalsh/current/manpages/docbook.xsl %endif %if 0%{?fedora_version} BuildRequires: tetex-latex %define _xsl_stylesheet /usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl %endif %if 0%{?rhel_version} BuildRequires: tetex-latex %define _xsl_stylesheet /usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl %endif %if 0%{?centos_version} BuildRequires: tetex-latex %define _xsl_stylesheet /usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl %endif %description Collection of scripts for working on Debian packages. Examples: - bts: a command-line tool for manipulating the Debian Bug Tracking System - dcontrol: remotely query package and source control files for all Debian distributions - debchange/dch: automagically add entries to debian/changelog files - debsign, debrsign: sign a .changes/.dsc pair without needing any of the rest of the package to be present; can sign the pair remotely or fetch the pair from a remote machine for signing - diff2patches: extract patches from a .diff.gz file placing them under debian/ or, if present, debian/patches - licensecheck: attempt to determine the license of source files - uscan: scan upstream sites for new releases of packages %package -n checkbashisms Summary: Tool for checking /bin/sh scripts for possible bashisms License: GPL-2.0+ Group: Development/Tools/Building Provides: deb:/usr/bin/checkbashisms Provides: devscripts:/usr/bin/checkbashisms Requires: perl %if 0%{?suse_version} && 0%{?suse_version} < 1120 #for the benefit of SLE %else BuildArch: noarch %endif %description -n checkbashisms checkbashisms performs basic checks on /bin/sh shell scripts for the possible presence of bashisms. It takes the names of the shell scripts on the command line, and outputs warnings if possible bashisms are detected. %prep %setup -q %patch0 -p1 %patch1 -p1 %patch3 -p1 %build make %{?_smp_mflags} XSL_STYLESHEET="%{_xsl_stylesheet}" %install %{__make} install DESTDIR=%{?buildroot} XSL_STYLESHEET="%{_xsl_stylesheet}" install -d %{buildroot}%{_mandir}/man1/ install -d %{buildroot}%{_mandir}/man5/ install -m 644 scripts/*.1 %{buildroot}%{_mandir}/man1/ install -m 644 scripts/*.5 %{buildroot}%{_mandir}/man5/ while read target link; do if [ -d $(dirname "%{buildroot}$link") ]; then ln -sf $target %{buildroot}$link fi done <debian/links # fix docs mkdir -pv %{buildroot}%{_docdir} if [ %{_datadir}/doc != %{_docdir} ]; then mv %{buildroot}%{_datadir}/doc/devscripts %{buildroot}%{_docdir} fi chmod -x %{buildroot}%{_docdir}/devscripts/README install -m644 debian/copyright %{buildroot}%{_docdir}/devscripts/copyright install -m644 debian/changelog %{buildroot}%{_docdir}/devscripts/changelog %files %defattr(-,root,root) %doc %{_docdir}/devscripts %doc %{_mandir}/man*/* %{_bindir}/* %{python3_sitelib}/devscripts/ %{python3_sitelib}/devscripts-%{version}-py%{py3_ver}.egg-info/ /usr/lib/devscripts %{_datadir}/devscripts %exclude %{_mandir}/man1/checkbashisms.1.gz %exclude %{_bindir}/checkbashisms %files -n checkbashisms %defattr(-,root,root) %doc %{_mandir}/man1/checkbashisms.1.gz %{_bindir}/checkbashisms %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