mharris 97b1202
%define pkgname apps
mharris 97b1202
mharris 97b1202
Summary: X.Org X11 applications
mharris 97b1202
Name: xorg-x11-%{pkgname}
mharris 78cbf27
# NOTE: The package version should be set to the X11 major release from which
mharris 78cbf27
# the OS release is based upon.
e23d76c
Version: 7.4
1b7fd0a
Release: 14%{?dist}
4eaff23
License: MIT
mharris 97b1202
Group: User Interface/X
mharris 97b1202
URL: http://www.x.org
mharris 2203650
mharris 97b1202
# Clock apps
mharris a89d639
Source0:  ftp://ftp.x.org/pub/individual/app/oclock-1.0.1.tar.bz2
a9c7702
Source1:  ftp://ftp.x.org/pub/individual/app/xclock-1.0.4.tar.bz2
mharris 97b1202
# X Window Dump (xwd) utilities
30ac83a
Source2:  ftp://ftp.x.org/pub/individual/app/xwd-1.0.3.tar.bz2
014950a
Source3:  ftp://ftp.x.org/pub/individual/app/xwud-1.0.2.tar.bz2
30ac83a
Source4:  ftp://ftp.x.org/pub/individual/app/xpr-1.0.3.tar.bz2
mharris 97b1202
# Miscellaneous other applications
03f55ed
Source5:  ftp://ftp.x.org/pub/individual/app/luit-1.0.4.tar.bz2
30ac83a
Source6:  ftp://ftp.x.org/pub/individual/app/x11perf-1.5.1.tar.bz2
mharris a89d639
Source7:  ftp://ftp.x.org/pub/individual/app/xbiff-1.0.1.tar.bz2
30ac83a
Source8:  ftp://ftp.x.org/pub/individual/app/xclipboard-1.1.0.tar.bz2
0f0acb2
Source9:  ftp://ftp.x.org/pub/individual/app/xconsole-1.0.3.tar.bz2
30ac83a
Source10: ftp://ftp.x.org/pub/individual/app/xcursorgen-1.0.3.tar.bz2
b54318e
Source11: ftp://ftp.x.org/pub/individual/app/xeyes-1.0.991.tar.bz2
014950a
Source12: ftp://ftp.x.org/pub/individual/app/xkill-1.0.2.tar.bz2
7bd973d
Source13: ftp://ftp.x.org/pub/individual/app/xload-1.0.2.tar.bz2
mharris a89d639
Source14: ftp://ftp.x.org/pub/individual/app/xlogo-1.0.1.tar.bz2
014950a
Source15: ftp://ftp.x.org/pub/individual/app/xmag-1.0.3.tar.bz2
0f0acb2
Source16: ftp://ftp.x.org/pub/individual/app/xmessage-1.0.2.tar.bz2
1b7fd0a
Source17: ftp://ftp.x.org/pub/individual/app/xinput-1.5.2.tar.bz2
e23d76c
Source18: ftp://ftp.x.org/pub/individual/app/xfd-1.0.1.tar.bz2
e23d76c
Source19: ftp://ftp.x.org/pub/individual/app/xfontsel-1.0.2.tar.bz2
e23d76c
Source20: ftp://ftp.x.org/pub/individual/app/xvidtune-1.0.1.tar.bz2
mharris d3c9020
5369c4b
Patch0: x11perf-1.4.1-x11perf-datadir-cleanups.patch
d54e873
Patch2: xconsole-1.0.3-streams-me-softer.patch
e23d76c
Patch3: xvidtune-1.0.1-buffer-stomp.patch
4893a7e
Patch4: xlogo-less-xprint.patch
91baff8
Patch5: xlogo-1.0.1-add-needed.patch
mharris d32f264
mharris ce5b369
BuildRequires: autoconf automake
mharris ce5b369
mharris d32f264
BuildRequires: xorg-x11-util-macros
mharris 65b157b
# xbiff needs xbitmaps-devel
mharris 65b157b
BuildRequires: xbitmaps-devel
f74ed46
BuildRequires: zlib-devel
f74ed46
BuildRequires: libfontenc-devel
f74ed46
BuildRequires: libX11-devel
f74ed46
BuildRequires: libXmu-devel
f74ed46
BuildRequires: libXext-devel
f74ed46
BuildRequires: libXt-devel
f74ed46
BuildRequires: libXaw-devel
f74ed46
BuildRequires: libXpm-devel
f74ed46
BuildRequires: libXft-devel
f74ed46
BuildRequires: libXrender-devel
f74ed46
BuildRequires: libxkbfile-devel
f74ed46
BuildRequires: libXcursor-devel
f74ed46
BuildRequires: libpng-devel
f74ed46
BuildRequires: libXfixes-devel
9161fb3
BuildRequires: libXi-devel >= 1.2
d0e616c
BuildRequires: libXxf86vm-devel
dc969a6
BuildRequires: xorg-x11-xbitmaps
mharris 2203650
mharris 97b1202
Provides: luit oclock x11perf xbiff xclipboard xclock xconsole xcursorgen
9b93f41
Provides: xeyes xkill xload xlogo xmag xmessage xpr xwd xwud xinput
e23d76c
Provides: xfd xfontsel xvidtune
mharris 97b1202
mharris 10e1025
# NOTE: xwd, xwud, luit used to be in these.
mharris 10e1025
Obsoletes: XFree86, xorg-x11
mharris 10e1025
# NOTE: x11perf, xclipboard used to be in these.
mharris 10e1025
Obsoletes: XFree86-tools, xorg-x11-tools
e23d76c
# Xaw app moves
e23d76c
Conflicts: xorg-x11-utils < 7.4-5.fc12
e23d76c
Conflicts: xorg-x11-server-utils < 7.4-8.fc12
e23d76c
mharris 97b1202
%description
mharris 97b1202
A collection of common X Window System applications.
mharris 97b1202
mharris 97b1202
%prep
e23d76c
%setup -q -c %{name}-%{version} -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a8 -a9 -a10 -a11 -a12 -a13 -a14 -a15 -a16 -a17 -a18 -a19 -a20
mharris d32f264
%patch0 -p0 -b .x11perf-datadir-cleanups
d54e873
%patch2 -p0 -b .streams-me-softer
e23d76c
%patch3 -p1 -b .buffer-stomp
4893a7e
%patch4 -p0 -b .xprint
91baff8
%patch5 -p0 -b .add-needed
mharris 2181557
mharris 97b1202
%build
mharris 97b1202
# Build all apps
mharris 97b1202
{
e23d76c
for app in * ; do
e23d76c
	pushd $app
4893a7e
		sed -i '/XAW_/ s/)/, xaw7)/; /XAW_/ s/XAW_CHECK_XPRINT_SUPPORT/PKG_CHECK_MODULES/' configure.ac
e23d76c
		autoreconf -v --install
e23d76c
		%configure --disable-xprint
e23d76c
		make
e23d76c
	popd
e23d76c
done
mharris 97b1202
}
mharris 97b1202
mharris 97b1202
%install
mharris 97b1202
rm -rf $RPM_BUILD_ROOT
mharris 97b1202
# Install all apps
mharris 97b1202
{
e23d76c
for app in * ; do
e23d76c
	pushd $app
e23d76c
	make install DESTDIR=$RPM_BUILD_ROOT
e23d76c
	popd
e23d76c
done
mharris 97b1202
}
mharris 97b1202
mharris 97b1202
%clean
mharris 97b1202
rm -rf $RPM_BUILD_ROOT
mharris 97b1202
mharris 97b1202
%files
mharris 97b1202
%defattr(-,root,root,-)
mharris 2181557
#%doc
mharris 97b1202
%{_bindir}/luit
mharris 97b1202
%{_bindir}/oclock
mharris 97b1202
%{_bindir}/x11perf
mharris 97b1202
%{_bindir}/x11perfcomp
mharris 97b1202
%{_bindir}/xbiff
mharris 97b1202
%{_bindir}/xclipboard
mharris 97b1202
%{_bindir}/xclock
mharris 97b1202
%{_bindir}/xconsole
mharris 97b1202
%{_bindir}/xcursorgen
mharris 97b1202
%{_bindir}/xcutsel
mharris 97b1202
%{_bindir}/xdpr
mharris 97b1202
%{_bindir}/xeyes
e23d76c
%{_bindir}/xfd
e23d76c
%{_bindir}/xfontsel
9b93f41
%{_bindir}/xinput
mharris 97b1202
%{_bindir}/xkill
mharris 97b1202
%{_bindir}/xload
mharris 97b1202
%{_bindir}/xlogo
mharris 97b1202
%{_bindir}/xmag
mharris 97b1202
%{_bindir}/xmessage
mharris 97b1202
%{_bindir}/xpr
e23d76c
%{_bindir}/xvidtune
mharris 97b1202
%{_bindir}/xwd
mharris 97b1202
%{_bindir}/xwud
mharris 2203650
%{_datadir}/X11/app-defaults/Clock-color
mharris 2203650
%{_datadir}/X11/app-defaults/XClipboard
mharris 2203650
%{_datadir}/X11/app-defaults/XClock
mharris 2203650
%{_datadir}/X11/app-defaults/XClock-color
mharris 2203650
%{_datadir}/X11/app-defaults/XConsole
e23d76c
%{_datadir}/X11/app-defaults/XFontSel
e23d76c
%{_datadir}/X11/app-defaults/Xfd
mharris 2203650
%{_datadir}/X11/app-defaults/XLoad
mharris 2203650
%{_datadir}/X11/app-defaults/XLogo
mharris 2203650
%{_datadir}/X11/app-defaults/XLogo-color
mharris 2203650
%{_datadir}/X11/app-defaults/Xmag
mharris 2203650
%{_datadir}/X11/app-defaults/Xmessage
mharris 2203650
%{_datadir}/X11/app-defaults/Xmessage-color
e23d76c
%{_datadir}/X11/app-defaults/Xvidtune
mharris 2203650
%dir %{_datadir}/X11/x11perfcomp
mharris 2203650
%{_datadir}/X11/x11perfcomp/Xmark
mharris 2203650
%{_datadir}/X11/x11perfcomp/fillblnk
mharris 2203650
%{_datadir}/X11/x11perfcomp/perfboth
mharris 2203650
%{_datadir}/X11/x11perfcomp/perfratio
mharris 62149c1
#%dir %{_mandir}/man1x
bb88a39
%{_mandir}/man1/xcursorgen.1*
bb88a39
%{_mandir}/man1/Xmark.1*
bb88a39
%{_mandir}/man1/luit.1*
bb88a39
%{_mandir}/man1/oclock.1*
bb88a39
%{_mandir}/man1/x11perf.1*
bb88a39
%{_mandir}/man1/x11perfcomp.1*
bb88a39
%{_mandir}/man1/xbiff.1*
bb88a39
%{_mandir}/man1/xclipboard.1*
bb88a39
%{_mandir}/man1/xclock.1*
bb88a39
%{_mandir}/man1/xconsole.1*
bb88a39
%{_mandir}/man1/xcutsel.1*
bb88a39
%{_mandir}/man1/xdpr.1*
bb88a39
%{_mandir}/man1/xeyes.1*
e23d76c
%{_mandir}/man1/xfd.1*
e23d76c
%{_mandir}/man1/xfontsel.1*
9b93f41
%{_mandir}/man1/xinput.1*
bb88a39
%{_mandir}/man1/xkill.1*
bb88a39
%{_mandir}/man1/xload.1*
bb88a39
%{_mandir}/man1/xlogo.1*
bb88a39
%{_mandir}/man1/xmag.1*
bb88a39
%{_mandir}/man1/xmessage.1*
bb88a39
%{_mandir}/man1/xpr.1*
e23d76c
%{_mandir}/man1/xvidtune.1*
bb88a39
%{_mandir}/man1/xwd.1*
bb88a39
%{_mandir}/man1/xwud.1*
mharris 97b1202
mharris 97b1202
%changelog
1b7fd0a
* Fri Jun 04 2010 Peter Hutterer <peter.hutterer@redhat.com> 7.4-14
1b7fd0a
- xinput 1.5.2
1b7fd0a
ebb4a93
* Mon Mar 15 2010 Peter Hutterer <peter.hutterer@redhat.com> 7.4-13
ebb4a93
- xinput 1.5.1
ebb4a93
dc969a6
* Fri Mar 05 2010 Matěj Cepl <mcepl@redhat.com> - 7.4-12
dc969a6
- Add missing BR xorg-x11-xbitmaps
dc969a6
20711ca
* Thu Mar 04 2010 Matěj Cepl <mcepl@redhat.com> - 7.4-11
20711ca
- Don't steal directory owned by filesystem package
20711ca
91baff8
* Tue Feb 09 2010 Adam Jackson <ajax@redhat.com> 7.4-10
91baff8
- xlogo-1.0.1-add-needed.patch: Fix FTBFS for --no-add-needed
91baff8
30ac83a
* Mon Oct 19 2009 Adam Jackson <ajax@redhat.com> 7.4-9
30ac83a
- xclipboard 1.1.0
30ac83a
- xcursorgen 1.0.3
30ac83a
- xpr 1.0.3
30ac83a
- xwd 1.0.3
30ac83a
- x11perf 1.5.1
30ac83a
014950a
* Tue Oct 13 2009 Peter Hutterer <peter.hutterer@redhat.com> 7.4-8
014950a
- xinput 1.5.0
014950a
- xwud 1.0.2
014950a
- xkill 1.0.2
014950a
- xmag 1.0.3
014950a
b54318e
* Wed Oct 07 2009 Adam Jackson <ajax@redhat.com> 7.4-7
b54318e
- xeyes 1.0.991
b54318e
03f55ed
* Tue Oct 06 2009 Adam Jackson <ajax@redhat.com> 7.4-6
03f55ed
- luit 1.0.4
03f55ed
a9c7702
* Thu Sep 24 2009 Peter Hutterer <peter.hutterer@redhat.com> 7.4-5
a9c7702
- xclock 1.0.4
a9c7702
- xinput 1.4.99.3
a9c7702
3cacb1b
* Mon Aug 03 2009 Peter Hutterer <peter.hutterer@redhat.com> 7.4-4
3cacb1b
- xinput 1.4.99.2
3cacb1b
74fd1f8
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.4-3
74fd1f8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
74fd1f8
5833965
* Thu Jul 23 2009 Adam Jackson <ajax@redhat.com> 7.4-2
5833965
- Un-require xorg-x11-filesystem
5833965
e23d76c
* Thu Jul 02 2009 Adam Jackson <ajax@redhat.com> 7.4-1
e23d76c
- Add xfd, xfontsel, and xvidtune
e23d76c
7c6b7a8
* Mon Jun 22 2009 Peter Hutterer <peter.hutterer@redhat.com> 7.3-10
7c6b7a8
- xinput 1.4.99.1
7c6b7a8
fe2857a
* Thu May 07 2009 Peter Hutterer <peter.hutterer@redhat.com> 7.3-9
fe2857a
- xinput 1.4.2
fe2857a
aeeb3b8
* Mon Apr 06 2009 Peter Hutterer <peter.hutterer@redhat.com> 7.3-8
aeeb3b8
- xinput 1.4.1
aeeb3b8
7ec6208
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.3-7
7ec6208
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
7ec6208
9161fb3
* Fri Jan 16 2009 Peter Hutterer <peter.hutterer@redhat.com> 7.3-6
9161fb3
- xinput 1.4.0
9161fb3
9b93f41
* Tue Sep 9 2008 Peter Hutterer <peter.hutterer@redhat.com> 7.3-5
9b93f41
- Add xinput tool.
9b93f41
4eaff23
* Tue Jul 15 2008 Adam Jackson <ajax@redhat.com> 7.3-4
4eaff23
- Fix license tag.
4eaff23
d54e873
* Fri Apr 04 2008 Adam Jackson <ajax@redhat.com> 7.3-3
d54e873
- xconsole-1.0.3-streams-me-softer.patch: Don't include STREAMS headers,
d54e873
  since glibc so thoughtfully removed them. (#440717)
d54e873
a469a96
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 7.3-2
a469a96
- Autorebuild for GCC 4.3
a469a96
0f0acb2
* Mon Sep 24 2007 Adam Jackson <ajax@redhat.com> 7.3-1
0f0acb2
- xconsole 1.0.3
0f0acb2
- xmessage 1.0.2
0f0acb2
- Bump to 7.3-1
0f0acb2
7bd973d
* Tue Aug 21 2007 Dave Airlie <airlied@redhat.com> 7.2-1
7bd973d
- luit-1.0.2 xclock 1.0.3 xmag 1.0.2 xpr 1.0.2 xload 1.0.2 xcursorgen 1.0.2
7bd973d
- bump to 7.2 version
7bd973d
bb88a39
* Tue Jan 30 2007 Adam Jackson <ajax@redhat.com> 7.1-4
bb88a39
- Fix man page globs and rebuild for FC7.
bb88a39
sandmann 7fb10dc
* Mon Oct 2 2006 Soren Sandmann <sandmann@redhat.com> 7.1-3.fc6
sandmann 7fb10dc
- Fix race condition in luit (Bug 197165).
sandmann 7fb10dc
mharris d2a97ab
* Wed Jul 19 2006 Mike A. Harris <mharris@redhat.com> 7.1-2.fc6
mharris d2a97ab
- Remove app-defaults dir from file manifest, as it is owned by libXt (#174021)
mharris d2a97ab
- Add 'dist' tag to package release string.
mharris d2a97ab
mharris d2a97ab
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 7.1-1.1
20dbd43
- rebuild
20dbd43
mharris 2181557
* Tue Jun 20 2006 Mike A. Harris <mharris@redhat.com> 7.1-1
mharris 2181557
- Added xload-1.0.1-setuid.diff to fix potential security issue (#196094)
mharris 2181557
- Artificially inflate package version-release to 7.1 to match the X11R7.1
mharris 2181557
  release that all of the tarballs are taken from.
mharris 2181557
- Update to xconsole-1.0.2, xcursorgen-1.0.1 from X11R7.1
mharris ce5b369
- Add temporary dependency on autoconf, automake for brew builds.
mharris 2181557
f74ed46
* Fri May 26 2006 Adam Jackson <ajackson@redhat.com> 1.0.3-2
f74ed46
- Add more BuildRequires to fix mock builds.  (#191896)
f74ed46
440ec04
* Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.0.3-1
440ec04
- Updated xclock and xconsole
440ec04
mharris 2181557
* Thu Mar 02 2006 Adam Jackson <ajackson@redhat.com> 1.0.2-1
5369c4b
- Bump x11perf to 1.4.1 from upstream.
5369c4b
mharris 9379312
* Fri Feb 24 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-2
mharris 9379312
- Added luit-1.0.1-locale.alias-datadir.patch to fix bug (#181785)
mharris 9379312
mharris 9379312
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.2
0447e53
- bump again for double-long bug on ppc(64)
0447e53
mharris 9379312
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.1
39de001
- rebuilt for new gcc4.1 snapshot and glibc changes
39de001
mharris d3c9020
* Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-1
mharris d3c9020
- Upgraded all apps to version 1.0.1 from X11R7.0
mharris d3c9020
mharris d32f264
* Sat Dec 17 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
mharris d32f264
- Upgraded all apps to version 1.0.0 from X11R7 RC4.
mharris d32f264
- Changed manpage dir from man1x to man1 to match upstream default now.
mharris d32f264
- Dropped all of the datadir-cleanups patches added in the previous build.
mharris d32f264
- Added x11perf-1.0.0-x11perf-datadir-cleanups.patch as it is still needed
mharris d32f264
  to put the helper scripts in datadir.
mharris d32f264
- Added --disable-xprint to configure, as a great symbolic jesture.
mharris d32f264
mharris 2203650
* Wed Nov 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-4
mharris 2203650
- Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3" to workaround
mharris 2203650
  (#173384)
mharris 2203650
- Added the following patches, and invoke aclocal/automake/autoconf on them
mharris 2203650
  to force app-defaults and other datafiles into _datadir instead of _libdir:
mharris 2203650
  - oclock-0.99.1-oclock-datadir-cleanups.patch
mharris 2203650
  - x11perf-0.99.1-x11perf-datadir-cleanups.patch
mharris 2203650
  - xclipboard-0.99.1-xclipboard-datadir-cleanups.patch
mharris 2203650
  - xclock-0.99.1-xclock-datadir-cleanups.patch
mharris 2203650
  - xconsole-0.99.2-xconsole-datadir-cleanups.patch
mharris 2203650
  - xload-0.99.1-xload-datadir-cleanups.patch
mharris 2203650
  - xlogo-0.99.1-xlogo-datadir-cleanups.patch
mharris 2203650
  - xmag-0.99.1-xmag-datadir-cleanups.patch
mharris 2203650
  - xmessage-0.99.1-xmessage-datadir-cleanups.patch
mharris 2203650
- Added luit-0.99.1-luit-locale-dir-fix.patch to fix bug (#173702)
mharris 2203650
mharris 9379312
* Mon Nov 14 2005 Jeremy Katz <katzj@redhat.com> 0.99.2-3
cf5dcbc
- add Requires(pre) on newer filesystem package (#172610)
cf5dcbc
mharris 10e1025
* Sun Nov 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-2
mharris 10e1025
- Add "Obsoletes: XFree86, XFree86-tools, xorg-x11, xorg-x11-tools", as 
mharris 10e1025
  various utils have moved here from there in monolithic X packaging.
mharris 65b157b
- Add "BuildRequires: xbitmaps-devel" for xbiff.
mharris 10e1025
- Rebuild against new libXaw 0.99.2-2, which has fixed DT_SONAME. (#173027)
mharris 10e1025
mharris 97b1202
* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
mharris 97b1202
- Initial build, with all apps taken from X11R7 RC2.
mharris 97b1202
- Use "make install DESTDIR=$RPM_BUILD_ROOT" as the makeinstall macro fails on
mharris 97b1202
  some packages.
mharris d32f264
- Temporary hack to move xcursorgen manpage to 'man1' dir.