d6fabf
Summary: imake source code configuration and build system
d6fabf
Name: imake
d6fabf
Version: 1.0.5
d6fabf
Release: 10%{?dist}
d6fabf
License: MIT
d6fabf
Group: User Interface/X
d6fabf
URL: http://www.x.org
d6fabf
d6fabf
Source0: ftp://ftp.x.org/pub/individual/util/imake-1.0.5.tar.bz2
d6fabf
Source1: ftp://ftp.x.org/pub/individual/util/makedepend-1.0.4.tar.bz2
d6fabf
Source2: ftp://ftp.x.org/pub/individual/util/gccmakedep-1.0.2.tar.bz2
d6fabf
Source3: ftp://ftp.x.org/pub/individual/util/xorg-cf-files-1.0.4.tar.bz2
d6fabf
Source4: ftp://ftp.x.org/pub/individual/util/lndir-1.0.3.tar.bz2
d6fabf
Patch2: xorg-cf-files-1.0.2-redhat.patch
d6fabf
Patch11: imake-1.0.2-abort.patch
d6fabf
Patch20: imake-add-aarch64.patch
d6fabf
Patch21: imake-1.0.2-aarch64-fixup.patch
d6fabf
d6fabf
BuildRequires: pkgconfig
d6fabf
BuildRequires: xorg-x11-util-macros
d6fabf
BuildRequires: xorg-x11-proto-devel
d6fabf
d6fabf
Provides: ccmakedep cleanlinks gccmakedep lndir makedepend makeg
d6fabf
Provides: mergelib mkdirhier mkhtmlindex revpath xmkmf
d6fabf
d6fabf
%description
d6fabf
Imake is a deprecated source code configuration and build system which
d6fabf
has traditionally been supplied by and used to build the X Window System
d6fabf
in X11R6 and previous releases.  As of the X Window System X11R7 release,
d6fabf
the X Window system has switched to using GNU autotools as the primary
d6fabf
build system, and the Imake system is now deprecated, and should not be
d6fabf
used by new software projects.  Software developers are encouraged to
d6fabf
migrate software to the GNU autotools system.
d6fabf
d6fabf
%prep
d6fabf
%setup -q -c %{name}-%{version} -a1 -a2 -a3 -a4
d6fabf
%patch2 -p0 -b .redhat
d6fabf
d6fabf
# imake patches
d6fabf
pushd %{name}-%{version}
d6fabf
%patch11 -p1 -b .abort
d6fabf
popd
d6fabf
pushd xorg-cf-files-1.0.4
d6fabf
%patch20 -p1
d6fabf
%patch21 -p1
d6fabf
popd
d6fabf
d6fabf
%build
d6fabf
# Build everything
d6fabf
{
d6fabf
   for pkg in imake makedepend gccmakedep lndir xorg-cf-files ; do
d6fabf
      pushd $pkg-*
d6fabf
      case $pkg in
d6fabf
         imake|xorg-cf-files)
d6fabf
            %configure --with-config-dir=%{_datadir}/X11/config
d6fabf
            ;;
d6fabf
         *)
d6fabf
            %configure
d6fabf
            ;;
d6fabf
      esac
d6fabf
      make
d6fabf
      popd
d6fabf
   done
d6fabf
}
d6fabf
d6fabf
%install
d6fabf
rm -rf $RPM_BUILD_ROOT
d6fabf
d6fabf
# Install everything
d6fabf
{
d6fabf
   for pkg in imake makedepend gccmakedep lndir xorg-cf-files ; do
d6fabf
      pushd $pkg-*
d6fabf
      case $pkg in
d6fabf
#         xorg-cf-files)
d6fabf
#            make install DESTDIR=$RPM_BUILD_ROOT libdir=%%{_datadir}
d6fabf
#            ;;
d6fabf
         *)
d6fabf
            make install DESTDIR=$RPM_BUILD_ROOT
d6fabf
            ;;
d6fabf
      esac
d6fabf
      popd
d6fabf
   done
