| 1 |
# -*- coding: utf-8 -*-
|
| 2 |
%ifos linux
|
| 3 |
%define _bindir /bin
|
| 4 |
%endif
|
| 5 |
|
| 6 |
Summary: A GNU stream text editor
|
| 7 |
Name: sed
|
| 8 |
Version: 4.2.1
|
| 9 |
Release: 4%{?dist}
|
| 10 |
License: GPLv2+
|
| 11 |
Group: Applications/Text
|
| 12 |
URL: http://sed.sourceforge.net/
|
| 13 |
Source0: ftp://ftp.gnu.org/pub/gnu/sed/sed-%{version}.tar.bz2
|
| 14 |
Source1: http://sed.sourceforge.net/sedfaq.txt
|
| 15 |
Patch0: sed-4.2.1-dummyparam.diff
|
| 16 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
| 17 |
BuildRequires: glibc-devel, libselinux-devel
|
| 18 |
Requires(post): /sbin/install-info
|
| 19 |
Requires(preun): /sbin/install-info
|
| 20 |
|
| 21 |
%description
|
| 22 |
The sed (Stream EDitor) editor is a stream or batch (non-interactive)
|
| 23 |
editor. Sed takes text as input, performs an operation or set of
|
| 24 |
operations on the text and outputs the modified text. The operations
|
| 25 |
that sed performs (substitutions, deletions, insertions, etc.) can be
|
| 26 |
specified in a script file or from the command line.
|
| 27 |
|
| 28 |
%prep
|
| 29 |
%setup -q
|
| 30 |
%patch0 -p1
|
| 31 |
|
| 32 |
%build
|
| 33 |
%configure --without-included-regex
|
| 34 |
make %{_smp_mflags}
|
| 35 |
install -m 644 -p %{SOURCE1} sedfaq.txt
|
| 36 |
gzip -9 sedfaq.txt
|
| 37 |
|
| 38 |
%check
|
| 39 |
echo ====================TESTING=========================
|
| 40 |
make check
|
| 41 |
echo ====================TESTING END=====================
|
| 42 |
|
| 43 |
%install
|
| 44 |
rm -rf ${RPM_BUILD_ROOT}
|
| 45 |
make DESTDIR=$RPM_BUILD_ROOT install
|
| 46 |
rm -f ${RPM_BUILD_ROOT}/%{_infodir}/dir
|
| 47 |
|
| 48 |
%find_lang %{name}
|
| 49 |
|
| 50 |
%post
|
| 51 |
/sbin/install-info %{_infodir}/sed.info.gz %{_infodir}/dir || &> /dev/null
|
| 52 |
:
|
| 53 |
|
| 54 |
%preun
|
| 55 |
if [ $1 = 0 ]; then
|
| 56 |
/sbin/install-info --delete %{_infodir}/sed.info.gz %{_infodir}/dir || &> /dev/null
|
| 57 |
fi
|
| 58 |
:
|
| 59 |
|
| 60 |
%clean
|
| 61 |
rm -rf ${RPM_BUILD_ROOT}
|
| 62 |
|
| 63 |
%files -f %{name}.lang
|
| 64 |
%defattr(-,root,root)
|
| 65 |
%doc BUGS NEWS THANKS README AUTHORS sedfaq.txt.gz COPYING COPYING.DOC
|
| 66 |
%{_bindir}/sed
|
| 67 |
%{_infodir}/*.info*
|
| 68 |
%{_mandir}/man*/*
|
| 69 |
|
| 70 |
%changelog
|
| 71 |
* Fri Oct 16 2009 Jiri Moskovcak <jmoskovc@redhat.com> 4.2.1-4
|
| 72 |
- added libselinux-devel to buildrequires rhbz#514182
|
| 73 |
- fixed problem with --excludedocs rhbz#515913
|
| 74 |
|
| 75 |
* Tue Aug 11 2009 Ville Skyttä <ville.skytta@iki.fi> - 4.2.1-3
|
| 76 |
- Use bzipped upstream tarball.
|
| 77 |
|
| 78 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.1-2
|
| 79 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
| 80 |
|
| 81 |
* Mon Jun 29 2009 Jiri Moskovcak <jmoskovc@redhat.com> - 4.2.1-1
|
| 82 |
- new version
|
| 83 |
- obsoletes previous patches
|
| 84 |
- added patch to maintain backwards compatibility for scripts using -c/--copy
|
| 85 |
- Resolves: #502934
|
| 86 |
|
| 87 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.5-12
|
| 88 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
| 89 |
|
| 90 |
* Thu Nov 13 2008 Jiri Moskovcak <jmoskovc@redhat.com> 4.1.5-11
|
| 91 |
- improved follow.patch (thanks to Arkadiusz Miskiewicz for initial patch)
|
| 92 |
- Resolves: #470912
|
| 93 |
|
| 94 |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 4.1.5-10
|
| 95 |
- Autorebuild for GCC 4.3
|
| 96 |
|
| 97 |
* Thu Oct 4 2007 Petr Machata <pmachata@redhat.com> - 4.1.5-9
|
| 98 |
- Fix licensing tag.
|
| 99 |
- Clean up per merge review comments.
|
| 100 |
- Resolves: #226404
|
| 101 |
|
| 102 |
* Wed Feb 7 2007 Petr Machata <pmachata@redhat.com> - 4.1.5-8
|
| 103 |
- tidy up the specfile per rpmlint comments
|
| 104 |
- use utf-8 and fix national characters in contributor's names
|
| 105 |
|
| 106 |
* Thu Jan 25 2007 Petr Machata <pmachata@redhat.com> - 4.1.5-7
|
| 107 |
- Ville Skyttä: patch for non-failing %%post, %%preun
|
| 108 |
- Resolves: #223716
|
| 109 |
|
| 110 |
* Fri Dec 8 2006 Petr Machata <pmachata@redhat.com> - 4.1.5-6
|
| 111 |
- Split confused patches "copy+symlink" and "relsymlink" into discrete
|
| 112 |
"copy" and "symlink".
|
| 113 |
|
| 114 |
* Mon Sep 4 2006 Petr Machata <pmachata@redhat.com> - 4.1.5-5
|
| 115 |
- Fix handling of relative symlinks (#205122)
|
| 116 |
|
| 117 |
* Wed Aug 3 2006 Petr Machata <pmachata@redhat.com> - 4.1.5-4
|
| 118 |
- remove superfluous multibyte processing in str_append for UTF-8
|
| 119 |
encoding (thanks Paolo Bonzini, #177246)
|
| 120 |
|
| 121 |
* Mon Jul 17 2006 Petr Machata <pmachata@redhat.com> - 4.1.5-3
|
| 122 |
- use dist tag
|
| 123 |
|
| 124 |
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 4.1.5-2.2.1
|
| 125 |
- rebuild
|
| 126 |
|
| 127 |
* Thu Jun 29 2006 Petr Machata <pmachata@redhat.com> - 4.1.5-2.2
|
| 128 |
- typo in patch name
|
| 129 |
|
| 130 |
* Thu Jun 29 2006 Petr Machata <pmachata@redhat.com> - 4.1.5-2.1
|
| 131 |
- rebuild
|
| 132 |
|
| 133 |
* Thu Jun 29 2006 Petr Machata <pmachata@redhat.com> - 4.1.5-2
|
| 134 |
- #185374:
|
| 135 |
- Follow symlinks before rename (avoid symlink overwrite)
|
| 136 |
- Add -c flag for copy instead of rename (avoid ownership change)
|
| 137 |
|
| 138 |
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 4.1.5-1.2
|
| 139 |
- bump again for double-long bug on ppc(64)
|
| 140 |
|
| 141 |
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 4.1.5-1.1
|
| 142 |
- rebuilt for new gcc4.1 snapshot and glibc changes
|
| 143 |
|
| 144 |
* Mon Feb 06 2006 Florian La Roche <laroche@redhat.com>
|
| 145 |
- 4.1.5
|
| 146 |
|
| 147 |
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
| 148 |
- rebuilt
|
| 149 |
|
| 150 |
* Thu Mar 17 2005 Jakub Jelinek <jakub@redhat.com> 4.1.4-1
|
| 151 |
- update to 4.1.4
|
| 152 |
|
| 153 |
* Sat Mar 5 2005 Jakub Jelinek <jakub@redhat.com> 4.1.2-5
|
| 154 |
- rebuilt with GCC 4
|
| 155 |
|
| 156 |
* Fri Oct 8 2004 Jakub Jelinek <jakub@redhat.com> 4.1.2-4
|
| 157 |
- fix up make check to run sed --version with LC_ALL=C
|
| 158 |
in the environment (#129014)
|
| 159 |
|
| 160 |
* Sat Oct 2 2004 Jakub Jelinek <jakub@redhat.com> 4.1.2-3
|
| 161 |
- add sedfaq.txt to %%{_docdir} (#16202)
|
| 162 |
|
| 163 |
* Mon Aug 23 2004 Florian La Roche <Florian.LaRoche@redhat.de>
|
| 164 |
- update to 4.1.2
|
| 165 |
|
| 166 |
* Thu Jul 8 2004 Jakub Jelinek <jakub@redhat.com> 4.1.1-1
|
| 167 |
- update to 4.1.1
|
| 168 |
|
| 169 |
* Mon Jun 21 2004 Jakub Jelinek <jakub@redhat.com> 4.1-1
|
| 170 |
- update to 4.1
|
| 171 |
|
| 172 |
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
| 173 |
- rebuilt
|
| 174 |
|
| 175 |
* Tue May 25 2004 Jakub Jelinek <jakub@redhat.com> 4.0.9-1
|
| 176 |
- update to 4.0.9
|
| 177 |
- BuildRequire recent glibc and glibc-devel (#123043)
|
| 178 |
|
| 179 |
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
| 180 |
- rebuilt
|
| 181 |
|
| 182 |
* Wed Jan 7 2004 Jakub Jelinek <jakub@redhat.com> 4.0.8-3
|
| 183 |
- if not -n, print current buffer after N command on the last line
|
| 184 |
unless POSIXLY_CORRECT (#112952)
|
| 185 |
- adjust XFAIL_TESTS for the improved glibc regex implementation
|
| 186 |
(#112642)
|
| 187 |
|
| 188 |
* Fri Nov 14 2003 Jakub Jelinek <jakub@redhat.com> 4.0.8-2
|
| 189 |
- enable --without-included-regex again
|
| 190 |
- use fastmap for regex searching
|
| 191 |
|
| 192 |
* Sat Oct 25 2003 Florian La Roche <Florian.LaRoche@redhat.de>
|
| 193 |
- update to 4.0.8
|
| 194 |
- simplify specfile
|
| 195 |
- disable --without-included-regex to pass the testsuite
|
| 196 |
|
| 197 |
* Thu Jun 26 2003 Jakub Jelinek <jakub@redhat.com> 4.0.7-3
|
| 198 |
- rebuilt
|
| 199 |
|
| 200 |
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
| 201 |
- rebuilt
|
| 202 |
|
| 203 |
* Sat Apr 12 2003 Florian La Roche <Florian.LaRoche@redhat.de>
|
| 204 |
- update to 4.0.7
|
| 205 |
- use "--without-included-regex"
|
| 206 |
- do not gzip info pages in spec file, "TODO" is not present anymore
|
| 207 |
|
| 208 |
* Thu Jan 23 2003 Jakub Jelinek <jakub@redhat.com> 4.0.5-1
|
| 209 |
- update to 4.0.5
|
| 210 |
|
| 211 |
* Tue Oct 22 2002 Jakub Jelinek <jakub@redhat.com>
|
| 212 |
- rebuilt to fix x86-64 miscompilation
|
| 213 |
- run make check in %%build
|
| 214 |
|
| 215 |
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
| 216 |
- automated rebuild
|
| 217 |
|
| 218 |
* Thu May 23 2002 Tim Powers <timp@redhat.com>
|
| 219 |
- automated rebuild
|
| 220 |
|
| 221 |
* Fri Apr 5 2002 Jakub Jelinek <jakub@redhat.com>
|
| 222 |
- Remove stale URLs from documentation (#62519)
|
| 223 |
|
| 224 |
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
|
| 225 |
- Bump release + rebuild.
|
| 226 |
|
| 227 |
* Mon Dec 18 2000 Yukihiro Nakai <ynakai@redhat.com>
|
| 228 |
- Update to 2000.11.28 patch
|
| 229 |
- Rebuild for 7.1 tree
|
| 230 |
|
| 231 |
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
|
| 232 |
- automatic rebuild
|
| 233 |
|
| 234 |
* Mon Jun 5 2000 Jeff Johnson <jbj@redhat.com>
|
| 235 |
- FHS packaging.
|
| 236 |
|
| 237 |
* Mon Feb 7 2000 Jeff Johnson <jbj@redhat.com>
|
| 238 |
- compress man pages.
|
| 239 |
|
| 240 |
* Tue Jan 18 2000 Jakub Jelinek <jakub@redhat.com>
|
| 241 |
- rebuild with glibc 2.1.3 to fix an mmap64 bug in sys/mman.h
|
| 242 |
|
| 243 |
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
| 244 |
- auto rebuild in the new build environment (release 4)
|
| 245 |
|
| 246 |
* Tue Aug 18 1998 Jeff Johnson <jbj@redhat.com>
|
| 247 |
- update to 3.02
|
| 248 |
|
| 249 |
* Sun Jul 26 1998 Jeff Johnson <jbj@redhat.com>
|
| 250 |
- update to 3.01
|
| 251 |
|
| 252 |
* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
|
| 253 |
- translations modified for de, fr, tr
|
| 254 |
|
| 255 |
* Thu Oct 23 1997 Donnie Barnes <djb@redhat.com>
|
| 256 |
- removed references to the -g option from the man page that we add
|
| 257 |
|
| 258 |
* Fri Oct 17 1997 Donnie Barnes <djb@redhat.com>
|
| 259 |
- spec file cleanups
|
| 260 |
- added BuildRoot
|
| 261 |
|
| 262 |
* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
|
| 263 |
- built against glibc
|