Changeset 1506


Ignore:
Timestamp:
Oct 28, 2018, 2:18:48 PM (7 years ago)
Author:
Silvan Scherrer
Message:

spec: sed: Release version 4.5-1

Location:
spec/trunk/SPECS
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • spec/trunk/SPECS/sed.spec

    r269 r1506  
    11# -*- coding: utf-8 -*-
    2 %ifos linux
    3 %define _bindir /bin
    4 %endif
    52
    63Summary: A GNU stream text editor
    74Name: sed
    8 Version: 4.2.1
    9 Release: 2%{?dist}
     5Version: 4.5
     6Release: 1%{?dist}
    107License: GPLv3+
    118Group: Applications/Text
    129URL: http://sed.sourceforge.net/
    13 Source0: ftp://ftp.gnu.org/pub/gnu/sed/sed-%{version}.tar.bz2
     10Vendor: bww bitwise works GmbH
     11#scm_source github http://github.com/bitwiseworks/%{name}-os2 master-os2
     12%scm_source git E:/Trees/%{name}/git master-os2
    1413Source1: http://sed.sourceforge.net/sedfaq.txt
    15 Patch0: sed-4.2.1-copy.patch
    16 Patch1: sed-4.2.1-makecheck.patch
    17 Patch2: sed-os2.patch
    18 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
    19 BuildRequires: libc-devel
     14BuildRequires: libc-devel, libcx-devel, automake, autoconf, gcc
     15#BuildRequires: glibc-devel, libacl-devel
     16#BuildRequires: perl-Getopt-Long
     17
     18#Provides: /bin/sed
     19
     20#copylib
     21#Provides: bundled(gnulib)
    2022
    2123%description
     
    2628specified in a script file or from the command line.
    2729
     30%debug_package
     31
    2832%prep
    29 %setup -q
    30 %patch0 -p1
    31 %patch1 -p1
    32 %patch2 -p1
     33%scm_setup
     34autoreconf -fvi
    3335
    3436%build
    35 export CONFIG_SHELL="/@unixroot/usr/bin/sh.exe"
    36 export LDFLAGS="-Zbin-files -Zhigh-mem -Zomf -Zargs-wild -Zargs-resp"
    37 export LIBS="-lurpo -lmmap"
    38 %configure \
    39      --without-included-regex \
    40     "--cache-file=%{_topdir}/cache/%{name}-%{_target_cpu}.cache"
     37export LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp"
     38export LIBS="-lcx0"
     39%configure --without-included-regex
     40# we need that until we have a later texinfo :(
     41touch ./doc/sed.info
    4142
    4243make %{_smp_mflags}
     
    4445gzip -9 sedfaq.txt
    4546
    46 #%check
    47 #echo ====================TESTING=========================
     47%check
     48echo ====================TESTING=========================
    4849#make check
    49 #echo ====================TESTING END=====================
     50echo ====================TESTING END=====================
    5051
    5152%install
    5253rm -rf ${RPM_BUILD_ROOT}
     54# we need that until we have a later texinfo :(
     55touch ./doc/sed.info
    5356make DESTDIR=$RPM_BUILD_ROOT install
    5457rm -f ${RPM_BUILD_ROOT}/%{_infodir}/dir
    5558rm -f $RPM_BUILD_ROOT/%{_libdir}/charset.alias
    5659
    57 #%find_lang %{name}
     60# create a symlink to fullfill requires w/o .exe
     61ln -s %{_bindir}/%{name}.exe %{buildroot}%{_bindir}/sed
    5862
    59 %clean
    60 rm -rf ${RPM_BUILD_ROOT}
     63%find_lang %{name}
    6164
    62 %files
    63 # -f %{name}.lang
    64 %defattr(-,root,root)
    65 %doc BUGS NEWS THANKS README AUTHORS sedfaq.txt.gz COPYING COPYING.DOC
     65%files -f %{name}.lang
     66%{!?_licensedir:%global license %%doc}
     67%license COPYING
     68%doc BUGS NEWS THANKS README AUTHORS sedfaq.txt.gz
     69%{_bindir}/sed
    6670%{_bindir}/sed.exe
    67 %{_infodir}/*.info*
    68 %{_mandir}/man*/*
    69 %{_datadir}/locale/*
     71%{_infodir}/sed.info*
     72%{_mandir}/man1/sed.1*
    7073
    7174%changelog
     75* Sat Oct 27 2018 Silvan Scherrer <silvan.scherrer@aroa.ch> 4.5-1
     76- updated to vendro version 4.5
     77
    7278* Sun Jan 08 2012 yd
    7379- fixed requirements.
Note: See TracChangeset for help on using the changeset viewer.