head 1.28; access; symbols OPENPKG_E1_MP_HEAD:1.6 OPENPKG_E1_MP:1.6 OPENPKG_E1_MP_2_STABLE:1.4.2.2 OPENPKG_E1_FP:1.4.2.2 OPENPKG_2_STABLE_MP:1.4 OPENPKG_2_STABLE_20061018:1.4.2.2 OPENPKG_2_STABLE:1.4.0.2; locks; strict; comment @-- @; 1.28 date 2009.10.17.20.14.12; author rse; state Exp; branches; next 1.27; commitid 8wyT1pdZuDLJxV7u; 1.27 date 2009.10.17.20.01.45; author rse; state Exp; branches; next 1.26; commitid BbksUFvuEbwstV7u; 1.26 date 2009.04.27.07.46.19; author rse; state Exp; branches; next 1.25; commitid Lp6HNirH4iCUXCLt; 1.25 date 2009.04.18.13.08.45; author rse; state Exp; branches; next 1.24; commitid 4pHXU27WTIGCZuKt; 1.24 date 2009.04.13.07.38.27; author rse; state Exp; branches; next 1.23; commitid CEN8MbYk0Vt8nPJt; 1.23 date 2009.03.19.07.20.01; author rse; state Exp; branches; next 1.22; commitid ozfIE6zqiKmD4CGt; 1.22 date 2009.03.11.19.49.54; author rse; state Exp; branches; next 1.21; commitid moueiEaxc11QtEFt; 1.21 date 2009.02.03.06.57.16; author rse; state Exp; branches; next 1.20; commitid psRWM1P8o4nwmXAt; 1.20 date 2009.01.20.22.35.35; author rse; state Exp; branches; next 1.19; commitid afkPzesCbaUj0fzt; 1.19 date 2009.01.02.12.29.47; author rse; state Exp; branches; next 1.18; commitid SzoYC4vT74KmeSwt; 1.18 date 2009.01.01.10.03.23; author rse; state Exp; branches; next 1.17; commitid AgIL1OxUHhx7sJwt; 1.17 date 2008.12.13.15.26.49; author rse; state Exp; branches; next 1.16; commitid jpU1zpvEGXwXQjut; 1.16 date 2008.11.30.10.08.28; author rse; state Exp; branches; next 1.15; commitid tPfuW7U0UOrEvCst; 1.15 date 2008.07.04.16.13.42; author rse; state Exp; branches; next 1.14; commitid gHRelbjgEPcTjv9t; 1.14 date 2008.04.29.06.08.46; author rse; state Exp; branches; next 1.13; commitid jHUAJwpiwv3T5Y0t; 1.13 date 2008.01.01.14.50.56; author rse; state Exp; branches; next 1.12; commitid B8esaHJHoduuKILs; 1.12 date 2007.11.18.16.50.19; author rse; state Exp; branches; next 1.11; commitid drvkkRVX0CAOS4Gs; 1.11 date 2007.11.10.17.29.33; author rse; state Exp; branches; next 1.10; commitid U4H318lguwEem3Fs; 1.10 date 2007.09.14.05.41.19; author rse; state Exp; branches; next 1.9; commitid iQLEeN2yQyZQgFxs; 1.9 date 2007.07.22.08.17.21; author rse; state Exp; branches; next 1.8; commitid 4KXMNhi4UXuZRJqs; 1.8 date 2007.04.06.15.40.10; author rse; state Exp; branches; next 1.7; commitid ojPwXphdllY9L1ds; 1.7 date 2007.04.03.14.44.38; author cs; state Exp; branches; next 1.6; commitid tWNui39rnEm5yDcs; 1.6 date 2007.01.01.17.36.38; author rse; state Exp; branches; next 1.5; commitid BicZD6VUl7GuqP0s; 1.5 date 2006.10.22.09.12.26; author rse; state Exp; branches; next 1.4; commitid r25P8AhEgofYWERr; 1.4 date 2006.10.13.17.26.51; author thl; state Exp; branches 1.4.2.1; next 1.3; commitid q5GSxzsSDX29XxQr; 1.3 date 2006.10.08.10.17.49; author rse; state Exp; branches; next 1.2; commitid q0kvvvDojDIiLRPr; 1.2 date 2006.10.06.12.03.58; author cs; state Exp; branches; next 1.1; commitid 7V1OLgeJvLFGpCPr; 1.1 date 2006.10.05.12.28.34; author cs; state Exp; branches; next ; commitid 27qKc7uw3tS7AuPr; 1.4.2.1 date 2006.10.13.17.26.51; author rse; state dead; branches; next 1.4.2.2; commitid iZxwRSmmWscPXUQr; 1.4.2.2 date 2006.10.16.14.48.03; author rse; state Exp; branches; next ; commitid iZxwRSmmWscPXUQr; desc @@ 1.28 log @repackage (not such nice with share/) in order to git it working under run-time (where security checks are done with subdirs) @ text @## ## asciidoc.spec -- OpenPKG RPM Package Specification ## Copyright (c) 2000-2009 OpenPKG Foundation e.V. ## ## Permission to use, copy, modify, and distribute this software for ## any purpose with or without fee is hereby granted, provided that ## the above copyright notice and this permission notice appear in all ## copies. ## ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF ## SUCH DAMAGE. ## # package information Name: asciidoc Summary: Text-Based Document Generation URL: http://www.methods.co.nz/asciidoc/ Vendor: Stuart Rackham Packager: OpenPKG Foundation e.V. Distribution: OpenPKG Community Class: EVAL Group: Typesetting License: GPL Version: 8.4.4 Release: 20091017 # list of sources Source0: http://www.methods.co.nz/asciidoc/asciidoc-%{version}.tar.gz # build information Prefix: %{l_prefix} BuildRoot: %{l_buildroot} BuildPreReq: OpenPKG, openpkg >= 20040130 PreReq: OpenPKG, openpkg >= 20040130, bash, python AutoReq: no AutoReqProv: no %description AsciiDoc is a text document format for writing short documents, articles, books and UNIX man pages. AsciiDoc files can be translated to HTML and DocBook markups using the asciidoc(1) command. AsciiDoc is highly configurable: both the AsciiDoc source file syntax and the backend output markups (which can be almost any type of SGML/XML markup) can be customized and extended by the user. %track prog asciidoc = { version = %{version} url = http://www.methods.co.nz/asciidoc/downloads.html regex = asciidoc-(__VER__)\.tar\.gz } %prep %setup -q %build ./configure \ --prefix=%{l_prefix} \ --sysconfdir=%{l_prefix}/etc \ --mandir=%{l_prefix}/man %{l_make} %{l_mflags -O} %install rm -rf $RPM_BUILD_ROOT %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \ %{l_files_std} \ '%config %{l_prefix}/etc/asciidoc/*.conf' %files -f files %clean rm -rf $RPM_BUILD_ROOT @ 1.27 log @cleanup packaging @ text @d67 5 d75 1 a75 43 # install binaries %{l_shtool} mkdir -f -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/bin %{l_shtool} install -c -m 755 \ -e 's;^#!/usr/bin/env python;#!%{l_prefix}/bin/python;g' \ -e 's;/etc/asciidoc;%{l_prefix}/etc/asciidoc;g' \ asciidoc.py \ $RPM_BUILD_ROOT%{l_prefix}/bin/asciidoc %{l_shtool} install -c -m 755 \ -e 's;^#!/bin/bash;#!%{l_prefix}/bin/bash;g' \ -e 's;/etc/asciidoc;%{l_prefix}/etc/asciidoc;g' \ a2x \ $RPM_BUILD_ROOT%{l_prefix}/bin/ # install configuration files %{l_shtool} mkdir -f -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/etc/asciidoc %{l_shtool} install -c -m 644 \ -e 's;\.\(/stylesheets\);%{l_prefix}/share/asciidoc\1;g' \ *.conf \ $RPM_BUILD_ROOT%{l_prefix}/etc/asciidoc/ # install man pages %{l_shtool} mkdir -f -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/man/man1 %{l_shtool} install -c -m 644 \ doc/*.1 \ $RPM_BUILD_ROOT%{l_prefix}/man/man1/ # install architecture-independent shared data for i in doc docbook-xsl examples filters images stylesheets; do %{l_shtool} mkdir -f -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/share/asciidoc/$i %{l_tar} cf - $i | %{l_tar} xf - --no-same-permissions \ -C $RPM_BUILD_ROOT%{l_prefix}/share/asciidoc/ done # strip installation rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/asciidoc/{doc,examples} \ >/dev/null 2>&1 || true # determine installation files d78 1 a78 1 '%config %{l_prefix}/etc/asciidoc/*' @ 1.26 log @upgrading package: asciidoc 8.4.3 -> 8.4.4 @ text @d35 1 a35 1 Release: 20090427 d51 4 a54 5 to HTML and DocBook markups using the asciidoc(1) command. AsciiDoc is highly configurable: both the AsciiDoc source file syntax and the backend output markups (which can be almost any type of SGML/XML markup) can be customized and extended by the user. a64 5 %{l_shtool} subst -e 's;\r$;;' \ *.conf \ docbook-xsl/*.{patch,txt,xsl} \ filters/*.{conf,py,txt} \ stylesheets/*.css a66 1 : @ 1.25 log @bump years in copyright messages @ text @d34 2 a35 2 Version: 8.4.3 Release: 20090413 @ 1.24 log @upgrading package: asciidoc 8.4.2 -> 8.4.3 @ text @d3 1 a3 1 ## Copyright (c) 2000-2008 OpenPKG Foundation e.V. @ 1.23 log @upgrading package: asciidoc 8.4.1 -> 8.4.2 @ text @d34 2 a35 2 Version: 8.4.2 Release: 20090319 @ 1.22 log @upgrading package: asciidoc 8.3.5 -> 8.4.1 @ text @d34 2 a35 2 Version: 8.4.1 Release: 20090311 @ 1.21 log @upgrading package: asciidoc 8.3.4 -> 8.3.5 @ text @d34 2 a35 2 Version: 8.3.5 Release: 20090203 @ 1.20 log @upgrading package: asciidoc 8.3.3 -> 8.3.4 @ text @d34 2 a35 2 Version: 8.3.4 Release: 20090120 @ 1.19 log @upgrading package: asciidoc 8.3.2 -> 8.3.3 @ text @d34 2 a35 2 Version: 8.3.3 Release: 20090102 @ 1.18 log @upgrading package: asciidoc 8.3.1 -> 8.3.2 @ text @d34 2 a35 2 Version: 8.3.2 Release: 20090101 @ 1.17 log @upgrading package: asciidoc 8.3.0 -> 8.3.1 @ text @d34 2 a35 2 Version: 8.3.1 Release: 20081213 @ 1.16 log @upgrading package: asciidoc 8.2.7 -> 8.3.0 @ text @d34 2 a35 2 Version: 8.3.0 Release: 20081130 @ 1.15 log @upgrading package: asciidoc 8.2.6 -> 8.2.7 @ text @d34 2 a35 2 Version: 8.2.7 Release: 20080704 @ 1.14 log @upgrading package: asciidoc 8.2.5 -> 8.2.6 @ text @d34 2 a35 2 Version: 8.2.6 Release: 20080429 @ 1.13 log @Update package specifications according to OpenPKG year 2008 world order: http://www.mail-archive.com/openpkg-announce@@openpkg.org/msg00221.html @ text @d34 2 a35 2 Version: 8.2.5 Release: 20080101 @ 1.12 log @upgrading package: asciidoc 8.2.4 -> 8.2.5 @ text @d3 1 a3 2 ## Copyright (c) 2000-2007 OpenPKG Foundation e.V. ## Copyright (c) 2000-2007 Ralf S. Engelschall d35 1 a35 1 Release: 20071118 @ 1.11 log @upgrading package: asciidoc 8.2.3 -> 8.2.4 @ text @d35 2 a36 2 Version: 8.2.4 Release: 20071110 @ 1.10 log @upgrading package: asciidoc 8.2.2 -> 8.2.3 @ text @d35 2 a36 2 Version: 8.2.3 Release: 20070914 @ 1.9 log @upgrading package: asciidoc 8.2.1 -> 8.2.2 @ text @d35 2 a36 2 Version: 8.2.2 Release: 20070722 @ 1.8 log @upgrading package: asciidoc 8.2.0 -> 8.2.1 @ text @d35 2 a36 2 Version: 8.2.1 Release: 20070406 @ 1.7 log @upgrading package: asciidoc 8.1.0 -> 8.2.0 @ text @d35 2 a36 2 Version: 8.2.0 Release: 20070403 @ 1.6 log @Welcome Year 2007! @ text @d35 2 a36 2 Version: 8.1.0 Release: 20061022 @ 1.5 log @upgrading package: asciidoc 8.0.0 -> 8.1.0 @ text @d3 2 a4 2 ## Copyright (c) 2000-2006 OpenPKG Foundation e.V. ## Copyright (c) 2000-2006 Ralf S. Engelschall @ 1.4 log @new world order for "Packager" and "Distribution" headers @ text @d35 2 a36 2 Version: 8.0.0 Release: 20061013 @ 1.4.2.1 log @file asciidoc.spec was added on branch OPENPKG_2_STABLE on 2006-10-16 14:48:03 +0000 @ text @d1 129 @ 1.4.2.2 log @Mass merge from CURRENT to 2-STABLE (all packages except those of JUNK class) @ text @a0 129 ## ## asciidoc.spec -- OpenPKG RPM Package Specification ## Copyright (c) 2000-2006 OpenPKG Foundation e.V. ## Copyright (c) 2000-2006 Ralf S. Engelschall ## ## Permission to use, copy, modify, and distribute this software for ## any purpose with or without fee is hereby granted, provided that ## the above copyright notice and this permission notice appear in all ## copies. ## ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF ## SUCH DAMAGE. ## # package information Name: asciidoc Summary: Text-Based Document Generation URL: http://www.methods.co.nz/asciidoc/ Vendor: Stuart Rackham Packager: OpenPKG Foundation e.V. Distribution: OpenPKG Community Class: EVAL Group: Typesetting License: GPL Version: 8.0.0 Release: 2.20061018 # list of sources Source0: http://www.methods.co.nz/asciidoc/asciidoc-%{version}.tar.gz # build information Prefix: %{l_prefix} BuildRoot: %{l_buildroot} BuildPreReq: OpenPKG, openpkg >= 2.20061018 PreReq: OpenPKG, openpkg >= 2.20061018, bash, python AutoReq: no AutoReqProv: no %description AsciiDoc is a text document format for writing short documents, articles, books and UNIX man pages. AsciiDoc files can be translated to HTML and DocBook markups using the asciidoc(1) command. AsciiDoc is highly configurable: both the AsciiDoc source file syntax and the backend output markups (which can be almost any type of SGML/XML markup) can be customized and extended by the user. %track prog asciidoc = { version = %{version} url = http://www.methods.co.nz/asciidoc/downloads.html regex = asciidoc-(__VER__)\.tar\.gz } %prep %setup -q %{l_shtool} subst -e 's;\r$;;' \ *.conf \ docbook-xsl/*.{patch,txt,xsl} \ filters/*.{conf,py,txt} \ stylesheets/*.css %build : %install rm -rf $RPM_BUILD_ROOT # install binaries %{l_shtool} mkdir -f -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/bin %{l_shtool} install -c -m 755 \ -e 's;^#!/usr/bin/env python;#!%{l_prefix}/bin/python;g' \ -e 's;/etc/asciidoc;%{l_prefix}/etc/asciidoc;g' \ asciidoc.py \ $RPM_BUILD_ROOT%{l_prefix}/bin/asciidoc %{l_shtool} install -c -m 755 \ -e 's;^#!/bin/bash;#!%{l_prefix}/bin/bash;g' \ -e 's;/etc/asciidoc;%{l_prefix}/etc/asciidoc;g' \ a2x \ $RPM_BUILD_ROOT%{l_prefix}/bin/ # install configuration files %{l_shtool} mkdir -f -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/etc/asciidoc %{l_shtool} install -c -m 644 \ -e 's;\.\(/stylesheets\);%{l_prefix}/share/asciidoc\1;g' \ *.conf \ $RPM_BUILD_ROOT%{l_prefix}/etc/asciidoc/ # install man pages %{l_shtool} mkdir -f -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/man/man1 %{l_shtool} install -c -m 644 \ doc/*.1 \ $RPM_BUILD_ROOT%{l_prefix}/man/man1/ # install architecture-independent shared data for i in doc docbook-xsl examples filters images stylesheets; do %{l_shtool} mkdir -f -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/share/asciidoc/$i %{l_tar} cf - $i | %{l_tar} xf - --no-same-permissions \ -C $RPM_BUILD_ROOT%{l_prefix}/share/asciidoc/ done # strip installation rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/asciidoc/{doc,examples} \ >/dev/null 2>&1 || true # determine installation files %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \ %{l_files_std} \ '%config %{l_prefix}/etc/asciidoc/*' %files -f files %clean rm -rf $RPM_BUILD_ROOT @ 1.3 log @use our usual 'all-caps' style @ text @d30 2 a31 2 Packager: OpenPKG Distribution: OpenPKG d36 1 a36 1 Release: 20061008 @ 1.2 log @some cleanup @ text @d27 1 a27 1 Summary: Text based document generation d36 1 a36 1 Release: 20061006 @ 1.1 log @new package: asciidoc 8.0.0 (Text based document generation) @ text @d36 1 a36 1 Release: 20061005 d67 5 d116 4 @