17
0

4 Commits

Author SHA256 Message Date
9eae9fa828 Accepting request 1233102 from X11:Unity
OBS-URL: https://build.opensuse.org/request/show/1233102
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libayatana-indicator?expand=0&rev=6
2024-12-23 15:53:53 +00:00
Mike Gabriel
b3b134791b - Update to new upstream version 0.9.4:
* cmake: Install library as library.

OBS-URL: https://build.opensuse.org/package/show/X11:Unity/libayatana-indicator?expand=0&rev=16
2024-12-23 06:56:56 +00:00
Mike Gabriel
818d725fe7 Accepting request 1031449 from home:Ionic:branches:X11:Unity
- Update to version 0.9.3:
  * Add tooltip support.
  * src/indicator-service.c: Make failure to connect to the
    session DBus fatal.
  * src/indicator-ng.c: Do not show tooltip on labels while the
    menu is open.
- Add rpmlint override file to sources list.

OBS-URL: https://build.opensuse.org/request/show/1031449
OBS-URL: https://build.opensuse.org/package/show/X11:Unity/libayatana-indicator?expand=0&rev=15
2022-12-15 19:58:04 +00:00
Alexei Sorokin
d90175b08a Accepting request 983510 from home:Ionic:branches:X11:Unity
- Update to version 0.9.1:
  * src/{CMakeLists.txt,indicator.symbols}: Don't export private
    symbols. Immitate symbol exports as previously done with
    libtool.
- Provide an empty, but owned directory within %{_libdir} for
  actual indicator "plugins".
- Switch to packaging NEWS instead of ChangeLog (much smaller),
  package INSTALL.md and NEWS.Canonical as documentation files.
- Fix library without executable permission.
- Split package up into lib packages and a -common package.
- Add language support, but comment out for now, since upstream
  does not provide translations yet.
- Move datadir files into common package.
- Add *SuSE 15.2 support, need to define CMAKE_INSTALL_LIBEXECDIR,
  since the default does not fit and the cmake package doesn't
  provide the argument by default on older systems.
- Add rpmlint filters for warnings and errors that do not really
  concern us.

v2: `s/%myname/%common_name/`, remove "dummy package" descriptions and just provide the generic ones.

v3: update package metadata to OBS meta information. Not sure if that's passed through submitrequests, but it's probably not a bad idea.

OBS-URL: https://build.opensuse.org/request/show/983510
OBS-URL: https://build.opensuse.org/package/show/X11:Unity/libayatana-indicator?expand=0&rev=14
2022-06-21 21:54:40 +00:00
5 changed files with 105 additions and 11 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b72c31e64f2a6a7d8f8a35a725d02416cfae7c35e0d42f5664792f7d22d465a4
size 148840

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7f7ce3189357b02f54408e8224685cb10219ea4f557e840f67f83e0509acef3c
size 127917

View File

@@ -0,0 +1,11 @@
# Devel packages are usually architecture-depend, since they ship
# architecture-dependent files. While rpmlint is correct in noticing that the
# package does not contain binaries, its content is still very much
# architecture-dependent, mostly because the provided symlink uses %{_libdir}.
addFilter("libayatana-indicator.?-devel\..*: E: no-binary")
# Fixed dependencies might be a bad thing, but we're "only" depending on the
# "common" package here. The library package would be useless without it (or
# at least less useful in this case) and mismatching versions would cause
# trouble.
addFilter("libayatana-indicator.?-?7\..*: (W|E): shlib-fixed-dependency .*")

View File

@@ -1,3 +1,42 @@
-------------------------------------------------------------------
Fri Oct 13 14:15:09 UTC 2023 - Mihai Moldovan <ionic@ionic.de>
- Update to new upstream version 0.9.4:
* cmake: Install library as library.
-------------------------------------------------------------------
Thu Oct 27 06:05:17 UTC 2022 - Mihai Moldovan <ionic@ionic.de>
- Update to version 0.9.3:
* Add tooltip support.
* src/indicator-service.c: Make failure to connect to the
session DBus fatal.
* src/indicator-ng.c: Do not show tooltip on labels while the
menu is open.
- Add rpmlint override file to sources list.
-------------------------------------------------------------------
Fri Jun 03 01:11:44 UTC 2022 - Mihai Moldovan <ionic@ionic.de>
- Update to version 0.9.1:
* src/{CMakeLists.txt,indicator.symbols}: Don't export private
symbols. Immitate symbol exports as previously done with
libtool.
- Provide an empty, but owned directory within %{_libdir} for
actual indicator "plugins".
- Switch to packaging NEWS instead of ChangeLog (much smaller),
package INSTALL.md and NEWS.Canonical as documentation files.
- Fix library without executable permission.
- Split package up into lib packages and a -common package.
- Add language support, but comment out for now, since upstream
does not provide translations yet.
- Move datadir files into common package.
- Add *SuSE 15.2 support, need to define CMAKE_INSTALL_LIBEXECDIR,
since the default does not fit and the cmake package doesn't
provide the argument by default on older systems.
- Add rpmlint filters for warnings and errors that do not really
concern us.
-------------------------------------------------------------------
Sat Nov 20 19:39:20 UTC 2021 - Alexei Sorokin <sor.alexei@meowr.ru>

