|
|
|
@ -1,13 +1,11 @@
|
|
|
|
|
Summary: Shared functions for Ayatana indicators
|
|
|
|
|
Name: libindicator
|
|
|
|
|
Version: 0.3.22
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Version: 0.4.94
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
License: GPLv3
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
URL: https://launchpad.net/libindicator
|
|
|
|
|
Source0: http://launchpad.net/libindicator/0.3/%{version}/+download/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Source0: http://launchpad.net/libindicator/0.5/%{version}/+download/%{name}-%{version}.tar.gz
|
|
|
|
|
BuildRequires: gtk-doc
|
|
|
|
|
BuildRequires: libtool
|
|
|
|
|
BuildRequires: dbus-glib-devel
|
|
|
|
@ -29,7 +27,7 @@ Ayatana indicators system.
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
@ -57,7 +55,7 @@ tools for the GTK+3 build of %{name}.
|
|
|
|
|
%package gtk3-devel
|
|
|
|
|
Summary: Development files for %{name}-gtk3
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Requires: %{name}-gtk3 = %{version}-%{release}
|
|
|
|
|
Requires: %{name}-gtk3{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
|
|
%description gtk3-devel
|
|
|
|
@ -77,16 +75,19 @@ developing applications that use %{name}-gtk3.
|
|
|
|
|
rm -rf build-gtk3 build-gtk2
|
|
|
|
|
mkdir build-gtk3 build-gtk2
|
|
|
|
|
pushd build-gtk2
|
|
|
|
|
%configure --disable-static
|
|
|
|
|
%configure --disable-static --with-gtk=2
|
|
|
|
|
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
|
|
|
|
|
%configure --disable-static --with-gtk=3
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
make -C build-gtk2 DESTDIR=%{buildroot} install
|
|
|
|
|
make -C build-gtk3 DESTDIR=%{buildroot} install
|
|
|
|
|
find %{buildroot} -regex ".*\.la$" | xargs rm -f --
|
|
|
|
@ -100,42 +101,40 @@ rm -f %{buildroot}%{_libdir}/libdummy-indicator*.so
|
|
|
|
|
%postun gtk3 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc COPYING
|
|
|
|
|
%{_libdir}/libindicator.so.*
|
|
|
|
|
|
|
|
|
|
%files tools
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc COPYING
|
|
|
|
|
%{_libexecdir}/indicator-loader
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc COPYING
|
|
|
|
|
%{_includedir}/libindicator-0.3
|
|
|
|
|
%{_includedir}/libindicator-0.4
|
|
|
|
|
%{_libdir}/libindicator.so
|
|
|
|
|
%{_libdir}/pkgconfig/indicator.pc
|
|
|
|
|
%{_libdir}/pkgconfig/indicator-0.4.pc
|
|
|
|
|
# Contains 80indicator-debugging
|
|
|
|
|
# This is marked as 'for development use only'
|
|
|
|
|
%{_sysconfdir}/X11/Xsession.d/80indicator-debugging
|
|
|
|
|
%{_datadir}/libindicator/
|
|
|
|
|
|
|
|
|
|
%files gtk3
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc COPYING
|
|
|
|
|
%{_libdir}/libindicator3.so.*
|
|
|
|
|
|
|
|
|
|
%files gtk3-tools
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc COPYING
|
|
|
|
|
%{_libexecdir}/indicator-loader3
|
|
|
|
|
|
|
|
|
|
%files gtk3-devel
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc COPYING
|
|
|
|
|
%{_includedir}/libindicator3-0.3
|
|
|
|
|
%{_includedir}/libindicator3-0.4
|
|
|
|
|
%{_libdir}/libindicator3.so
|
|
|
|
|
%{_libdir}/pkgconfig/indicator3.pc
|
|
|
|
|
%{_libdir}/pkgconfig/indicator3-0.4.pc
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Mar 31 2012 Tom Callaway <spot@fedoraproject.org> - 0.4.94-1
|
|
|
|
|
- Update to 0.4.94
|
|
|
|
|
|
|
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.22-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|