Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 72d1ee44c189b03f70fbc30bc53a0c44 > files > 2

moblin-icon-theme-2.2.10-2.fc14.src.rpm

Name:          moblin-icon-theme
Version:       2.2.10
Release:       2%{?dist}
Summary:       Moblin icon theme

Group:         User Interface/Desktops
License:       CC-BY-SA
URL:           http://www.moblin.org/
Source0:       http://git.moblin.org/cgit.cgi/%{name}/snapshot/%{name}-%{version}.tar.gz
BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:     noarch

Requires:  hicolor-icon-theme
BuildRequires: icon-naming-utils
BuildRequires: gtk2
BuildRequires: libtool

%description
Moblin icon theme

%prep
%setup -q

%build
%configure
make %{?_smp_mflags} V=1

%install
rm -rf %{buildroot}

make install DESTDIR=%{buildroot} INSTALL='install -p'

# create symlinks for missing stock icons
cd %{buildroot}/%{_datadir}/icons/moblin
for size in 24x24 32x32 48x48; do
  (
  cd $size
  for context in *; do
    if [ -d $context ]; then
      (
      cd $context
      INU_DATA_DIR=%{_builddir}/%{name}-%{version} /usr/bin/icon-name-mapping -c $context
      )
    fi
  done
  )
done

# Name the theme correctly
#sed -i 's|moblin|Moblin|g' %{buildroot}/%{_datadir}/icons/Moblin/index.theme

%clean
rm -rf %{buildroot}

%post
touch --no-create %{_datadir}/icons/Moblin &>/dev/null || :

%postun
touch --no-create %{_datadir}/icons/Moblin &>/dev/null || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
    %{_bindir}/gtk-update-icon-cache -f --quiet %{_datadir}/icons/Moblin &>/dev/null || :
fi

%posttrans
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
    %{_bindir}/gtk-update-icon-cache -f --quiet %{_datadir}/icons/Moblin &>/dev/null || :
fi

%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING
%{_datadir}/icons/moblin

%changelog
* Sun Jul 11 2010 Peter Robinson <pbrobinson@gmail.com> 2.2.10-2
- Fix build

* Sun Jul 11 2010 Peter Robinson <pbrobinson@gmail.com> 2.2.10-1
- New upstream 2.2.10 release

* Thu Mar 25 2010 Peter Robinson <pbrobinson@gmail.com> 2.2.4-1
- New upstream 2.2.4 release

* Thu Mar 25 2010 Peter Robinson <pbrobinson@gmail.com> 2.2.3-2
- Fix build

* Wed Mar 24 2010 Peter Robinson <pbrobinson@gmail.com> 2.2.3-1
- New upstream 2.2.3 release

* Fri Feb 12 2010 Peter Robinson <pbrobinson@gmail.com> 2.2.1-1
- New upstream 2.2.1 release

* Wed Jan  6 2010 Peter Robinson <pbrobinson@gmail.com> 2.2.0-1
- New upstream 2.2.0 release

* Tue Jan  5 2010 Peter Robinson <pbrobinson@gmail.com> 2.2-1
- New upstream 2.2 release

* Thu Dec  3 2009 Peter Robinson <pbrobinson@gmail.com> 0.10.0-2
- Fix some issues with the theme

* Thu Oct 29 2009 Peter Robinson <pbrobinson@gmail.com> 0.10.0-1
- New upstream 0.10.0 release

* Thu Oct 29 2009 Peter Robinson <pbrobinson@gmail.com> 0.9-1
- New upstream 0.9 release

* Mon Oct 12 2009 Peter Robinson <pbrobinson@gmail.com> 0.8-1
- New upstream 0.8 release

* Mon Sep  7 2009 Peter Robinson <pbrobinson@gmail.com> 0.7.1-0.1
- Upstream git snapshot to pull in icon updates

* Mon Aug  3 2009 Peter Robinson <pbrobinson@gmail.com> 0.7-3
- Capitalise the theme name

* Mon Aug  3 2009 Peter Robinson <pbrobinson@gmail.com> 0.7-2
- Some more package optimisations

* Sat Aug  1 2009 Peter Robinson <pbrobinson@gmail.com> 0.7-1
- New upstream 0.7 release

* Mon Jun 22 2009 Peter Robinson <pbrobinson@gmail.com> 0.4-1
- Initial packaging