Accepting request 103179 from devel:libraries:c_c++
- Remove redundant tags/sections per specfile guideline suggestions - Parallel building using %_smp_mflags - Enable pkgconfig provides OBS-URL: https://build.opensuse.org/request/show/103179 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tre?expand=0&rev=7
This commit is contained in:
parent
5f7043c100
commit
a1d8305859
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jan 29 01:09:35 UTC 2012 - jengelh@medozas.de
|
||||||
|
|
||||||
|
- Remove redundant tags/sections per specfile guideline suggestions
|
||||||
|
- Parallel building using %_smp_mflags
|
||||||
|
- Enable pkgconfig provides
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Dec 10 12:47:07 CET 2009 - pgajdos@suse.cz
|
Thu Dec 10 12:47:07 CET 2009 - pgajdos@suse.cz
|
||||||
|
|
||||||
|
25
tre.spec
25
tre.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package tre (Version 0.8.0)
|
# spec file for package tre
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -27,18 +27,13 @@ Patch0: %{name}.diff
|
|||||||
Summary: POSIX compatible regexp library with approximate matching
|
Summary: POSIX compatible regexp library with approximate matching
|
||||||
Url: http://laurikari.net/tre/
|
Url: http://laurikari.net/tre/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
|
||||||
%description
|
%description
|
||||||
TRE is a lightweight, robust, and efficient POSIX compatible regexp
|
TRE is a lightweight, robust, and efficient POSIX compatible regexp
|
||||||
matching library with some exciting features such as approximate
|
matching library with some exciting features such as approximate
|
||||||
matching.
|
matching.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Ville Laurikari <vl@iki.fi>
|
|
||||||
|
|
||||||
%package -n libtre5
|
%package -n libtre5
|
||||||
License: GPL v2.1 or later
|
License: GPL v2.1 or later
|
||||||
Summary: POSIX compatible regexp library with approximate matching
|
Summary: POSIX compatible regexp library with approximate matching
|
||||||
@ -70,12 +65,6 @@ TRE is a lightweight, robust, and efficient POSIX compatible regexp
|
|||||||
matching library with some exciting features such as approximate
|
matching library with some exciting features such as approximate
|
||||||
matching.
|
matching.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Ville Laurikari <vl@iki.fi>
|
|
||||||
|
|
||||||
%package -n agrep
|
%package -n agrep
|
||||||
License: NON-OSI-COMPLIANT(non-commercial) ; LGPLv2.1+
|
License: NON-OSI-COMPLIANT(non-commercial) ; LGPLv2.1+
|
||||||
Summary: Another powerful grep with interesting features
|
Summary: Another powerful grep with interesting features
|
||||||
@ -86,7 +75,6 @@ agrep is another powerful grep which has the ability to search for
|
|||||||
approximate patterns as well as block oriented search.
|
approximate patterns as well as block oriented search.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
Authors:
|
||||||
--------
|
--------
|
||||||
Sun Wu
|
Sun Wu
|
||||||
@ -94,23 +82,20 @@ Authors:
|
|||||||
Burra Gopal
|
Burra Gopal
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n tre-%{version}
|
%setup -q
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CXXFLAGS="$RPM_OPT_FLAGS"
|
export CXXFLAGS="$RPM_OPT_FLAGS"
|
||||||
export CFLAGS="$RPM_OPT_FLAGS"
|
export CFLAGS="$RPM_OPT_FLAGS"
|
||||||
%configure --disable-static --enable-shared
|
%configure --disable-static --enable-shared
|
||||||
make %{?jobs:-j%jobs}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
|
||||||
rm -rf $RPM_BUILD_ROOT/usr/share/locale/
|
rm -rf $RPM_BUILD_ROOT/usr/share/locale/
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr (-, root, root)
|
%defattr (-, root, root)
|
||||||
%doc ABOUT-NLS AUTHORS LICENSE NEWS README THANKS TODO
|
%doc ABOUT-NLS AUTHORS LICENSE NEWS README THANKS TODO
|
||||||
|
Loading…
Reference in New Issue
Block a user