Projects
home:pandora:RobinOS23
sed
_service:download_src_package:sed.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:download_src_package:sed.spec of Package sed
# -*- coding: utf-8 -*- %define anolis_release 2 Summary: A GNU stream text editor Name: sed Version: 4.8 Release: %{anolis_release}%{?dist} License: GPLv3+ URL: http://sed.sourceforge.net/ Source0: ftp://ftp.gnu.org/pub/gnu/sed/%{name}-%{version}.tar.xz Source1: http://sed.sourceforge.net/sedfaq.txt BuildRequires: make BuildRequires: glibc-devel, libselinux-devel, libacl-devel, automake, autoconf, gcc BuildRequires: perl-Getopt-Long BuildRequires: perl(FileHandle) Provides: /bin/sed #copylib Provides: bundled(gnulib) %description The sed (Stream EDitor) editor is a stream or batch (non-interactive) editor. Sed takes text as input, performs an operation or set of operations on the text and outputs the modified text. The operations that sed performs (substitutions, deletions, insertions, etc.) can be specified in a script file or from the command line. %package doc Summary: Documentation files for %{name} Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc The %{name}-doc package contains documentation files for %{name}. %prep %setup -q sed -e 's/1729576/EPERM/' \ -i gnulib-tests/test-{strerror_r,perror2}.c %build %configure --without-included-regex %make_build install -m 644 -p %{SOURCE1} sedfaq.txt gzip -9 sedfaq.txt %check echo ====================TESTING========================= make check echo ====================TESTING END===================== %install rm -rf ${RPM_BUILD_ROOT} %make_install rm -f ${RPM_BUILD_ROOT}/%{_infodir}/dir %find_lang %{name} %files -f %{name}.lang %{!?_licensedir:%global license %%doc} %license COPYING %{_bindir}/sed %{_infodir}/sed.info* %{_mandir}/man1/sed.1* %files doc %doc BUGS NEWS THANKS README AUTHORS sedfaq.txt.gz %changelog * Sun Oct 09 2022 mgb01105731 <mgb01105731@alibaba-inc.com> - 4.8-2 - add doc package * Thu Mar 10 2022 zhang xianting <zhangxianting@uniontech.com> - 4.8-1 - Initial build for Anolis v23
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2