2005-08-29 06:51:07 +00:00
|
|
|
%define pkgname xbitmaps
|
|
|
|
|
|
|
|
Summary: X.Org X11 application bitmaps
|
|
|
|
Name: xorg-x11-%{pkgname}
|
2006-01-31 15:39:04 +00:00
|
|
|
Version: 1.0.1
|
2005-12-19 18:42:51 +00:00
|
|
|
Release: 1
|
2005-08-29 06:51:07 +00:00
|
|
|
License: MIT/X11
|
|
|
|
Group: User Interface/X
|
|
|
|
URL: http://www.x.org
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
2005-12-19 18:42:51 +00:00
|
|
|
Source0: http://xorg.freedesktop.org/releases/X11R7.0-RC4/everything/%{pkgname}-%{version}.tar.bz2
|
2005-08-29 06:51:07 +00:00
|
|
|
|
2005-11-21 20:17:29 +00:00
|
|
|
# NOTE: This dependency on xorg-x11-filesystem is required to work around
|
|
|
|
# a nasty upgrade problem when going from FC4->FC5 or monolithic to
|
|
|
|
# modular X.Org. Bug #173384.
|
2005-11-23 14:25:34 +00:00
|
|
|
Requires(pre): xorg-x11-filesystem >= 0.99.2-3
|
2005-11-12 02:53:24 +00:00
|
|
|
|
2005-11-23 14:25:34 +00:00
|
|
|
Provides: xbitmaps
|
|
|
|
Provides: xbitmaps-devel
|
2005-08-29 06:51:07 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
X.Org X11 application bitmaps
|
|
|
|
|
|
|
|
%prep
|
2005-11-11 23:19:38 +00:00
|
|
|
%setup -q -n xbitmaps-%{version}
|
2005-08-29 06:51:07 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
# Build xbitmaps
|
2005-11-12 02:53:24 +00:00
|
|
|
%configure
|
|
|
|
make
|
2005-08-29 06:51:07 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2005-11-12 02:53:24 +00:00
|
|
|
|
2005-12-19 18:42:51 +00:00
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
2005-11-12 02:53:24 +00:00
|
|
|
|
2005-08-29 06:51:07 +00:00
|
|
|
# FIXME: Upstream installs the bitmaps into /usr/include by default, however
|
|
|
|
# they are used both at compiletime via #include, as well as at runtime by
|
|
|
|
# other apps. Being pedantically correct, it makes sense to install them
|
|
|
|
# into the FHS sanctioned /usr/share heirarchy instead for runtime arch
|
|
|
|
# independent data. Then provide a symlink from /usr/include to the
|
|
|
|
# runtime dir for apps to link to. Since this is too much overhead for
|
|
|
|
# a separate devel subpackage, I've added a virtual Provide above so this
|
|
|
|
# package provides both. This should be fixed upstream IMHO to use
|
|
|
|
# /usr/share by default.
|
2005-11-23 14:25:34 +00:00
|
|
|
%if 0
|
2005-08-29 06:51:07 +00:00
|
|
|
{
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/X11
|
|
|
|
mv $RPM_BUILD_ROOT%{_includedir}/X11/bitmaps $RPM_BUILD_ROOT%{_datadir}/X11/
|
|
|
|
ln -sf ../../..%{_datadir}/X11/bitmaps $RPM_BUILD_ROOT%{_includedir}/X11/
|
|
|
|
}
|
2005-11-23 14:25:34 +00:00
|
|
|
%endif
|
|
|
|
|
2005-08-29 06:51:07 +00:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc
|
2005-11-23 14:25:34 +00:00
|
|
|
%if 0
|
|
|
|
|
2005-08-29 06:51:07 +00:00
|
|
|
%dir %{_datadir}
|
|
|
|
%dir %{_datadir}/X11
|
|
|
|
%dir %{_datadir}/X11/bitmaps
|
|
|
|
%{_datadir}/X11/bitmaps/*
|
|
|
|
# Symlink for devel linking
|
|
|
|
%{_includedir}/X11/bitmaps
|
2005-11-23 14:25:34 +00:00
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
%dir %{_includedir}
|
|
|
|
%dir %{_includedir}/X11
|
|
|
|
%dir %{_includedir}/X11/bitmaps
|
|
|
|
%{_includedir}/X11/bitmaps/*
|
|
|
|
# Symlink for devel linking
|
|
|
|
%{_includedir}/X11/bitmaps
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
2005-08-29 06:51:07 +00:00
|
|
|
%dir %{_libdir}/pkgconfig
|
|
|
|
%{_libdir}/pkgconfig/xbitmaps.pc
|
|
|
|
|
|
|
|
%changelog
|
2006-01-31 15:39:04 +00:00
|
|
|
* Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-1
|
|
|
|
- Updated to xbitmaps 1.0.1 from X11R7.0
|
|
|
|
|
2005-12-19 18:42:51 +00:00
|
|
|
* Sat Dec 17 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
|
|
|
|
- Updated to xbitmaps 1.0.0 from X11R7 RC4.
|
|
|
|
|
2005-11-23 14:25:34 +00:00
|
|
|
* Wed Nov 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-4
|
|
|
|
- Updated dep to "Requires(pre): xorg-x11-filesystem >= 0.99.2-3" for new fix.
|
|
|
|
- Moved bitmap files back into the upstream default of _includedir (#173665).
|
|
|
|
|
2005-11-21 20:17:29 +00:00
|
|
|
* Mon Nov 21 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-3
|
|
|
|
- Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-1" to attempt to
|
|
|
|
workaround bug( #173384).
|
|
|
|
|
2005-11-12 02:53:24 +00:00
|
|
|
* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-2
|
|
|
|
- Clean up specfile.
|
|
|
|
|
2005-11-11 23:19:38 +00:00
|
|
|
* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
|
|
|
|
- Updated to xbitmaps 0.99.1 from X11R7 RC2
|
|
|
|
|
2005-08-29 06:51:07 +00:00
|
|
|
* Fri Aug 26 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
|
|
|
|
- Initial build.
|