source: spec/trunk/SPECS/sed.spec@ 1750

Last change on this file since 1750 was 1634, checked in by Silvan Scherrer, 7 years ago

spec: sed: Release version 4.7-1.

File size: 2.4 KB
Line 
1# -*- coding: utf-8 -*-
2
3Summary: A GNU stream text editor
4Name: sed
5Version: 4.7
6Release: 1%{?dist}
7License: GPLv3+
8Group: Applications/Text
9URL: http://sed.sourceforge.net/
10Vendor: bww bitwise works GmbH
11%scm_source github http://github.com/bitwiseworks/%{name}-os2 %{version}-os2
12#scm_source git E:/Trees/%{name}/git master-os2
13Source1: http://sed.sourceforge.net/sedfaq.txt
14BuildRequires: libc-devel, libcx-devel, automake, autoconf, gcc
15BuildRequires: gettext-devel, gettext-common-devel
16#BuildRequires: glibc-devel, libacl-devel
17#BuildRequires: perl-Getopt-Long
18
19# for the password stuff, as a private repo
20BuildRequires: os2-rpm-build >= 1-4
21
22#Provides: /bin/sed
23
24#copylib
25#Provides: bundled(gnulib)
26
27%description
28The sed (Stream EDitor) editor is a stream or batch (non-interactive)
29editor. Sed takes text as input, performs an operation or set of
30operations on the text and outputs the modified text. The operations
31that sed performs (substitutions, deletions, insertions, etc.) can be
32specified in a script file or from the command line.
33
34%debug_package
35
36%prep
37%scm_setup
38autoreconf -fvi
39
40%build
41export LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp"
42export LIBS="-lcx"
43%configure --without-included-regex
44# we need that until we have a later texinfo :(
45touch ./doc/sed.info
46
47make %{_smp_mflags}
48install -m 644 -p %{SOURCE1} sedfaq.txt
49gzip -9 sedfaq.txt
50
51%check
52echo ====================TESTING=========================
53#make check
54echo ====================TESTING END=====================
55
56%install
57rm -rf ${RPM_BUILD_ROOT}
58# we need that until we have a later texinfo :(
59touch ./doc/sed.info
60make DESTDIR=$RPM_BUILD_ROOT install
61rm -f ${RPM_BUILD_ROOT}/%{_infodir}/dir
62rm -f $RPM_BUILD_ROOT/%{_libdir}/charset.alias
63
64# create a symlink to fullfill requires w/o .exe
65ln -s %{_bindir}/%{name}.exe %{buildroot}%{_bindir}/sed
66
67%find_lang %{name}
68
69%files -f %{name}.lang
70%{!?_licensedir:%global license %%doc}
71%license COPYING
72%doc BUGS NEWS THANKS README AUTHORS sedfaq.txt.gz
73%{_bindir}/sed
74%{_bindir}/sed.exe
75%{_infodir}/sed.info*
76%{_mandir}/man1/sed.1*
77
78%changelog
79* Wed May 15 2019 Silvan Scherrer <silvan.scherrer@aroa.ch> 4.7-1
80- update to vendor version 4.7
81
82* Mon Oct 29 2018 Silvan Scherrer <silvan.scherrer@aroa.ch> 4.5-2
83- remove all binary stuff, as it broke too much
84
85* Sat Oct 27 2018 Silvan Scherrer <silvan.scherrer@aroa.ch> 4.5-1
86- updated to vendor version 4.5
87
88* Sun Jan 08 2012 yd
89- fixed requirements.
90
91* Sat Jan 07 2012 yd
92- initial unixroot build.
Note: See TracBrowser for help on using the repository browser.