rename spec to match directory name #1
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 20 12:07:19 UTC 2025 - Michael Calmer <mc@suse.com>
|
||||
|
||||
- rename spec to match directory name
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 20 01:37:10 UTC 2022 - Jason Sikes <jsikes@suse.com>
|
||||
|
||||
@@ -15,8 +15,9 @@
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
%define realname pcre2
|
||||
|
||||
Name: pcre2
|
||||
Name: pcre2-sle12
|
||||
Version: 10.34
|
||||
Release: 0
|
||||
Summary: A library for Perl-compatible regular expressions
|
||||
@@ -24,9 +25,9 @@ License: BSD-3-Clause
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: https://www.pcre.org/
|
||||
#SVN-Clone: svn://vcs.exim.org/pcre/code/trunk
|
||||
Source: https://ftp.pcre.org/pub/pcre/%{name}-%{version}.tar.bz2
|
||||
Source2: https://ftp.pcre.org/pub/pcre/%{name}-%{version}.tar.bz2.sig
|
||||
Source3: %{name}.keyring
|
||||
Source: https://ftp.pcre.org/pub/pcre/%{realname}-%{version}.tar.bz2
|
||||
Source2: https://ftp.pcre.org/pub/pcre/%{realname}-%{version}.tar.bz2.sig
|
||||
Source3: %{realname}.keyring
|
||||
Source4: baselibs.conf
|
||||
#PATCH-FIX-OPENSUSE tchvatal@suse.cz upstream thinks it is good idea to use rpath, taken from RH
|
||||
Patch1: pcre2-10.10-multilib.patch
|
||||
@@ -55,7 +56,8 @@ as Perl 5.
|
||||
PCRE2 is a re-working of the original PCRE library to provide an entirely new
|
||||
API.
|
||||
|
||||
%package devel
|
||||
|
||||
%package -n pcre2-devel
|
||||
Summary: A library for Perl-compatible regular expressions
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libpcre2-16-0 = %{version}
|
||||
@@ -64,7 +66,7 @@ Requires: libpcre2-8-0 = %{version}
|
||||
Requires: libpcre2-posix2 = %{version}
|
||||
Requires: libstdc++-devel
|
||||
|
||||
%description devel
|
||||
%description -n pcre2-devel
|
||||
The PCRE2 library is a set of functions that implement regular
|
||||
expression pattern matching using the same syntax and semantics
|
||||
as Perl 5.
|
||||
@@ -72,12 +74,12 @@ as Perl 5.
|
||||
PCRE2 is a re-working of the original PCRE library to provide an entirely new
|
||||
API.
|
||||
|
||||
%package devel-static
|
||||
%package -n pcre2-devel-static
|
||||
Summary: A library for Perl-compatible regular expressions
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: pcre2-devel = %{version}
|
||||
|
||||
%description devel-static
|
||||
%description -n pcre2-devel-static
|
||||
The PCRE2 library is a set of functions that implement regular
|
||||
expression pattern matching using the same syntax and semantics
|
||||
as Perl 5.
|
||||
@@ -144,12 +146,12 @@ API.
|
||||
|
||||
pcre2-posix provides a POSIX-compatible API to the PCRE2 engine.
|
||||
|
||||
%package doc
|
||||
%package -n pcre2-doc
|
||||
Summary: A library for Perl-compatible regular expressions
|
||||
Group: Documentation/HTML
|
||||
BuildArch: noarch
|
||||
|
||||
%description doc
|
||||
%description -n pcre2-doc
|
||||
The PCRE2 library is a set of functions that implement regular
|
||||
expression pattern matching using the same syntax and semantics
|
||||
as Perl 5.
|
||||
@@ -157,12 +159,12 @@ as Perl 5.
|
||||
PCRE2 is a re-working of the original PCRE library to provide an entirely new
|
||||
API.
|
||||
|
||||
%package tools
|
||||
%package -n pcre2-tools
|
||||
Summary: A library for Perl-compatible regular expressions
|
||||
Group: Productivity/Text/Utilities
|
||||
Recommends: %{name}-doc
|
||||
Recommends: %{realname}-doc
|
||||
|
||||
%description tools
|
||||
%description -n pcre2-tools
|
||||
The PCRE2 library is a set of functions that implement regular
|
||||
expression pattern matching using the same syntax and semantics
|
||||
as Perl 5.
|
||||
@@ -171,7 +173,7 @@ PCRE2 is a re-working of the original PCRE library to provide an entirely new
|
||||
API.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%setup -q -n %{realname}-%{version}
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
@@ -245,20 +247,20 @@ make check -j1
|
||||
%doc LICENCE
|
||||
%{_libdir}/libpcre2-posix.so.*
|
||||
|
||||
%files tools
|
||||
%files -n pcre2-tools
|
||||
%doc LICENCE
|
||||
%{_bindir}/pcre2grep
|
||||
%{_bindir}/pcre2test
|
||||
%{_mandir}/man1/pcre2grep.1%{?ext_man}
|
||||
%{_mandir}/man1/pcre2test.1%{?ext_man}
|
||||
|
||||
%files doc
|
||||
%files -n pcre2-doc
|
||||
%license COPYING
|
||||
%doc AUTHORS ChangeLog LICENCE NEWS README
|
||||
%doc doc/html doc/*.txt
|
||||
%doc %{_defaultdocdir}/pcre2-doc
|
||||
|
||||
%files devel
|
||||
%files -n pcre2-devel
|
||||
%doc LICENCE
|
||||
%{_bindir}/pcre2-config
|
||||
%{_includedir}/*
|
||||
@@ -270,7 +272,7 @@ make check -j1
|
||||
%{_mandir}/man1/pcre2-config.1%{?ext_man}
|
||||
%{_mandir}/man3/*%{ext_man}
|
||||
|
||||
%files devel-static
|
||||
%files -n pcre2-devel-static
|
||||
%{_libdir}/*.a
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user