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

233 lines
6.3 KiB

14 years ago
Name: libindicator
12 years ago
Version: 12.10.1
Release: 5%{?dist}
12 years ago
Summary: Shared functions for Ayatana indicators
14 years ago
Group: System Environment/Libraries
12 years ago
License: GPLv3
14 years ago
URL: https://launchpad.net/libindicator
12 years ago
Source0: https://launchpad.net/libindicator/12.10/12.10.1/+download/%{name}-%{version}.tar.gz
BuildRequires: chrpath
14 years ago
BuildRequires: gtk-doc
BuildRequires: libtool
12 years ago
BuildRequires: pkgconfig
14 years ago
BuildRequires: dbus-glib-devel
BuildRequires: gtk2-devel
BuildRequires: gtk3-devel
12 years ago
%description
A set of symbols and convenience functions that all Ayatana indicators are
likely to use.
14 years ago
12 years ago
%package devel
14 years ago
Summary: Development files for %{name}
Group: Development/Libraries
13 years ago
Requires: %{name}%{?_isa} = %{version}-%{release}
14 years ago
Requires: pkgconfig
12 years ago
%description devel
14 years ago
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
12 years ago
%package tools
Summary: Shared functions for Ayatana indicators - Tools
Group: Development/Tools
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: pkgconfig
%description tools
This package contains tools used by the %{name} package, the
Ayatana indicators system.
%package gtk3
14 years ago
Summary: GTK+3 build of %{name}
Group: System Environment/Libraries
12 years ago
%description gtk3
14 years ago
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.
12 years ago
%package gtk3-devel
14 years ago
Summary: Development files for %{name}-gtk3
Group: Development/Libraries
12 years ago
Requires: %{name}-gtk3%{?_isa} = %{version}-%{release}
14 years ago
Requires: pkgconfig
12 years ago
%description gtk3-devel
14 years ago
The %{name}-gtk3-devel package contains libraries and header files for
developing applications that use %{name}-gtk3.
12 years ago
%package gtk3-tools
Summary: Shared functions for Ayatana indicators - GTK3 Tools
Group: Development/Tools
Requires: %{name}-gtk3%{?_isa} = %{version}-%{release}
Requires: pkgconfig
%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}.
14 years ago
%prep
%setup -q
%build
%global _configure ../configure
12 years ago
rm -rf build-gtk2 build-gtk3
mkdir build-gtk2 build-gtk3
14 years ago
pushd build-gtk2
12 years ago
export CFLAGS="%{optflags} -Wno-error=deprecated-declarations"
%configure --with-gtk=2 --disable-static
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
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
12 years ago
14 years ago
pushd build-gtk3
12 years ago
export CFLAGS="%{optflags} -Wno-error=deprecated-declarations"
%configure --with-gtk=3 --disable-static
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
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
12 years ago
14 years ago
%install
12 years ago
pushd build-gtk2
make install DESTDIR=%{buildroot}
popd
pushd build-gtk3
make install DESTDIR=%{buildroot}
popd
14 years ago
12 years ago
# Ubuntu doesn't package the dummy indicator
14 years ago
rm -f %{buildroot}%{_libdir}/libdummy-indicator*.so
12 years ago
# Remove libtool files
find %{buildroot} -type f -name '*.la' -delete
14 years ago
%post -p /sbin/ldconfig
12 years ago
14 years ago
%postun -p /sbin/ldconfig
12 years ago
14 years ago
%post gtk3 -p /sbin/ldconfig
12 years ago
14 years ago
%postun gtk3 -p /sbin/ldconfig
12 years ago
14 years ago
%files
12 years ago
%doc AUTHORS COPYING NEWS ChangeLog
14 years ago
%{_libdir}/libindicator.so.*
12 years ago
%files devel
%dir %{_includedir}/libindicator-0.4/
%dir %{_includedir}/libindicator-0.4/libindicator/
%{_includedir}/libindicator-0.4/libindicator/*.h
14 years ago
%{_libdir}/libindicator.so
13 years ago
%{_libdir}/pkgconfig/indicator-0.4.pc
14 years ago
12 years ago
%files tools
%{_libexecdir}/indicator-loader
%dir %{_datadir}/libindicator/
%{_datadir}/libindicator/80indicator-debugging
%files gtk3
%doc AUTHORS COPYING NEWS ChangeLog
14 years ago
%{_libdir}/libindicator3.so.*
12 years ago
%files gtk3-devel
%dir %{_includedir}/libindicator3-0.4/
%dir %{_includedir}/libindicator3-0.4/libindicator/
%{_includedir}/libindicator3-0.4/libindicator/*.h
14 years ago
%{_libdir}/libindicator3.so
13 years ago
%{_libdir}/pkgconfig/indicator3-0.4.pc
14 years ago
12 years ago
%files gtk3-tools
%{_libexecdir}/indicator-loader3
14 years ago
%changelog
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 12.10.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 12.10.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 12.10.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 12.10.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
12 years ago
* Thu May 30 2013 Eduardo Echeverria <echevemaster@gmail.com> - 12.10.1-1
- Update to 12.10.1
- Add GTK2 support
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.94-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.94-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Sat Mar 31 2012 Tom Callaway <spot@fedoraproject.org> - 0.4.94-2
- fix typo causing dep issues
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
12 years ago