Blob Blame History Raw
Name: bitmap
Version: 1.0.3
Release: 2%{?dist}
Summary: Bitmap editor and converter utilities for the X Window System
Group: User Interface/X
Source1: bitmap.desktop
Source2: bitmap.png
License: MIT
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

# the bitmap-devel corresponds only with bitmap files. They are needed
# by the base package, so this Provides is added
Provides: %{name}-devel = %{version}-%{release}
# other xorg apps are called like that
Provides: xorg-x11-%{name} = %{version}-%{release}
Provides: xorg-x11-%{name}-devel = %{version}-%{release}

# libXaw-devel requires libXmu-devel 
# libXmu-devel requires libX11-devel, libXt-devel, xorg-x11-util-macros
BuildRequires: xbitmaps-devel libXaw-devel libXext-devel
BuildRequires: desktop-file-utils pkgconfig
# also needed at runtime
Requires: xbitmaps

Bitmap provides a bitmap editor and misc converter utilities for the X
Window System.

The package also includes files defining bitmaps associated with the 
Bitmap x11 editor.

%setup -q

%configure --disable-dependency-tracking
make %{?_smp_mflags}

rm -rf %{buildroot}
make install DESTDIR=%{buildroot}

desktop-file-install --vendor fedora                            \
        --dir %{buildroot}%{_datadir}/applications         \

mkdir -p %{buildroot}%{_datadir}/icons/hicolor/32x32/apps
install -m 644 %{SOURCE2} %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/

rm -rf %{buildroot}

touch --no-create %{_datadir}/icons/hicolor || :
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :

touch --no-create %{_datadir}/icons/hicolor || :
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :

# COPYING is a stub!
%doc ChangeLog

* Mon Jan 29 2007 Patrice Dumas <> 1.0.3-2
- update to 1.0.3

* Tue Oct 10 2006 Patrice Dumas <> 1.0.2-3
- use consistently %%{buildroot}
- provides xorg-x11-%%{name}-devel

* Mon Oct  9 2006 Patrice Dumas <> 1.0.2-2
- buildrequires pkgconfig, libXext-devel

* Sun Sep  3 2006 Patrice Dumas <> 1.0.2-1
- Packaged for fedora extras