Blame SPECS/adwaita-icon-theme.spec

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