forked from pool/libraqm
Accepting request 674350 from home:jengelh:branches:devel:libraries:c_c++
- Rename %soname to %sover to better reflect its use. - Rename libraqm-docs to libraqm-doc to better match the rest of openSUSE packages. - Fix RPM groups. - Avoid double-shipping doc files. OBS-URL: https://build.opensuse.org/request/show/674350 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libraqm?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
fcffafb127
commit
b2968a735d
@@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 12 23:37:35 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Rename %soname to %sover to better reflect its use.
|
||||||
|
- Rename libraqm-docs to libraqm-doc to better match the
|
||||||
|
rest of openSUSE packages.
|
||||||
|
- Fix RPM groups.
|
||||||
|
- Avoid double-shipping doc files.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Dec 27 13:57:49 UTC 2018 - Joop Boonen <joop.boonen@opensuse.org>
|
Thu Dec 27 13:57:49 UTC 2018 - Joop Boonen <joop.boonen@opensuse.org>
|
||||||
|
|
||||||
|
28
libraqm.spec
28
libraqm.spec
@@ -16,13 +16,13 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define soname 0
|
%define sover 0
|
||||||
Name: libraqm
|
Name: libraqm
|
||||||
Version: 0.5.0
|
Version: 0.5.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Complex Textlayout Library
|
Summary: Complex Textlayout Library
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: System/Libraries
|
Group: Development/Libraries/C and C++
|
||||||
URL: https://github.com/HOST-Oman/libraqm
|
URL: https://github.com/HOST-Oman/libraqm
|
||||||
Source: https://github.com/HOST-Oman/libraqm/releases/download/v%{version}/raqm-%{version}.tar.gz
|
Source: https://github.com/HOST-Oman/libraqm/releases/download/v%{version}/raqm-%{version}.tar.gz
|
||||||
Patch0: libraqm-GB8a.patch
|
Patch0: libraqm-GB8a.patch
|
||||||
@@ -36,26 +36,26 @@ BuildRequires: harfbuzz-devel
|
|||||||
Library that encapsulates the logic for complex
|
Library that encapsulates the logic for complex
|
||||||
text layout and provides a convenient API.
|
text layout and provides a convenient API.
|
||||||
|
|
||||||
%package -n %{name}%{soname}
|
%package -n %{name}%{sover}
|
||||||
Summary: Complex Textlayout Library
|
Summary: Complex Textlayout Library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n %{name}%{soname}
|
%description -n %{name}%{sover}
|
||||||
Library that encapsulates the logic for complex
|
Library that encapsulates the logic for complex
|
||||||
text layout and provides a convenient API.
|
text layout and provides a convenient API.
|
||||||
|
|
||||||
%package docs
|
%package doc
|
||||||
Summary: Libraqm Documentation
|
Summary: Libraqm documentation
|
||||||
Group: Development/Libraries/C and C++
|
Group: Documentation/HTML
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description docs
|
%description doc
|
||||||
This package contains documentation files for raqm.
|
This package contains documentation files for raqm.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Complex Textlayout Library
|
Summary: Complex Textlayout Library
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %{name}%{soname} = %{version}
|
Requires: %{name}%{sover} = %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Library that encapsulates the logic for complex
|
Library that encapsulates the logic for complex
|
||||||
@@ -81,20 +81,18 @@ rm -f %{buildroot}%{_libdir}/*.{la,a}
|
|||||||
|
|
||||||
%post devel -p /sbin/ldconfig
|
%post devel -p /sbin/ldconfig
|
||||||
%postun devel -p /sbin/ldconfig
|
%postun devel -p /sbin/ldconfig
|
||||||
%post -n %{name}%{soname} -p /sbin/ldconfig
|
%post -n %{name}%{sover} -p /sbin/ldconfig
|
||||||
%postun -n %{name}%{soname} -p /sbin/ldconfig
|
%postun -n %{name}%{sover} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n %{name}%{soname}
|
%files -n %{name}%{sover}
|
||||||
%license COPYING
|
|
||||||
%{_libdir}/libraqm.so.*
|
%{_libdir}/libraqm.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%license COPYING
|
|
||||||
%{_includedir}/raqm.h
|
%{_includedir}/raqm.h
|
||||||
%{_libdir}/libraqm.so
|
%{_libdir}/libraqm.so
|
||||||
%{_libdir}/pkgconfig/raqm.pc
|
%{_libdir}/pkgconfig/raqm.pc
|
||||||
|
|
||||||
%files docs
|
%files doc
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc AUTHORS NEWS README
|
%doc AUTHORS NEWS README
|
||||||
%{_datadir}/gtk-doc/html/raqm
|
%{_datadir}/gtk-doc/html/raqm
|
||||||
|
Reference in New Issue
Block a user