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