diffutils/diffutils.spec

Tue, 28 Aug 2012 18:29:30 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 28 Aug 2012 18:29:30 +0200
changeset 534
d2d0020cfafa
parent 458
153370aaf13f
permissions
-rw-r--r--

Update from Drupal 6.x to 7.x and introduce several new HTML5 themes. Because
many themes from Drupal 6.x have since been abandoned, left unmaintained, or
not ported to Drupal 7.x, this package has changed in size and utility.

     1 ##
     2 ##  diffutils.spec -- OpenPKG RPM Package Specification
     3 ##  Copyright (c) 2000-2012 OpenPKG Foundation e.V. <http://openpkg.net/>
     4 ##
     5 ##  Permission to use, copy, modify, and distribute this software for
     6 ##  any purpose with or without fee is hereby granted, provided that
     7 ##  the above copyright notice and this permission notice appear in all
     8 ##  copies.
     9 ##
    10 ##  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
    11 ##  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
    12 ##  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
    13 ##  IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
    14 ##  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
    15 ##  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
    16 ##  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
    17 ##  USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
    18 ##  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
    19 ##  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
    20 ##  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    21 ##  SUCH DAMAGE.
    22 ##
    24 #   package information
    25 Name:         diffutils
    26 Summary:      GNU Diff Utilities
    27 URL:          http://www.gnu.org/software/diffutils/
    28 Vendor:       Free Software Foundation
    29 Packager:     OpenPKG Foundation e.V.
    30 Distribution: OpenPKG Community
    31 Class:        BASE
    32 Group:        Patching
    33 License:      GPL
    34 Version:      3.2
    35 Release:      20120800
    37 #   list of sources
    38 Source0:      ftp://ftp.gnu.org/gnu/diffutils/diffutils-%{version}.tar.gz
    39 Patch0:       diffutils.patch
    41 #   build information
    42 BuildPreReq:  OpenPKG, openpkg >= 20100101, texinfo, make, gcc
    43 PreReq:       OpenPKG, openpkg >= 20100101
    45 %description
    46     The GNU set of diff utilities: cmp, diff, diff3 and sdiff.
    48 %track
    49     prog diffutils = {
    50         version   = %{version}
    51         url       = ftp://ftp.gnu.org/gnu/diffutils/
    52         regex     = diffutils-(__VER__)\.tar\.gz
    53     }
    55 %prep
    56     %setup -q
    57     %patch -p0
    59 %build
    60     CC="%{l_cc}" \
    61     CFLAGS="%{l_cflags -O}" \
    62     ./configure \
    63         --prefix=%{l_prefix} \
    64         --mandir=%{l_prefix}/man \
    65         --infodir=%{l_prefix}/info \
    66         --disable-nls
    67     touch man/diff.1 man/diff3.1 && %{l_make} %{l_mflags -O}
    69 %install
    70     %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT
    71     rm -f $RPM_BUILD_ROOT%{l_prefix}/info/dir
    72     rm -f $RPM_BUILD_ROOT%{l_prefix}/lib/charset.alias
    73     strip $RPM_BUILD_ROOT%{l_prefix}/bin/* 2>/dev/null || true
    74     %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
    76 %files -f files
    78 %clean

mercurial