Blame SPECS/libappindicator.spec

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