Accepting request 241626 from home:jengelh:branches:M17N

- Utilize shared library package naming guidelines

OBS-URL: https://build.opensuse.org/request/show/241626
OBS-URL: https://build.opensuse.org/package/show/M17N/fribidi?expand=0&rev=11
This commit is contained in:
Fuminobu Takeyama 2014-07-20 02:20:12 +00:00 committed by Git OBS Bridge
parent 40c2208d7c
commit 9177cfff5f
3 changed files with 28 additions and 12 deletions

View File

@ -1 +1 @@
fribidi
libfribidi0

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sat Jul 19 21:30:39 UTC 2014 - jengelh@inai.de
- Utilize shared library package naming guidelines
- Drop Requires:pkg-config for fribidi-devel, it is implicit
(due to .pc file being picked up by rpm find-requires)
-------------------------------------------------------------------
Tue Mar 26 14:16:49 UTC 2013 - mmeister@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package fribidi
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,11 +17,12 @@
Name: fribidi
%define lname libfribidi0
Version: 0.19.2
Release: 0
Summary: Free Implementation of BiDi Algorithm
Summary: Free Implementation of Unicode BiDi Algorithm
License: LGPL-2.1
Group: System/Libraries
Group: Development/Libraries/C and C++
Url: http://fribidi.org/
# bug437293
%ifarch ppc64
@ -35,7 +36,15 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: pkg-config
%description
This library implements the algorithm as described in the "Unicode
This library implements the algorithm as described in "Unicode
Standard Annex #9, the Bidirectional Algorithm".
%package -n %lname
Summary: Free Implementation of the Unicode BiDi Algorithm
Group: System/Libraries
%description -n %lname
This library implements the algorithm as described in "Unicode
Standard Annex #9, the Bidirectional Algorithm,
http://www.unicode.org/unicode/reports/tr9/". FriBidi is exhaustively
tested against the Bidi Reference Code and, to the best of the
@ -49,7 +58,6 @@ adding BiDi support to Mozilla.
Summary: Development Files for FriBiDi
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
Requires: pkg-config
%description devel
This package provides headers and manual files for FriBiDi.
@ -71,20 +79,21 @@ This package provides headers and manual files for FriBiDi.
%clean
%__rm -rf %buildroot
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/fribidi
%{_libdir}/libfribidi.so.*
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO
%files -n %lname
%defattr(-,root,root)
%{_libdir}/libfribidi.so.0*
%files devel
%defattr(-, root, root)
%dir %{_includedir}/fribidi
%{_includedir}/fribidi/*
%{_includedir}/fribidi/
%{_libdir}/libfribidi.so
%{_libdir}/pkgconfig/fribidi.pc
%doc %{_mandir}/man3/fribidi_*