08f8709
Name: bitmap
Jaromir Capik 785552c
Version: 1.0.7
433d762
Release: 4%{?dist}
19f2b36
Summary: Bitmaps editor and converter utilities for the X Window System
08f8709
Group: User Interface/X
08f8709
Url: http://www.x.org
Jaromir Capik fb7201d
08f8709
Source0: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2
08f8709
Source1: bitmap.desktop
08f8709
Source2: bitmap.png
Jaromir Capik fb7201d
08f8709
License: MIT
08f8709
paragn c4fc4a8
# the bitmap-devel virtual provide is needed as it installs header files.
paragn c4fc4a8
# this is currently used by lesstif package.
paragn c4fc4a8
Provides: %{name}-devel = %{version}-%{release}
paragn c4fc4a8
08f8709
# libXaw-devel requires libXmu-devel 
08f8709
# libXmu-devel requires libX11-devel, libXt-devel, xorg-x11-util-macros
paragn 9ab471b
BuildRequires: xorg-x11-xbitmaps libXaw-devel libXext-devel
08f8709
BuildRequires: desktop-file-utils pkgconfig
08f8709
# also needed at runtime
paragn 9ab471b
Requires: xorg-x11-xbitmaps
08f8709
08f8709
%description
08f8709
Bitmap provides a bitmap editor and misc converter utilities for the X
08f8709
Window System.
08f8709
08f8709
The package also includes files defining bitmaps associated with the 
08f8709
Bitmap x11 editor.
08f8709
08f8709
%prep
08f8709
%setup -q
08f8709
Jaromir Capik fb7201d
08f8709
%build
08f8709
%configure --disable-dependency-tracking
3663d2b
make %{?_smp_mflags} AM_LDFLAGS=-lXmu
08f8709
08f8709
%install
19f2b36
%make_install INSTALL='install -p'
08f8709
19f2b36
desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE1}
08f8709
08f8709
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/32x32/apps
99f0c1f
install -p -m644 %{SOURCE2} %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/
08f8709
08f8709
%post
paragn 9ab471b
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
08f8709
08f8709
%postun
paragn 9ab471b
if [ $1 -eq 0 ] ; then
paragn 9ab471b
    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
paragn 9ab471b
    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
161f4ba
fi
08f8709
paragn 9ab471b
%posttrans
paragn 9ab471b
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
08f8709
08f8709
%files
08f8709
# COPYING is a stub!
08f8709
%doc ChangeLog
08f8709
%{_bindir}/atobm
08f8709
%{_bindir}/bmtoa
08f8709
%{_bindir}/bitmap
08f8709
%{_includedir}/X11/bitmaps/*
08f8709
%{_datadir}/X11/app-defaults/Bitmap*
08f8709
%{_datadir}/applications/*bitmap*
08f8709
%{_datadir}/icons/hicolor/32x32/apps/bitmap.png
08f8709
%{_mandir}/man1/*.1*
08f8709
08f8709
%changelog
433d762
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.7-4
433d762
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
433d762
4c8c4c7
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.7-3
4c8c4c7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
4c8c4c7
c2aec80
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.7-2
c2aec80
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
c2aec80
Jaromir Capik 785552c
* Wed May 22 2013 Jaromir Capik <jcapik@redhat.com> - 1.0.7-1
Jaromir Capik 785552c
- Update to 1.0.7 (#965215)
Jaromir Capik 785552c
- Removing the aarch64 patch (not needed anymore)
Jaromir Capik 785552c
Jaromir Capik fb7201d
* Tue Mar 26 2013 Jaromir Capik <jcapik@redhat.com> - 1.0.6-4
Jaromir Capik fb7201d
- aarch64 support (#925101)
Jaromir Capik fb7201d
19f2b36
* Mon Feb 11 2013 Rahul Sundaram <sundaram@fedoraproject.org> - 1.0.6-3
19f2b36
- remove vendor tag from desktop file. https://fedorahosted.org/fpc/ticket/247
19f2b36
- clean up spec to follow current guidelines
19f2b36
3d9c49c
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.6-2
3d9c49c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
3d9c49c
Jaromir Capik 33a5524
* Thu Jun 28 2012 Jaromir Capik <jcapik@redhat.com> - 1.0.6-1
Jaromir Capik 33a5524
- Update to 1.0.6 (#808705)
Jaromir Capik 33a5524
685c328
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-11
685c328
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
685c328
3663d2b
* Tue Mar 29 2011 Dan HorĂ¡k <dan[at]danny.cz> - 1.0.3-10
3663d2b
- fix build
3663d2b
412c494
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-9
412c494
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
412c494
paragn 9ab471b
* Mon Sep 27 2010 Parag Nemade <paragn AT fedoraproject.org> - 1.0.3-8
paragn 9ab471b
- Make sure this package follows current packaging guidelines.
paragn 9ab471b
- Removed old provides.
paragn 9ab471b
161f4ba
* Tue Dec 15 2009 Stepan Kasal <skasal@redhat.com> - 1.0.3-7
161f4ba
- silence scriptlets
161f4ba
cfadfca
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-6
cfadfca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
cfadfca
318303e
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-5
318303e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
318303e
df9f82f
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.3-4
df9f82f
- Autorebuild for GCC 4.3
df9f82f
99f0c1f
* Mon Dec 17 2007 Patrice Dumas <pertusus@free.fr> 1.0.3-3
99f0c1f
- keep timestamps
99f0c1f
f586af5
* Mon Jan 29 2007 Patrice Dumas <pertusus@free.fr> 1.0.3-2
c9d1e14
- update to 1.0.3
c9d1e14
08f8709
* Tue Oct 10 2006 Patrice Dumas <pertusus@free.fr> 1.0.2-3
08f8709
- use consistently %%{buildroot}
08f8709
- provides xorg-x11-%%{name}-devel
08f8709
08f8709
* Mon Oct  9 2006 Patrice Dumas <pertusus@free.fr> 1.0.2-2
08f8709
- buildrequires pkgconfig, libXext-devel
08f8709
08f8709
* Sun Sep  3 2006 Patrice Dumas <pertusus@free.fr> 1.0.2-1
08f8709
- Packaged for fedora extras