Blame SPECS/libappindicator.spec

254032
Name:		libappindicator
254032
Version:	12.10.0
254032
Release:	13%{?dist}
254032
Summary:	Application indicators library
254032
254032
License:	LGPLv2 and LGPLv3
254032
URL:		https://launchpad.net/libappindicator
254032
Source0:	https://launchpad.net/libappindicator/12.10/%{version}/+download/%{name}-%{version}.tar.gz
254032
254032
Patch0:	        covscan.patch
254032
254032
BuildRequires:	autoconf
254032
BuildRequires:	automake
254032
BuildRequires:	gtk-doc
254032
BuildRequires:	vala-tools
254032
BuildRequires:	dbus-glib-devel
254032
BuildRequires:	libdbusmenu-devel
254032
BuildRequires:	libdbusmenu-gtk2-devel
254032
BuildRequires:	libdbusmenu-gtk3-devel
254032
BuildRequires:	gobject-introspection-devel
254032
BuildRequires:	gtk2-devel
254032
BuildRequires:	gtk3-devel
254032
BuildRequires:	libindicator-devel
254032
BuildRequires:	libindicator-gtk3-devel
254032
BuildRequires:	python2-devel
254032
BuildRequires:	pygtk2-devel
254032
254032
%description
254032
A library to allow applications to export a menu into the Unity Menu bar. Based
254032
on KSNI it also works in KDE and will fallback to generic Systray support if
254032
none of those are available.
254032
254032
254032
%package -n python-appindicator
254032
Summary:	Python 2 bindings for %{name}
254032
254032
Requires:	%{name} = %{version}-%{release}
254032
254032
%description -n python-appindicator
254032
This package contains the Python 2 bindings for the appindicator library.
254032
254032
254032
%package devel
254032
Summary:	Development files for %{name}
254032
254032
Requires:	%{name} = %{version}-%{release}
254032
Requires:	dbus-glib-devel
254032
Requires:	libdbusmenu-devel
254032
254032
%description devel
254032
This package contains the development files for the appindicator library.
254032
254032
254032
%package gtk3
254032
Summary:	Application indicators library - GTK 3
254032
254032
%description gtk3
254032
A library to allow applications to export a menu into the Unity Menu bar. Based
254032
on KSNI it also works in KDE and will fallback to generic Systray support if
254032
none of those are available.
254032
254032
This package contains the GTK 3 version of this library.
254032
254032
254032
%package gtk3-devel
254032
Summary:	Development files for %{name}-gtk3
254032
254032
Requires:	%{name}-gtk3 = %{version}-%{release}
254032
Requires:	dbus-glib-devel
254032
Requires:	libdbusmenu-devel
254032
254032
%description gtk3-devel
254032
This package contains the development files for the appindicator-gtk3 library.
254032
254032
254032
%package docs
254032
Summary:	Documentation for %{name} and %{name}-gtk3
254032
254032
BuildArch:	noarch
254032
254032
%description docs
254032
This package contains the documentation for the appindicator and
254032
appindicator-gtk3 libraries.
254032
254032
254032
%prep
254032
%autosetup -p1
254032
254032
sed -i "s#gmcs#mcs#g" configure.ac
254032
autoreconf -vif
254032
254032
254032
%build
254032
%global _configure ../configure
254032
mkdir build-gtk2 build-gtk3
254032
254032
pushd build-gtk2
254032
export CFLAGS="%{optflags} $CFLAGS -Wno-deprecated-declarations"
254032
%configure --with-gtk=2 --enable-gtk-doc --disable-static
254032
# Parallel make, crash the build
254032
make -j1 V=1
254032
popd
254032
254032
pushd build-gtk3
254032
export CFLAGS="%{optflags} $CFLAGS -Wno-deprecated-declarations"
254032
%configure --with-gtk=3 --enable-gtk-doc --disable-static
254032
# Parallel make, crash the build
254032
make -j1 V=1
254032
popd
254032
254032
254032
%install
254032
pushd build-gtk2
254032
make install DESTDIR=%{buildroot}
254032
popd
254032
254032
pushd build-gtk3
254032
make install DESTDIR=%{buildroot}
254032
popd
254032
254032
find %{buildroot} -type f -name '*.la' -delete
254032
254032
254032
%post -p /sbin/ldconfig
254032
254032
%postun -p /sbin/ldconfig
254032
254032
254032
%post gtk3 -p /sbin/ldconfig
254032
254032
%postun gtk3 -p /sbin/ldconfig
254032
254032
254032
%files
254032
%doc AUTHORS README COPYING COPYING.LGPL.2.1
254032
%{_libdir}/libappindicator.so.*
254032
%{_libdir}/girepository-1.0/AppIndicator-0.1.typelib
254032
254032
254032
%files -n python-appindicator
254032
%dir %{python_sitearch}/appindicator/
254032
%{python_sitearch}/appindicator/__init__.py*
254032
%{python_sitearch}/appindicator/_appindicator.so
254032
%dir %{_datadir}/pygtk/
254032
%dir %{_datadir}/pygtk/2.0/
254032
%dir %{_datadir}/pygtk/2.0/defs/
254032
%{_datadir}/pygtk/2.0/defs/appindicator.defs
254032
254032
254032
%files devel
254032
%dir %{_includedir}/libappindicator-0.1/
254032
%dir %{_includedir}/libappindicator-0.1/libappindicator/
254032
%{_includedir}/libappindicator-0.1/libappindicator/*.h
254032
%{_libdir}/libappindicator.so
254032
%{_libdir}/pkgconfig/appindicator-0.1.pc
254032
%{_datadir}/gir-1.0/AppIndicator-0.1.gir
254032
%{_datadir}/vala/vapi/appindicator-0.1.vapi
254032
%{_datadir}/vala/vapi/appindicator-0.1.deps
254032
254032
254032
%files gtk3
254032
%doc AUTHORS README COPYING COPYING.LGPL.2.1
254032
%{_libdir}/libappindicator3.so.*
254032
%{_libdir}/girepository-1.0/AppIndicator3-0.1.typelib
254032
254032
254032
%files gtk3-devel
254032
%dir %{_includedir}/libappindicator3-0.1/
254032
%dir %{_includedir}/libappindicator3-0.1/libappindicator/
254032
%{_includedir}/libappindicator3-0.1/libappindicator/*.h
254032
%{_libdir}/libappindicator3.so
254032
%{_libdir}/pkgconfig/appindicator3-0.1.pc
254032
%{_datadir}/gir-1.0/AppIndicator3-0.1.gir
254032
%{_datadir}/vala/vapi/appindicator3-0.1.vapi
254032
%{_datadir}/vala/vapi/appindicator3-0.1.deps
254032
254032
254032
%files docs
254032
%doc %{_datadir}/gtk-doc/html/libappindicator/
254032
254032
254032
%changelog
254032
* Mon Feb 26 2018 Tomas Popela <tpopela@redhat.com> - 12.10.0-13
254032
- Fix covscan warning
254032
- Resolves: rhbz#1546657
254032
254032
* Tue Feb 20 2018 Tomas Popela <tpopela@redhat.com> - 12.10.0-12
254032
- Move package from EPEL 7 to RHEL 7, but leave the mono support in EPEL in
254032
  libappindicator-sharp package.
254032
- Resolves: rhbz#1546657
254032
254032
* Fri Sep 09 2016 Timotheus Pokorra <timotheus.pokorra@solidcharity.com> - 12.10.0-11
254032
- Rebuilt for Mono4 in Epel7
254032
254032
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 12.10.0-10
254032
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
254032
254032
* Mon May 18 2015 Peter Robinson <pbrobinson@fedoraproject.org> 12.10.0-9
254032
- Rebuild (mono4)
254032
254032
* Sun Jan  4 2015 Peter Robinson <pbrobinson@fedoraproject.org> 12.10.0-8
254032
- Rather than exclude the entire library from non mono arches just don't build the bindings
254032
254032
* Mon Dec 29 2014 Eduardo Echeverria  <echevemaster@gmail.com> - 12.10.0-7
254032
- Added workaround -Wno-deprecated-declarations for fix FTBFS
254032
254032
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 12.10.0-6
254032
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
254032
254032
* Tue Jul 22 2014 Kalev Lember <kalevlember@gmail.com> - 12.10.0-5
254032
- Rebuilt for gobject-introspection 1.41.4
254032
254032
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 12.10.0-4
254032
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
254032
254032
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 12.10.0-3
254032
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
254032
254032
* Thu Jun 13 2013 Dan HorĂ¡k <dan[at]danny.cz> - 12.10.0-2
254032
- set ExclusiveArch
254032
254032
* Fri May 31 2013 Eduardo Echeverria  <echevemaster@gmail.com> - 12.10.0-1
254032
- Initial Packaging