Blame SPECS/adwaita-icon-theme.spec

f09dec
# Set boostrap to 1 for initial bootstrapping when gtk3 is not yet built
f09dec
%global bootstrap 0
f09dec
f09dec
Name:           adwaita-icon-theme
f09dec
Version:        3.14.1
f09dec
Release:        1%{?dist}
f09dec
Summary:        Adwaita icon theme
f09dec
f09dec
License:        LGPLv3+ or CC-BY-SA
f09dec
URL:            http://www.gnome.org
f09dec
Source0:        http://download.gnome.org/sources/adwaita-icon-theme/3.14/%{name}-%{version}.tar.xz
f09dec
f09dec
BuildArch:      noarch
f09dec
f09dec
BuildRequires:  intltool
f09dec
BuildRequires:  librsvg2
f09dec
%if ! 0%{bootstrap}
f09dec
BuildRequires:  /usr/bin/gtk-encode-symbolic-svg
f09dec
%endif
f09dec
BuildRequires:  /usr/bin/gtk-update-icon-cache
f09dec
f09dec
Requires:       adwaita-cursor-theme = %{version}-%{release}
f09dec
f09dec
%description
f09dec
This package contains the Adwaita icon theme used by the GNOME desktop.
f09dec
f09dec
%package -n     adwaita-cursor-theme
f09dec
Summary:        Adwaita cursor theme
f09dec
f09dec
%description -n adwaita-cursor-theme
f09dec
The adwaita-cursor-theme package contains a modern set of cursors originally
f09dec
designed for the GNOME desktop.
f09dec
f09dec
%package        devel
f09dec
Summary:        Development files for %{name}
f09dec
Requires:       %{name} = %{version}-%{release}
f09dec
f09dec
%description    devel
f09dec
The %{name}-devel package contains the pkgconfig file for
f09dec
developing applications that use %{name}.
f09dec
f09dec
%prep
f09dec
%setup -q
f09dec
f09dec
%build
f09dec
%configure
f09dec
make %{?_smp_mflags}
f09dec
f09dec
%install
f09dec
%make_install
f09dec
f09dec
touch $RPM_BUILD_ROOT%{_datadir}/icons/Adwaita/icon-theme.cache
f09dec
f09dec
%post
f09dec
touch --no-create %{_datadir}/icons/Adwaita &>/dev/null || :
f09dec
f09dec
%postun
f09dec
if [ $1 -eq 0 ] ; then
f09dec
    touch --no-create %{_datadir}/icons/Adwaita &>/dev/null
f09dec
    gtk-update-icon-cache %{_datadir}/icons/Adwaita &>/dev/null || :
f09dec
fi
f09dec
f09dec
%posttrans
f09dec
gtk-update-icon-cache %{_datadir}/icons/Adwaita &>/dev/null || :
f09dec
f09dec
%files
f09dec
%doc COPYING*
f09dec
%{_datadir}/icons/Adwaita/8x8/
f09dec
%{_datadir}/icons/Adwaita/16x16/
f09dec
%{_datadir}/icons/Adwaita/22x22/
f09dec
%{_datadir}/icons/Adwaita/24x24/
f09dec
%{_datadir}/icons/Adwaita/32x32/
f09dec
%{_datadir}/icons/Adwaita/48x48/
f09dec
%if ! 0%{bootstrap}
f09dec
%{_datadir}/icons/Adwaita/64x64/
f09dec
%{_datadir}/icons/Adwaita/96x96/
f09dec
%endif
f09dec
%{_datadir}/icons/Adwaita/256x256/
f09dec
%{_datadir}/icons/Adwaita/scalable/
f09dec
%{_datadir}/icons/Adwaita/scalable-up-to-32/
f09dec
%{_datadir}/icons/Adwaita/index.theme
f09dec
%ghost %{_datadir}/icons/Adwaita/icon-theme.cache
f09dec
f09dec
%files -n adwaita-cursor-theme
f09dec
%doc COPYING*
f09dec
%{_datadir}/icons/Adwaita/cursors/
f09dec
f09dec
%files devel
f09dec
%{_datadir}/pkgconfig/adwaita-icon-theme.pc
f09dec
f09dec
%changelog
f09dec
* Thu Oct 30 2014 Richard Hughes <rhughes@redhat.com> - 3.14.1-1
f09dec
- Update to 3.14.1
f09dec
f09dec
* Tue Oct 28 2014 Kalev Lember <kalevlember@gmail.com> - 3.14.0-3
f09dec
- Split out adwaita-cursor-theme subpackage for alternate desktop spins
f09dec
  (#1157324)
f09dec
f09dec
* Tue Oct 28 2014 Kalev Lember <kalevlember@gmail.com> - 3.14.0-2
f09dec
- Add bootstrap toggle for initial boostrapping when gtk3 is not yet built
f09dec
f09dec
* Tue Sep 23 2014 Kalev Lember <kalevlember@gmail.com> - 3.14.0-1
f09dec
- Update to 3.14.0
f09dec
f09dec
* Tue Sep 02 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.91-1
f09dec
- Update to 3.13.91
f09dec
f09dec
* Sun Aug 17 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.5-1
f09dec
- Update to 3.13.5
f09dec
f09dec
* Mon Jul 14 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.4-1
f09dec
- Update to 3.13.4
f09dec
f09dec
* Thu Jun 26 2014 Richard Hughes <rhughes@redhat.com> - 3.13.3-1
f09dec
- Update to 3.13.3
f09dec
f09dec
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.13.2-2
f09dec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
f09dec
f09dec
* Mon Jun 02 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.2-1
f09dec
- Update to 3.13.2
f09dec
f09dec
* Wed May 07 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.1-2
f09dec
- Replace adwaita-cursor-theme subpackage from gnome-themes-standard
f09dec
f09dec
* Mon Apr 28 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.1-1
f09dec
- Initial Fedora packaging