d6fabf
}
d6fabf
d6fabf
%clean
d6fabf
rm -rf $RPM_BUILD_ROOT
d6fabf
d6fabf
%files
d6fabf
%defattr(-,root,root,-)
d6fabf
%doc
d6fabf
%{_bindir}/ccmakedep
d6fabf
%{_bindir}/cleanlinks
d6fabf
%{_bindir}/gccmakedep
d6fabf
%{_bindir}/imake
d6fabf
%{_bindir}/lndir
d6fabf
%{_bindir}/makedepend
d6fabf
%{_bindir}/makeg
d6fabf
%{_bindir}/mergelib
d6fabf
%{_bindir}/mkdirhier
d6fabf
%{_bindir}/mkhtmlindex
d6fabf
%{_bindir}/revpath
d6fabf
%{_bindir}/xmkmf
d6fabf
%dir %{_datadir}/X11/config
d6fabf
%{_datadir}/X11/config/*.cf
d6fabf
%{_datadir}/X11/config/*.def
d6fabf
%{_datadir}/X11/config/*.rules
d6fabf
%{_datadir}/X11/config/*.tmpl
d6fabf
#%%dir %%{_mandir}/man1x
d6fabf
%{_mandir}/man1/ccmakedep.1*
d6fabf
%{_mandir}/man1/cleanlinks.1*
d6fabf
%{_mandir}/man1/gccmakedep.1*
d6fabf
%{_mandir}/man1/imake.1*
d6fabf
%{_mandir}/man1/lndir.1*
d6fabf
%{_mandir}/man1/makedepend.1*
d6fabf
%{_mandir}/man1/makeg.1*
d6fabf
%{_mandir}/man1/mergelib.1*
d6fabf
%{_mandir}/man1/mkdirhier.1*
d6fabf
%{_mandir}/man1/mkhtmlindex.1*
d6fabf
%{_mandir}/man1/revpath.1*
d6fabf
%{_mandir}/man1/xmkmf.1*
d6fabf
d6fabf
%changelog
d6fabf
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.0.5-10
d6fabf
- Mass rebuild 2014-01-24
d6fabf
d6fabf
* Thu Jan 23 2014 Dave Airlie <airlied@redhat.com> 1.0.5-9
d6fabf
- add aarch64 support (#1041342)
d6fabf
d6fabf
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.0.5-8
d6fabf
- Mass rebuild 2013-12-27
d6fabf
d6fabf
* Thu Feb 07 2013 Jon Ciesla <limburgher@gmail.com> 1.0.5-7
d6fabf
- Merge review fixes, BZ 225898.
d6fabf
d6fabf
* Thu Jan 03 2013 Adam Jackson <ajax@redhat.com> 1.0.5-6
d6fabf
- Drop unused patches
d6fabf
d6fabf
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-5
d6fabf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
d6fabf
d6fabf
* Thu Mar 08 2012 Adam Jackson <ajax@redhat.com> 1.0.5-4
d6fabf
- imake 1.0.5
d6fabf
- lndir 1.0.3
d6fabf
- makedepend 1.0.4
d6fabf
d6fabf
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-4
d6fabf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
d6fabf
d6fabf
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-3
d6fabf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
d6fabf
d6fabf
* Thu Jan 06 2011 Adam Jackson <ajax@redhat.com> 1.0.4-2
d6fabf
- xorg-cf-files 1.0.4
d6fabf
- xorg-cf-files-1.0.2-xprint.patch: Drop, merged.
d6fabf
d6fabf
* Mon Nov 01 2010 Peter Hutterer <peter.hutterer@redhat.com> 1.0.4-1
d6fabf
- imake 1.0.4
d6fabf
- makedepend 1.0.3
d6fabf
- lndir 1.0.2
d6fabf
d6fabf
* Mon Oct 25 2010 Adam Jackson <ajax@redhat.com> 1.0.2-15
d6fabf
- imake-1.0.2-abort.patch: Paper over an abort (#646561)
d6fabf
d6fabf
* Mon Oct 25 2010 Adam Jackson <ajax@redhat.com> 1.0.2-14
d6fabf
- Don't own things owned by filesystem (#569411)
d6fabf
d6fabf
* Mon Feb 22 2010 Matěj Cepl <mcepl@redhat.com> - 1.0.2-13
d6fabf
-  lndir should ignore .git directory (RH BZ #538249)
d6fabf
d6fabf
* Mon Oct 19 2009 Adam Jackson <ajax@redhat.com> 1.0.2-12
d6fabf
- xorg-cf-files 1.0.3.3.3
d6fabf
d6fabf
* Tue Oct 13 2009 Adam Jackson <ajax@redhat.com> 1.0.2-11
d6fabf
- makedepend 1.0.2
d6fabf
d6fabf
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-10
d6fabf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
d6fabf
d6fabf
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-9
d6fabf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
d6fabf
d6fabf
* Sun Feb 08 2009 Adam Jackson <ajax@redhat.com> 1.0.2-8
d6fabf
- imake-1.0.2-find-pedantry.patch: Silence useless pedantry warning from
d6fabf
  find(1) when running cleanlinks. (#483126)
d6fabf
d6fabf
* Tue Jul 15 2008 Adam Jackson <ajax@redhat.com> 1.0.2-7
d6fabf
- Fix license tag.
d6fabf
d6fabf
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.2-6
d6fabf
- Autorebuild for GCC 4.3
d6fabf
d6fabf
* Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.0.2-5
d6fabf
- Rebuild for build id
d6fabf
d6fabf
* Mon Mar 26 2007 Adam Jackson <ajax@redhat.com> 1.0.2-4
d6fabf
- makedepend 1.0.1
d6fabf
d6fabf
* Tue Jul 18 2006 Than Ngo <than@redhat.com> 1.0.2-3
d6fabf
- cleanup patch files
d6fabf
- update source files
d6fabf
d6fabf
* Fri Jul 14 2006 Jesse Keating <jkeating@redhat.com> - 1.0.2-2
d6fabf
- rebuild
d6fabf
d6fabf
* Wed Jun 21 2006 Mike A. Harris <mharris@redhat.com> 1.0.2-1
d6fabf
- Update to imake-1.0.2, gccmakedep-1.0.2, xorg-cf-files-1.0.2
d6fabf
d6fabf
* Tue Apr 25 2006 Adam Jackson <ajackson@redhat.com> 1.0.1-4
d6fabf
- Fix ExtraXawReqs to reflect reality (libXp is unneeded)
d6fabf
d6fabf
* Mon Mar 06 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-3
d6fabf
- Updated xorg-cf-files-1.0.1-redhat.patch with fix for (#178177)
d6fabf
d6fabf
* Wed Mar 01 2006 Karsten Hopp <karsten@redhat.de> 1.0.1-2
d6fabf
- Buildrequires: xorg-x11-proto-devel
d6fabf
d6fabf
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.2
d6fabf
- bump again for double-long bug on ppc(64)
d6fabf
d6fabf
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.1
d6fabf
- rebuilt for new gcc4.1 snapshot and glibc changes
d6fabf
d6fabf
* Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-1
d6fabf
- Updated all packages to version 1.0.1 from X11R7.0
d6fabf
d6fabf
* Wed Dec 21 2005 Than Ngo <than@redhat.com> 1.0.0-4
d6fabf
- final fix for #173593
d6fabf
d6fabf
* Tue Dec 20 2005 Than Ngo <than@redhat.com> 1.0.0-3
d6fabf
- add correct XAppLoadDir #173593
d6fabf
- add more macros for fedora
d6fabf
d6fabf
* Mon Dec 19 2005 Than Ngo <than@redhat.com> 1.0.0-2
d6fabf
- add some macros to fix problem in building of manpages
d6fabf
d6fabf
* Sat Dec 17 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
d6fabf
- Updated all packages to version 1.0.0 from X11R7 RC4
d6fabf
- Added new lndir, gccmakedep tarballs.  (#173478)
d6fabf
- Changed manpage dirs from man1x to man1 to match upstream RC4 default.
d6fabf
- Removed all previous 'misc' patch, as we now pass --with-config-dir to
d6fabf
  configure to specify the location of the Imake config files.
d6fabf
- Renamed imake patch to xorg-cf-files-1.0.0-ProjectRoot.patch as it did not
d6fabf
  patch imake at all.  This should probably be changed to be a custom Red Hat
d6fabf
  host.def file that is added as a source line instead of randomly patching
d6fabf
  various files.
d6fabf
d6fabf
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> 0.99.2-5.1
d6fabf
- rebuilt
d6fabf
d6fabf
* Mon Nov 28 2005 Than Ngo <than@redhat.com> 0.99.2-5
d6fabf
- add correct ProjectRoot for modular X
d6fabf
d6fabf
* Wed Nov 16 2005 Than Ngo <than@redhat.com> 0.99.2-4 
d6fabf
- add missing host.conf
d6fabf
d6fabf
* Wed Nov 16 2005 Than Ngo <than@redhat.com> 0.99.2-3
d6fabf
- fix typo 
d6fabf
d6fabf
* Wed Nov 16 2005 Than Ngo <than@redhat.com> 0.99.2-2
d6fabf
- fix xmkmf to look config files in /usr/share/X11/config
d6fabf
  instead /usr/%%{_lib}/X11/config/
d6fabf
- add host.conf
d6fabf
d6fabf
* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
d6fabf
- Updated to imake-0.99.2, xorg-cf-files-0.99.2, makedepend-0.99.2 from
d6fabf
  X11R7 RC2.
d6fabf
d6fabf
* Thu Nov 10 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
d6fabf
- Initial build.