|
|
@ -1,13 +1,13 @@
|
|
|
|
Name: libindicator
|
|
|
|
Name: libindicator
|
|
|
|
Version: 12.10.1
|
|
|
|
Version: 12.10.1
|
|
|
|
Release: 22%{?dist}
|
|
|
|
Release: 14%{?dist}
|
|
|
|
Summary: Shared functions for Ayatana indicators
|
|
|
|
Summary: Shared functions for Ayatana indicators
|
|
|
|
|
|
|
|
|
|
|
|
License: GPLv3
|
|
|
|
License: GPLv3
|
|
|
|
URL: https://launchpad.net/libindicator
|
|
|
|
URL: https://launchpad.net/libindicator
|
|
|
|
Source0: https://launchpad.net/libindicator/12.10/12.10.1/+download/%{name}-%{version}.tar.gz
|
|
|
|
Source0: https://launchpad.net/libindicator/12.10/12.10.1/+download/%{name}-%{version}.tar.gz
|
|
|
|
# From GLib 2.62
|
|
|
|
|
|
|
|
Patch1: libindicator-12.10.1-glib262-g_define_type_with_private.patch
|
|
|
|
Patch0: covscan.patch
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: chrpath
|
|
|
|
BuildRequires: chrpath
|
|
|
|
BuildRequires: gtk-doc
|
|
|
|
BuildRequires: gtk-doc
|
|
|
@ -15,37 +15,15 @@ BuildRequires: libtool
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: dbus-glib-devel
|
|
|
|
BuildRequires: dbus-glib-devel
|
|
|
|
BuildRequires: gtk2-devel
|
|
|
|
|
|
|
|
BuildRequires: gtk3-devel
|
|
|
|
BuildRequires: gtk3-devel
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: gnome-common
|
|
|
|
BuildRequires: gnome-common
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
A set of symbols and convenience functions that all Ayatana indicators are
|
|
|
|
A set of symbols and convenience functions that all Ayatana indicators are
|
|
|
|
likely to use.
|
|
|
|
likely to use.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package tools
|
|
|
|
|
|
|
|
Summary: Shared functions for Ayatana indicators - Tools
|
|
|
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
|
|
|
|
This package contains tools used by the %{name} package, the
|
|
|
|
|
|
|
|
Ayatana indicators system.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package gtk3
|
|
|
|
%package gtk3
|
|
|
|
Summary: GTK+3 build of %{name}
|
|
|
|
Summary: GTK+3 build of %{name}
|
|
|
|
|
|
|
|
|
|
|
@ -80,9 +58,7 @@ tools for the GTK+3 build of %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%setup -q
|
|
|
|
%if 0%{?fedora} >= 31 || 0%{?rhel} >= 9
|
|
|
|
%patch0 -p1 -b .covscan
|
|
|
|
%patch1 -p2 -b .orig
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sed -i.addvar configure.ac \
|
|
|
|
sed -i.addvar configure.ac \
|
|
|
|
-e '\@LIBINDICATOR_LIBS@s|\$LIBM| \$LIBM|'
|
|
|
|
-e '\@LIBINDICATOR_LIBS@s|\$LIBM| \$LIBM|'
|
|
|
@ -107,49 +83,16 @@ NOCONFIGURE=1 \
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%global _configure ../configure
|
|
|
|
|
|
|
|
rm -rf build-gtk2 build-gtk3
|
|
|
|
|
|
|
|
mkdir build-gtk2 build-gtk3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pushd build-gtk2
|
|
|
|
|
|
|
|
export CFLAGS="%{optflags} -Wno-error=deprecated-declarations"
|
|
|
|
|
|
|
|
%configure --with-gtk=2 --disable-static --disable-silent-rules
|
|
|
|
|
|
|
|
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
|
|
|
|
|
|
|
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
|
|
|
|
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pushd build-gtk3
|
|
|
|
|
|
|
|
export CFLAGS="%{optflags} -Wno-error=deprecated-declarations"
|
|
|
|
export CFLAGS="%{optflags} -Wno-error=deprecated-declarations"
|
|
|
|
%configure --with-gtk=3 --disable-static --disable-silent-rules
|
|
|
|
%configure --with-gtk=3 --disable-static --disable-silent-rules
|
|
|
|
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
|
|
|
|
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
|
|
|
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
pushd build-gtk2
|
|
|
|
%make_install
|
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
(
|
|
|
|
|
|
|
|
PKG_CONFIG_PATH=%{buildroot}%{_libdir}/pkgconfig
|
|
|
|
|
|
|
|
export PKG_CONFIG_PATH
|
|
|
|
|
|
|
|
for var in \
|
|
|
|
|
|
|
|
iconsdir \
|
|
|
|
|
|
|
|
indicatordir \
|
|
|
|
|
|
|
|
%{nil}
|
|
|
|
|
|
|
|
do
|
|
|
|
|
|
|
|
vardir=$(pkg-config --variable=${var} indicator-0.4)
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}${vardir}
|
|
|
|
|
|
|
|
done
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pushd build-gtk3
|
|
|
|
|
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
(
|
|
|
|
(
|
|
|
|
PKG_CONFIG_PATH=%{buildroot}%{_libdir}/pkgconfig
|
|
|
|
PKG_CONFIG_PATH=%{buildroot}%{_libdir}/pkgconfig
|
|
|
|
export PKG_CONFIG_PATH
|
|
|
|
export PKG_CONFIG_PATH
|
|
|
@ -164,37 +107,17 @@ popd
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Ubuntu doesn't package the dummy indicator
|
|
|
|
# Ubuntu doesn't package the dummy indicator
|
|
|
|
rm -f %{buildroot}%{_libdir}/libdummy-indicator*.so
|
|
|
|
rm -f %{buildroot}%{_libdir}/libdummy-indicator*.so
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
rm -f %{buildroot}%{_datadir}/libindicator/80indicator-debugging
|
|
|
|
|
|
|
|
|
|
|
|
# Remove libtool files
|
|
|
|
# Remove libtool files
|
|
|
|
find %{buildroot} -type f -name '*.la' -delete
|
|
|
|
find %{buildroot} -type f -name '*.la' -delete
|
|
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
%ldconfig_scriptlets gtk3
|
|
|
|
%ldconfig_scriptlets gtk3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
|
|
|
%doc AUTHORS COPYING NEWS ChangeLog
|
|
|
|
|
|
|
|
%{_libdir}/libindicator.so.*
|
|
|
|
|
|
|
|
%dir %{_datadir}/libindicator/
|
|
|
|
|
|
|
|
%dir %{_datadir}/libindicator/icons/
|
|
|
|
|
|
|
|
%{_libdir}/indicators/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
|
|
|
%dir %{_includedir}/libindicator-0.4/
|
|
|
|
|
|
|
|
%dir %{_includedir}/libindicator-0.4/libindicator/
|
|
|
|
|
|
|
|
%{_includedir}/libindicator-0.4/libindicator/*.h
|
|
|
|
|
|
|
|
%{_libdir}/libindicator.so
|
|
|
|
|
|
|
|
%{_libdir}/pkgconfig/indicator-0.4.pc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files tools
|
|
|
|
|
|
|
|
%{_libexecdir}/indicator-loader
|
|
|
|
|
|
|
|
%{_datadir}/libindicator/80indicator-debugging
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files gtk3
|
|
|
|
%files gtk3
|
|
|
|
%doc AUTHORS COPYING NEWS ChangeLog
|
|
|
|
%doc AUTHORS COPYING NEWS ChangeLog
|
|
|
|
%{_libdir}/libindicator3.so.*
|
|
|
|
%{_libdir}/libindicator3.so.*
|
|
|
@ -215,35 +138,15 @@ find %{buildroot} -type f -name '*.la' -delete
|
|
|
|
%{_libexecdir}/indicator-loader3
|
|
|
|
%{_libexecdir}/indicator-loader3
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 12.10.1-22
|
|
|
|
* Wed Jul 26 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 12.10.1-14
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 12.10.1-21
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 12.10.1-20
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 12.10.1-19
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 14 2020 Merlin Mathesius <mmathesi@redhat.com> - 12.10.1-18
|
|
|
|
|
|
|
|
- Minor conditional fix for ELN
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 12.10.1-17
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Nov 11 2019 Mamoru TASAKA <mtasaka@fedoraproject.org> - 12.10.1-16
|
|
|
|
|
|
|
|
- F-31+: Adjust GLib 2.62 change
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 12.10.1-15
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 12.10.1-14
|
|
|
|
* Tue Oct 09 2018 Tomas Popela <tpopela@redhat.com> - 12.10.1-14
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
- Fix the Coverity scan warnings
|
|
|
|
|
|
|
|
- Resolves: rhbz#1637530
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 12.10.1-13
|
|
|
|
* Thu Jun 07 2018 Tomas Popela <tpopela@redhat.com> - 12.10.1-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
- Drop the gtk2 support
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 12.10.1-12
|
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 12.10.1-12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|