1
0

Accepting request 491890 from home:jengelh:branches:X11:Unity

- Rename %soname to %sover to better reflect its purpose.
- Update summaries.
- Remove redundant pkgconfig() reqiures; these are already
  autodiscovered.

OBS-URL: https://build.opensuse.org/request/show/491890
OBS-URL: https://build.opensuse.org/package/show/X11:Unity/libappindicator?expand=0&rev=10
This commit is contained in:
Alexei Sorokin 2017-04-28 17:58:35 +00:00 committed by Git OBS Bridge
parent a19ea2194a
commit 11170931e7
2 changed files with 27 additions and 23 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Apr 28 16:04:54 UTC 2017 - jengelh@inai.de
- Rename %soname to %sover to better reflect its purpose.
- Update summaries.
- Remove redundant pkgconfig() reqiures; these are already
autodiscovered.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Apr 19 19:50:11 UTC 2017 - sor.alexei@meowr.ru Wed Apr 19 19:50:11 UTC 2017 - sor.alexei@meowr.ru

View File

@ -16,7 +16,7 @@
# #
%define soname 1 %define sover 1
%define _version 12.10.1+17.04.20170215 %define _version 12.10.1+17.04.20170215
%if %{undefined with_mono} %if %{undefined with_mono}
%bcond_without mono %bcond_without mono
@ -63,8 +63,8 @@ none of those are available.
%package -n python2-appindicator %package -n python2-appindicator
Summary: Python 2 bindings for libappindicator Summary: Python 2 bindings for libappindicator
Group: System/Libraries Group: Development/Languages/Python
Requires: libappindicator%{soname} = %{version} Requires: libappindicator%{sover} = %{version}
# python-appindicator was last used in openSUSE Leap 42.2. # python-appindicator was last used in openSUSE Leap 42.2.
Provides: python-appindicator = %{version} Provides: python-appindicator = %{version}
Obsoletes: python-appindicator < %{version} Obsoletes: python-appindicator < %{version}
@ -72,11 +72,11 @@ Obsoletes: python-appindicator < %{version}
%description -n python2-appindicator %description -n python2-appindicator
This package contains the Python 2 bindings for the appindicator library. This package contains the Python 2 bindings for the appindicator library.
%package -n libappindicator%{soname} %package -n libappindicator%{sover}
Summary: Application indicators library Summary: Application indicators library
Group: System/Libraries Group: System/Libraries
%description -n libappindicator%{soname} %description -n libappindicator%{sover}
A library to allow applications to export a menu into the Unity Menu bar. Based A library to allow applications to export a menu into the Unity Menu bar. Based
on KSNI it also works in KDE and will fallback to generic Systray support if on KSNI it also works in KDE and will fallback to generic Systray support if
none of those are available. none of those are available.
@ -92,18 +92,16 @@ library.
%package devel %package devel
Summary: Development files for libappindicator Summary: Development files for libappindicator
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: libappindicator%{soname} = %{version} Requires: libappindicator%{sover} = %{version}
Requires: pkgconfig(dbus-glib-1)
Requires: pkgconfig(dbusmenu-glib-0.4)
%description devel %description devel
This package contains the development files for the appindicator library. This package contains the development files for the appindicator library.
%package -n libappindicator3-%{soname} %package -n libappindicator3-%{sover}
Summary: Application indicators library -- GTK+ 3 Summary: Application indicators library for GTK+3
Group: System/Libraries Group: System/Libraries
%description -n libappindicator3-%{soname} %description -n libappindicator3-%{sover}
A library to allow applications to export a menu into the Unity Menu bar. Based A library to allow applications to export a menu into the Unity Menu bar. Based
on KSNI it also works in KDE and will fallback to generic Systray support if on KSNI it also works in KDE and will fallback to generic Systray support if
none of those are available. none of those are available.
@ -121,9 +119,7 @@ library.
%package -n libappindicator3-devel %package -n libappindicator3-devel
Summary: Development files for libappindicator3 Summary: Development files for libappindicator3
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: libappindicator3-%{soname} = %{version} Requires: libappindicator3-%{sover} = %{version}
Requires: pkgconfig(dbus-glib-1)
Requires: pkgconfig(dbusmenu-glib-0.4)
%description -n libappindicator3-devel %description -n libappindicator3-devel
This package contains the development files for the appindicator3 library. This package contains the development files for the appindicator3 library.
@ -139,7 +135,7 @@ libraries.
%if %{with mono} %if %{with mono}
%package -n appindicator-sharp %package -n appindicator-sharp
Summary: Application indicators library -- C# assembly CLI Summary: Application indicators library for C#
Group: System/Libraries Group: System/Libraries
%description -n appindicator-sharp %description -n appindicator-sharp
@ -187,13 +183,13 @@ done
find %{buildroot} -type f -name "*.la" -delete -print find %{buildroot} -type f -name "*.la" -delete -print
%fdupes %{buildroot}%{python_sitearch} %fdupes %{buildroot}%{python_sitearch}
%post -n libappindicator%{soname} -p /sbin/ldconfig %post -n libappindicator%{sover} -p /sbin/ldconfig
%postun -n libappindicator%{soname} -p /sbin/ldconfig %postun -n libappindicator%{sover} -p /sbin/ldconfig
%post -n libappindicator3-%{soname} -p /sbin/ldconfig %post -n libappindicator3-%{sover} -p /sbin/ldconfig
%postun -n libappindicator3-%{soname} -p /sbin/ldconfig %postun -n libappindicator3-%{sover} -p /sbin/ldconfig
%files -n python2-appindicator %files -n python2-appindicator
%defattr(-,root,root) %defattr(-,root,root)
@ -206,10 +202,10 @@ find %{buildroot} -type f -name "*.la" -delete -print
%dir %{_datadir}/pygtk/2.0/defs/ %dir %{_datadir}/pygtk/2.0/defs/
%{_datadir}/pygtk/2.0/defs/appindicator.defs %{_datadir}/pygtk/2.0/defs/appindicator.defs
%files -n libappindicator%{soname} %files -n libappindicator%{sover}
%defattr(-,root,root) %defattr(-,root,root)
%doc COPYING COPYING.LGPL.2.1 README %doc COPYING COPYING.LGPL.2.1 README
%{_libdir}/libappindicator.so.%{soname}* %{_libdir}/libappindicator.so.%{sover}*
%files -n typelib-1_0-AppIndicator-0_1 %files -n typelib-1_0-AppIndicator-0_1
%defattr(-,root,root) %defattr(-,root,root)
@ -228,10 +224,10 @@ find %{buildroot} -type f -name "*.la" -delete -print
%{_datadir}/vala/vapi/appindicator-0.1.vapi %{_datadir}/vala/vapi/appindicator-0.1.vapi
%{_datadir}/vala/vapi/appindicator-0.1.deps %{_datadir}/vala/vapi/appindicator-0.1.deps
%files -n libappindicator3-%{soname} %files -n libappindicator3-%{sover}
%defattr(-,root,root) %defattr(-,root,root)
%doc COPYING COPYING.LGPL.2.1 README %doc COPYING COPYING.LGPL.2.1 README
%{_libdir}/libappindicator3.so.%{soname}* %{_libdir}/libappindicator3.so.%{sover}*
%files -n typelib-1_0-AppIndicator3-0_1 %files -n typelib-1_0-AppIndicator3-0_1
%defattr(-,root,root) %defattr(-,root,root)