Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rhabacker:linkedprojecttest
mingw32-sgml-skel
mingw32-sgml-skel.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw32-sgml-skel.spec of Package mingw32-sgml-skel
# # spec file for package mingw32-sgml-skel # # Copyright (c) 2014 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/ # BuildRequires: mingw32-filesystem Name: mingw32-sgml-skel BuildRequires: automake BuildRequires: libxml2 Summary: Helper Scripts for the SGML System License: GPL-2.0+ Group: Productivity/Publishing/SGML Version: 0.6 Release: 0 Requires: libxml2 PreReq: /bin/awk PreReq: /bin/mv PreReq: /bin/chmod # URL: Source0: http://www.suse.de/~ke/sgml-skel/sgml-skel-%{version}.tar.bz2 # :pserver:anoncvs@sources.redhat.com:/cvs/docbook-tools Source1: docbook-tools/sgml-common/bin/install-catalog.in Source2: edit-xml-catalog.sh Patch0: sgml-skel-regcat.diff Patch1: sgml-skel-regcat2.diff Patch2: sgml-skel-edit-cat.diff BuildArch: noarch %description These scripts will help prepare and maintain parts of an SGML system. Authors: -------- Eric Bischoff <eric@caldera.de> Karl Eichwalder <ke@suse.de> %define sgmldir %{_mingw32_datadir}/sgml %define INSTALL install -m755 -s %define INSTALL_SCRIPT install -m755 %define INSTALL_DIR install -d -m755 %define INSTALL_DATA install -m644 %prep %setup -q -n sgml-skel-%{version} %patch -P 0 -p 1 %patch -P 1 -p 1 # # cp -p $RPM_SOURCE_DIR/sgml-skel-README.SuSE . cp %{S:1} . cp %{S:2} . %patch -P 2 -p 0 %build # CFLAGS="$RPM_OPT_FLAGS" autoreconf -i -f %_mingw32_configure %install make install DESTDIR=$RPM_BUILD_ROOT %{INSTALL_SCRIPT} install-catalog.in $RPM_BUILD_ROOT%{_mingw32_bindir}/install-catalog %{INSTALL_SCRIPT} edit-xml-catalog.sh \ $RPM_BUILD_ROOT%{_mingw32_bindir}/edit-xml-catalog ln -sf sgml2xmlcat.sh $RPM_BUILD_ROOT%{_mingw32_bindir}/sgmlcat2x.sh ln -sf install-catalog $RPM_BUILD_ROOT%{_mingw32_bindir}/install-catalog.sh %{INSTALL_DIR} $RPM_BUILD_ROOT%{sgmldir} %{INSTALL_DIR} $RPM_BUILD_ROOT%{_mingw32_sysconfdir}/{sgml,xml} %{INSTALL_DIR} $RPM_BUILD_ROOT%{_mingw32_prefix}/var/lib/sgml touch $RPM_BUILD_ROOT%{_mingw32_sysconfdir}/sgml/catalog xmlcatalog --noout --create $RPM_BUILD_ROOT%{_mingw32_sysconfdir}/xml/suse-catalog.xml xmlcatalog --noout --create $RPM_BUILD_ROOT%{_mingw32_sysconfdir}/xml/catalog xmlcatalog --noout --add "nextCatalog" "suse-catalog.xml" "suse-catalog.xml" \ $RPM_BUILD_ROOT%{_mingw32_sysconfdir}/xml/catalog %{INSTALL_DIR} $RPM_BUILD_ROOT%{_mingw32_datadir}/doc/sgml-skel-%{version} %{INSTALL_DATA} AUTHORS COPYING NEWS README* $RPM_BUILD_ROOT%{_mingw32_datadir}/doc/sgml-skel-%{version} # windows do not support shell scripts rm -rf $RPM_BUILD_ROOT%{_mingw32_bindir} %clean rm -fr $RPM_BUILD_ROOT %files %defattr(-, root, root) %dir %{_mingw32_datadir}/doc/sgml-skel-%{version} %doc %{_mingw32_datadir}/doc/sgml-skel-%{version}/* %ghost %{_mingw32_sysconfdir}/sgml/catalog %ghost %{_mingw32_sysconfdir}/xml/suse-catalog.xml %config %verify(not md5 size mtime) %{_mingw32_sysconfdir}/xml/catalog %dir %{_mingw32_sysconfdir} %dir %{_mingw32_sysconfdir}/sgml %dir %{_mingw32_sysconfdir}/xml #%{_mingw32_bindir}/* %dir %{_mingw32_prefix}/var/lib/sgml %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