|
|
08f8709 |
Name: bitmap
|
|
|
c9d1e14 |
Version: 1.0.3
|
|
paragn |
9ab471b |
Release: 8%{?dist}
|
|
|
08f8709 |
Summary: Bitmap editor and converter utilities for the X Window System
|
|
|
08f8709 |
Group: User Interface/X
|
|
|
08f8709 |
Url: http://www.x.org
|
|
|
08f8709 |
Source0: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2
|
|
|
08f8709 |
Source1: bitmap.desktop
|
|
|
08f8709 |
Source2: bitmap.png
|
|
|
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 |
|
|
|
08f8709 |
|
|
|
08f8709 |
%build
|
|
|
08f8709 |
%configure --disable-dependency-tracking
|
|
|
08f8709 |
make %{?_smp_mflags}
|
|
|
08f8709 |
|
|
|
08f8709 |
|
|
|
08f8709 |
%install
|
|
|
99f0c1f |
make install DESTDIR=%{buildroot} INSTALL='install -p'
|
|
|
08f8709 |
|
|
|
08f8709 |
desktop-file-install --vendor fedora \
|
|
|
08f8709 |
--dir %{buildroot}%{_datadir}/applications \
|
|
|
08f8709 |
%{SOURCE1}
|
|
|
08f8709 |
|
|
|
08f8709 |
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/32x32/apps
|
|
|
99f0c1f |
install -p -m644 %{SOURCE2} %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/
|
|
|
08f8709 |
|
|
|
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 |
%defattr(-,root,root,-)
|
|
|
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
|
|
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
|