Accepting request 103180 from devel:libraries:c_c++
- Remove redundant tags/sections per specfile guideline suggestions - Parallel building using %_smp_mflags OBS-URL: https://build.opensuse.org/request/show/103180 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libunistring?expand=0&rev=11
This commit is contained in:
commit
d59e809d2f
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 30 13:11:15 UTC 2012 - jengelh@medozas.de
|
||||||
|
|
||||||
|
- Remove redundant tags/sections per specfile guideline suggestions
|
||||||
|
- Parallel building using %_smp_mflags
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 30 20:01:26 UTC 2011 - crrodriguez@opensuse.org
|
Fri Sep 30 20:01:26 UTC 2011 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libunistring
|
# spec file for package libunistring
|
||||||
#
|
#
|
||||||
# Copyright (c) 2011 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
|
||||||
@ -15,15 +15,12 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
|
|
||||||
Name: libunistring
|
Name: libunistring
|
||||||
Version: 0.9.3
|
Version: 0.9.3
|
||||||
Release: 1
|
Release: 0
|
||||||
Group: Development/Libraries/C and C++
|
|
||||||
Summary: GNU Unicode string library
|
Summary: GNU Unicode string library
|
||||||
License: LGPL-3.0+
|
License: LGPL-3.0+
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
Url: http://www.gnu.org/software/libunistring/
|
Url: http://www.gnu.org/software/libunistring/
|
||||||
Source0: libunistring-%{version}.tar.bz2
|
Source0: libunistring-%{version}.tar.bz2
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -37,9 +34,8 @@ This portable C library implements Unicode string types in three flavours:
|
|||||||
case folding and regular expressions).
|
case folding and regular expressions).
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
License: LGPL-3.0+
|
|
||||||
Group: Development/Libraries/C and C++
|
|
||||||
Summary: GNU Unicode string library - development files
|
Summary: GNU Unicode string library - development files
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libunistring0 = %{version}
|
Requires: libunistring0 = %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@ -47,9 +43,8 @@ Development files for programs using libunistring and documentation
|
|||||||
for UniString library.
|
for UniString library.
|
||||||
|
|
||||||
%package -n libunistring0
|
%package -n libunistring0
|
||||||
License: LGPL-3.0+
|
|
||||||
Group: Development/Libraries/C and C++
|
|
||||||
Summary: GNU Unicode string library - development files
|
Summary: GNU Unicode string library - development files
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %{name}
|
Requires: %{name}
|
||||||
|
|
||||||
%description -n libunistring0
|
%description -n libunistring0
|
||||||
@ -61,11 +56,11 @@ case folding and regular expressions).
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n libunistring-%{version}
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static --disable-rpath --docdir=%{_docdir}/%{name}
|
%configure --disable-static --disable-rpath --docdir=%{_docdir}/%{name}
|
||||||
make
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" install
|
make DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" install
|
||||||
@ -78,9 +73,6 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/libunistring.la
|
|||||||
make check
|
make check
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
Loading…
Reference in New Issue
Block a user