View File

@@ -1,7 +1,7 @@
#
# spec file for package libayatana-indicator
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -25,14 +25,18 @@
%global gtkver 3
%endif
%define sover 7
%define common_name ayatana-indicator%{?psuffix:%{psuffix}-}%{?sover}-common
Name: libayatana-indicator
Version: 0.9.0
Version: 0.9.4
Release: 0
Summary: Ayatana panel indicator applet libraries
License: GPL-3.0-only
Group: System/GUI/Other
URL: https://github.com/AyatanaIndicators/libayatana-indicator
Source: https://github.com/AyatanaIndicators/libayatana-indicator/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source0: https://github.com/AyatanaIndicators/libayatana-indicator/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: %{name}-rpmlintrc
BuildRequires: cmake
BuildRequires: pkgconfig
BuildRequires: pkgconfig(dbus-glib-1)
@@ -52,9 +56,25 @@ BuildRequires: pkgconfig(libayatana-ido3-0.4) >= 0.8.2
This library contains information to build indicators to go into
the indicator applet.
%package -n %{common_name}
Summary: Common files used by libayatana-indicator
BuildArch: noarch
# No translations provided currently.
#Recommends: %%{common_name}-lang
%description -n %{common_name}
This library contains information to build indicators to go into
the indicator applet.
This package contains common files.
#%%lang_package -n %%{common_name}
%package -n libayatana-indicator%{?psuffix:%{psuffix}-}%{sover}
Summary: Ayatana panel indicator applet library
Group: System/Libraries
Requires: %{common_name} = %{version}
%description -n libayatana-indicator%{?psuffix:%{psuffix}-}%{sover}
This package provides the libraries required to build indicators
@@ -77,6 +97,9 @@ indicators and to go into the indicator applet.
%if "%{flavor}" == "gtk2"
-DFLAVOUR_GTK2=ON
%else
%if 0%{?sle_version} <= 150200
-DCMAKE_INSTALL_LIBEXECDIR=%{_libexecdir} \
%endif
-DFLAVOUR_GTK3=ON
%endif
%cmake_build
@@ -84,22 +107,43 @@ indicators and to go into the indicator applet.
%install
%cmake_install
#%%find_lang %%{name}
# The library is not created with the proper executable permissions for some
# reason, which creates quite a few problems, so fix that up manually.
chmod +x %{buildroot}%{_libdir}/libayatana-indicator%{?psuffix}.so.%{sover}*
%if "%{flavor}" != "gtk2"
chmod +x %{buildroot}%{_libexecdir}/libayatana-indicator/*
%endif
# Create empty directory for owning within this package.
install -d -m 755 %{buildroot}%{_libdir}/ayatana-indicators%{?psuffix}/%{sover}
%post -n libayatana-indicator%{?psuffix:%{psuffix}-}%{sover} -p /sbin/ldconfig
%postun -n libayatana-indicator%{?psuffix:%{psuffix}-}%{sover} -p /sbin/ldconfig
%files -n %{common_name}
%license COPYING
%doc AUTHORS INSTALL.md NEWS NEWS.Canonical
%if "%{flavor}" != "gtk2"
%{_datadir}/libayatana-indicator/
%endif
%files -n libayatana-indicator%{?psuffix:%{psuffix}-}%{sover}
%license COPYING
%doc AUTHORS ChangeLog
%dir %{_libdir}/ayatana-indicators%{?psuffix}/
%dir %{_libdir}/ayatana-indicators%{?psuffix}/%{sover}/
%{_libdir}/libayatana-indicator%{?psuffix}.so.%{sover}*
%if "%{flavor}" != "gtk2"
%{_libexecdir}/libayatana-indicator/
%endif
%files -n libayatana-indicator%{?psuffix}-devel
%{_includedir}/libayatana-indicator%{?psuffix}-0.4/
%{_libdir}/libayatana-indicator%{?psuffix}.so
%{_libdir}/pkgconfig/ayatana-indicator%{?psuffix}-0.4.pc
%if "%{flavor}" != "gtk2"
%{_libexecdir}/libayatana-indicator/
%{_datadir}/libayatana-indicator/
%endif
#%%files -n %%{common_name}-lang -f %%{name}.lang
%changelog