Changeset 1506
- Timestamp:
- Oct 28, 2018, 2:18:48 PM (7 years ago)
- Location:
- spec/trunk/SPECS
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
spec/trunk/SPECS/sed.spec
r269 r1506 1 1 # -*- coding: utf-8 -*- 2 %ifos linux3 %define _bindir /bin4 %endif5 2 6 3 Summary: A GNU stream text editor 7 4 Name: sed 8 Version: 4. 2.19 Release: 2%{?dist}5 Version: 4.5 6 Release: 1%{?dist} 10 7 License: GPLv3+ 11 8 Group: Applications/Text 12 9 URL: http://sed.sourceforge.net/ 13 Source0: ftp://ftp.gnu.org/pub/gnu/sed/sed-%{version}.tar.bz2 10 Vendor: 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 14 13 Source1: 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 14 BuildRequires: 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) 20 22 21 23 %description … … 26 28 specified in a script file or from the command line. 27 29 30 %debug_package 31 28 32 %prep 29 %setup -q 30 %patch0 -p1 31 %patch1 -p1 32 %patch2 -p1 33 %scm_setup 34 autoreconf -fvi 33 35 34 36 %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" 37 export LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp" 38 export LIBS="-lcx0" 39 %configure --without-included-regex 40 # we need that until we have a later texinfo :( 41 touch ./doc/sed.info 41 42 42 43 make %{_smp_mflags} … … 44 45 gzip -9 sedfaq.txt 45 46 46 #%check47 #echo ====================TESTING=========================47 %check 48 echo ====================TESTING========================= 48 49 #make check 49 #echo ====================TESTING END=====================50 echo ====================TESTING END===================== 50 51 51 52 %install 52 53 rm -rf ${RPM_BUILD_ROOT} 54 # we need that until we have a later texinfo :( 55 touch ./doc/sed.info 53 56 make DESTDIR=$RPM_BUILD_ROOT install 54 57 rm -f ${RPM_BUILD_ROOT}/%{_infodir}/dir 55 58 rm -f $RPM_BUILD_ROOT/%{_libdir}/charset.alias 56 59 57 #%find_lang %{name} 60 # create a symlink to fullfill requires w/o .exe 61 ln -s %{_bindir}/%{name}.exe %{buildroot}%{_bindir}/sed 58 62 59 %clean 60 rm -rf ${RPM_BUILD_ROOT} 63 %find_lang %{name} 61 64 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 66 70 %{_bindir}/sed.exe 67 %{_infodir}/*.info* 68 %{_mandir}/man*/* 69 %{_datadir}/locale/* 71 %{_infodir}/sed.info* 72 %{_mandir}/man1/sed.1* 70 73 71 74 %changelog 75 * Sat Oct 27 2018 Silvan Scherrer <silvan.scherrer@aroa.ch> 4.5-1 76 - updated to vendro version 4.5 77 72 78 * Sun Jan 08 2012 yd 73 79 - fixed requirements.
Note:
See TracChangeset
for help on using the changeset viewer.