diff --git a/libraqm.changes b/libraqm.changes index 23cdc28..42d0499 100644 --- a/libraqm.changes +++ b/libraqm.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Tue Feb 12 23:37:35 UTC 2019 - Jan Engelhardt + +- 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 diff --git a/libraqm.spec b/libraqm.spec index 77af55d..ce3569a 100644 --- a/libraqm.spec +++ b/libraqm.spec @@ -16,13 +16,13 @@ # -%define soname 0 +%define sover 0 Name: libraqm Version: 0.5.0 Release: 0 Summary: Complex Textlayout Library License: MIT -Group: System/Libraries +Group: Development/Libraries/C and C++ URL: https://github.com/HOST-Oman/libraqm Source: https://github.com/HOST-Oman/libraqm/releases/download/v%{version}/raqm-%{version}.tar.gz Patch0: libraqm-GB8a.patch @@ -36,26 +36,26 @@ BuildRequires: harfbuzz-devel Library that encapsulates the logic for complex text layout and provides a convenient API. -%package -n %{name}%{soname} +%package -n %{name}%{sover} Summary: Complex Textlayout Library Group: System/Libraries -%description -n %{name}%{soname} +%description -n %{name}%{sover} Library that encapsulates the logic for complex text layout and provides a convenient API. -%package docs -Summary: Libraqm Documentation -Group: Development/Libraries/C and C++ +%package doc +Summary: Libraqm documentation +Group: Documentation/HTML BuildArch: noarch -%description docs +%description doc This package contains documentation files for raqm. %package devel Summary: Complex Textlayout Library Group: Development/Libraries/C and C++ -Requires: %{name}%{soname} = %{version} +Requires: %{name}%{sover} = %{version} %description devel Library that encapsulates the logic for complex @@ -81,20 +81,18 @@ rm -f %{buildroot}%{_libdir}/*.{la,a} %post devel -p /sbin/ldconfig %postun devel -p /sbin/ldconfig -%post -n %{name}%{soname} -p /sbin/ldconfig -%postun -n %{name}%{soname} -p /sbin/ldconfig +%post -n %{name}%{sover} -p /sbin/ldconfig +%postun -n %{name}%{sover} -p /sbin/ldconfig -%files -n %{name}%{soname} -%license COPYING +%files -n %{name}%{sover} %{_libdir}/libraqm.so.* %files devel -%license COPYING %{_includedir}/raqm.h %{_libdir}/libraqm.so %{_libdir}/pkgconfig/raqm.pc -%files docs +%files doc %license COPYING %doc AUTHORS NEWS README %{_datadir}/gtk-doc/html/raqm