Blame SPECS/libappindicator.spec

3ba39f
Name:		libappindicator
3ba39f
Version:	12.10.0
3ba39f
Release:	19%{?dist}
3ba39f
Summary:	Application indicators library
3ba39f
3ba39f
License:	LGPLv2 and LGPLv3
3ba39f
URL:		https://launchpad.net/libappindicator
3ba39f
Source0:	https://launchpad.net/libappindicator/12.10/%{version}/+download/%{name}-%{version}.tar.gz
3ba39f
Patch0:		covscan.patch
3ba39f
# https://bazaar.launchpad.net/~indicator-applet-developers/libappindicator/trunk.16.10/revision/285
3ba39f
Patch1:		incompatible_pointer_build_fix.patch
3ba39f
Patch2:         disable-python2.patch
3ba39f
3ba39f
BuildRequires:	autoconf
3ba39f
BuildRequires:	automake
3ba39f
BuildRequires:	gtk-doc
3ba39f
BuildRequires:	vala-tools
3ba39f
BuildRequires:	dbus-glib-devel
3ba39f
BuildRequires:	libdbusmenu-devel
3ba39f
BuildRequires:	libdbusmenu-gtk3-devel
3ba39f
BuildRequires:	gobject-introspection-devel
3ba39f
BuildRequires:	gtk3-devel
3ba39f
BuildRequires:	libindicator-gtk3-devel
3ba39f
3ba39f
%description
3ba39f
A library to allow applications to export a menu into the Unity Menu bar. Based
3ba39f
on KSNI it also works in KDE and will fallback to generic Systray support if
3ba39f
none of those are available.
3ba39f
3ba39f
3ba39f
%package devel
3ba39f
Summary:	Development files for %{name}
3ba39f
3ba39f
Requires:	%{name} = %{version}-%{release}
3ba39f
Requires:	dbus-glib-devel
3ba39f
Requires:	libdbusmenu-devel
3ba39f
3ba39f
%description devel
3ba39f
This package contains the development files for the appindicator library.
3ba39f
3ba39f
3ba39f
%package gtk3
3ba39f
Summary:	Application indicators library - GTK 3
3ba39f
3ba39f
%description gtk3
3ba39f
A library to allow applications to export a menu into the Unity Menu bar. Based
3ba39f
on KSNI it also works in KDE and will fallback to generic Systray support if
3ba39f
none of those are available.
3ba39f
3ba39f
This package contains the GTK 3 version of this library.
3ba39f
3ba39f
3ba39f
%package gtk3-devel
3ba39f
Summary:	Development files for %{name}-gtk3
3ba39f
3ba39f
Requires:	%{name}-gtk3 = %{version}-%{release}
3ba39f
Requires:	dbus-glib-devel
3ba39f
Requires:	libdbusmenu-devel
3ba39f
3ba39f
%description gtk3-devel
3ba39f
This package contains the development files for the appindicator-gtk3 library.
3ba39f
3ba39f
3ba39f
%package docs
3ba39f
Summary:	Documentation for %{name}-gtk3
3ba39f
3ba39f
BuildArch:	noarch
3ba39f
3ba39f
%description docs
3ba39f
This package contains the documentation for the appindicator and
3ba39f
appindicator-gtk3 libraries.
3ba39f
3ba39f
3ba39f
%prep
3ba39f
%autosetup -p1
3ba39f
3ba39f
sed -i "s#gmcs#mcs#g" configure.ac
3ba39f
# fix for gtk-doc 1.26
3ba39f
sed -i 's/--nogtkinit//' docs/reference/Makefile.am
3ba39f
gtkdocize --copy
3ba39f
cp -f gtk-doc.make gtk-doc.local.make
3ba39f
autoreconf -vif
3ba39f
3ba39f
3ba39f
%build
3ba39f
export CFLAGS="%{optflags} $CFLAGS -Wno-deprecated-declarations"
3ba39f
%configure --with-gtk=3 --enable-gtk-doc --disable-static
3ba39f
# Parallel make, crash the build
3ba39f
make -j1 V=1
3ba39f
3ba39f
3ba39f
%install
3ba39f
%make_install
3ba39f
3ba39f
find %{buildroot} -type f -name '*.la' -delete
3ba39f
3ba39f
%ldconfig_scriptlets gtk3
3ba39f
3ba39f
3ba39f
%files gtk3
3ba39f
%doc AUTHORS README COPYING COPYING.LGPL.2.1
3ba39f
%{_libdir}/libappindicator3.so.*
3ba39f
%{_libdir}/girepository-1.0/AppIndicator3-0.1.typelib
3ba39f
3ba39f
3ba39f
%files gtk3-devel
3ba39f
%dir %{_includedir}/libappindicator3-0.1/
3ba39f
%dir %{_includedir}/libappindicator3-0.1/libappindicator/
3ba39f
%{_includedir}/libappindicator3-0.1/libappindicator/*.h
3ba39f
%{_libdir}/libappindicator3.so
3ba39f
%{_libdir}/pkgconfig/appindicator3-0.1.pc
3ba39f
%{_datadir}/gir-1.0/AppIndicator3-0.1.gir
3ba39f
%{_datadir}/vala/vapi/appindicator3-0.1.vapi
3ba39f
%{_datadir}/vala/vapi/appindicator3-0.1.deps
3ba39f
3ba39f
3ba39f
%files docs
3ba39f
%doc %{_datadir}/gtk-doc/html/libappindicator/
3ba39f
3ba39f
3ba39f
%changelog
3ba39f
* Fri Jun 08 2018 Tomas Popela <tpopela@redhat.com> - 12.10.0-19
3ba39f
- Remove the support for gtk2 and python2
3ba39f
3ba39f
* Fri May 25 2018 Tomas Popela <tpopela@redhat.com> - 12.10.0-18
3ba39f
- Fix build, remove mono support
3ba39f
3ba39f
* Sun Dec 17 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 12.10.0-17
3ba39f
- Python 2 binary package renamed to python2-appindicator
3ba39f
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
3ba39f
3ba39f
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 12.10.0-16
3ba39f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
3ba39f
3ba39f
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 12.10.0-15
3ba39f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
3ba39f
3ba39f
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 12.10.0-14
3ba39f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
3ba39f
3ba39f
* Thu Oct 13 2016 Peter Robinson <pbrobinson@fedoraproject.org> 12.10.0-13
3ba39f
- rebuild - mono on aarch64
3ba39f
3ba39f
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 12.10.0-12
3ba39f
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
3ba39f
3ba39f
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 12.10.0-11
3ba39f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
3ba39f
3ba39f
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 12.10.0-10
3ba39f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
3ba39f
3ba39f
* Mon May 18 2015 Peter Robinson <pbrobinson@fedoraproject.org> 12.10.0-9
3ba39f
- Rebuild (mono4)
3ba39f
3ba39f
* Sun Jan  4 2015 Peter Robinson <pbrobinson@fedoraproject.org> 12.10.0-8
3ba39f
- Rather than exclude the entire library from non mono arches just don't build the bindings
3ba39f
3ba39f
* Mon Dec 29 2014 Eduardo Echeverria  <echevemaster@gmail.com> - 12.10.0-7
3ba39f
- Added workaround -Wno-deprecated-declarations for fix FTBFS
3ba39f
3ba39f
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 12.10.0-6
3ba39f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
3ba39f
3ba39f
* Tue Jul 22 2014 Kalev Lember <kalevlember@gmail.com> - 12.10.0-5
3ba39f
- Rebuilt for gobject-introspection 1.41.4
3ba39f
3ba39f
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 12.10.0-4
3ba39f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
3ba39f
3ba39f
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 12.10.0-3
3ba39f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
3ba39f
3ba39f
* Thu Jun 13 2013 Dan Horák <dan[at]danny.cz> - 12.10.0-2
3ba39f
- set ExclusiveArch
3ba39f
3ba39f
* Fri May 31 2013 Eduardo Echeverria  <echevemaster@gmail.com> - 12.10.0-1
3ba39f
- Initial Packaging