You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libindicator/libindicator.spec

169 lines
4.8 KiB

14 years ago
Summary: Shared functions for Ayatana indicators
Name: libindicator
13 years ago
Version: 0.4.94
Release: 1%{?dist}
14 years ago
License: GPLv3
Group: System Environment/Libraries
URL: https://launchpad.net/libindicator
13 years ago
Source0: http://launchpad.net/libindicator/0.5/%{version}/+download/%{name}-%{version}.tar.gz
14 years ago
BuildRequires: gtk-doc
BuildRequires: libtool
BuildRequires: dbus-glib-devel
BuildRequires: gtk2-devel
BuildRequires: gtk3-devel
%description
A set of symbols and convenience functions that all Ayatana indicators
are likely to use.
%package tools
Summary: Tools for %{name}
Group: System Environment/Libraries
%description tools
This package contains tools used by the %{name} package, the
Ayatana indicators system.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
13 years ago
Requires: %{name}%{?_isa} = %{version}-%{release}
14 years ago
Requires: pkgconfig
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%package gtk3
Summary: GTK+3 build of %{name}
Group: System Environment/Libraries
%description gtk3
A set of symbols and convenience functions that all Ayatana indicators
are likely to use. This is the GTK+ 3 build of %{name}, for use
by GTK+ 3 apps.
%package gtk3-tools
Summary: Tools for %{name}
Group: System Environment/Libraries
%description gtk3-tools
This package contains tools used by the %{name}-gtk3 package, the
Ayatana indicators system. This package contains the builds of the
tools for the GTK+3 build of %{name}.
%package gtk3-devel
Summary: Development files for %{name}-gtk3
Group: Development/Libraries
13 years ago
Requires: %{name}-gtk3{?_isa} = %{version}-%{release}
14 years ago
Requires: pkgconfig
%description gtk3-devel
The %{name}-gtk3-devel package contains libraries and header files for
developing applications that use %{name}-gtk3.
%prep
%setup -q
%build
# we build it twice, once against GTK+ 3 and once against GTK+ 2, so
# both GTK+ 2 and GTK+ 3 apps can use it; the GTK+ 3 build is
# libindicator-gtk3. When we have no need for the GTK+ 2 build any more
# we can drop the -gtk3 package and have the main package build against
# GTK+ 3.
%global _configure ../configure
rm -rf build-gtk3 build-gtk2
mkdir build-gtk3 build-gtk2
pushd build-gtk2
13 years ago
%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
14 years ago
make %{?_smp_mflags}
popd
pushd build-gtk3
%configure --disable-static --with-gtk=3
13 years ago
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
14 years ago
make %{?_smp_mflags}
popd
%install
make -C build-gtk2 DESTDIR=%{buildroot} install
make -C build-gtk3 DESTDIR=%{buildroot} install
find %{buildroot} -regex ".*\.la$" | xargs rm -f --
# this dummy indicator is fairly useless, it's not shipped in Ubuntu
rm -f %{buildroot}%{_libdir}/libdummy-indicator*.so
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%post gtk3 -p /sbin/ldconfig
%postun gtk3 -p /sbin/ldconfig
%files
%doc COPYING
%{_libdir}/libindicator.so.*
%files tools
%doc COPYING
%{_libexecdir}/indicator-loader
%files devel
%doc COPYING
13 years ago
%{_includedir}/libindicator-0.4
14 years ago
%{_libdir}/libindicator.so
13 years ago
%{_libdir}/pkgconfig/indicator-0.4.pc
# Contains 80indicator-debugging
14 years ago
# This is marked as 'for development use only'
13 years ago
%{_datadir}/libindicator/
14 years ago
%files gtk3
%doc COPYING
%{_libdir}/libindicator3.so.*
%files gtk3-tools
%doc COPYING
%{_libexecdir}/indicator-loader3
%files gtk3-devel
%doc COPYING
13 years ago
%{_includedir}/libindicator3-0.4
14 years ago
%{_libdir}/libindicator3.so
13 years ago
%{_libdir}/pkgconfig/indicator3-0.4.pc
14 years ago
%changelog
13 years ago
* 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
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 0.3.22-2
- Rebuild for new libpng
* Wed Mar 23 2011 Adam Williamson <awilliam@redhat.com> - 0.3.22-1
- new release 0.3.22
* Mon Mar 07 2011 Adam Williamson <awilliam@redhat.com> - 0.3.20-1
- new release 0.3.20
14 years ago
* Thu Feb 10 2011 Matthias Clasen <mclasen@redhat.com> - 0.3.17-4
Rebuild against newer gtk3
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.17-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
14 years ago
* Wed Feb 2 2011 Matthias Clasen <mclasen@redhat.com> - 0.3.17-2
Rebuild against newer gtk3
* Sun Jan 23 2011 Adam Williamson <awilliam@redhat.com> - 0.3.17-1
- new version 0.3.17
- drop both patches (upstream)
- no need for autoreconf any more
14 years ago
* Mon Jan 10 2011 Matthias Clasen <mclasen@redhat.com> - 0.3.15-2
- Rebuild against newer gtk3
14 years ago
* Fri Dec 03 2010 Adam Williamson <awilliam@redhat.com> - 0.3.15-1
- initial package