994f2c
Summary: imake source code configuration and build system
994f2c
Name: imake
994f2c
Version: 1.0.7
994f2c
Release: 11%{?dist}
994f2c
License: MIT
994f2c
Group: User Interface/X
994f2c
URL: http://www.x.org
994f2c
994f2c
Source0: https://www.x.org/pub/individual/util/imake-1.0.7.tar.bz2
994f2c
Source1: https://www.x.org/pub/individual/util/makedepend-1.0.4.tar.bz2
994f2c
Source2: https://www.x.org/pub/individual/util/gccmakedep-1.0.3.tar.bz2
994f2c
Source3: https://www.x.org/pub/individual/util/xorg-cf-files-1.0.6.tar.bz2
994f2c
Source4: https://www.x.org/pub/individual/util/lndir-1.0.3.tar.bz2
994f2c
# this has been merged post 1.0.6
994f2c
Patch2: xorg-cf-files-1.0.2-redhat.patch
994f2c
Patch11: imake-1.0.2-abort.patch
994f2c
994f2c
BuildRequires: pkgconfig
994f2c
BuildRequires: xorg-x11-util-macros
994f2c
BuildRequires: xorg-x11-proto-devel
994f2c
994f2c
Provides: ccmakedep cleanlinks gccmakedep lndir makedepend makeg
994f2c
Provides: mergelib mkdirhier mkhtmlindex revpath xmkmf
994f2c
994f2c
%description
994f2c
Imake is a deprecated source code configuration and build system which
994f2c
has traditionally been supplied by and used to build the X Window System
994f2c
in X11R6 and previous releases.  As of the X Window System X11R7 release,
994f2c
the X Window system has switched to using GNU autotools as the primary
994f2c
build system, and the Imake system is now deprecated, and should not be
994f2c
used by new software projects.  Software developers are encouraged to
994f2c
migrate software to the GNU autotools system.
994f2c
994f2c
%prep
994f2c
%setup -q -c %{name}-%{version} -a1 -a2 -a3 -a4
994f2c
%patch2 -p0 -b .redhat
994f2c
994f2c
# imake patches
994f2c
pushd %{name}-%{version}
994f2c
%patch11 -p1 -b .abort
994f2c
popd
994f2c
994f2c
%build
994f2c
# Build everything
994f2c
{
994f2c
   for pkg in imake makedepend gccmakedep lndir xorg-cf-files ; do
994f2c
      pushd $pkg-*
994f2c
      case $pkg in
994f2c
         imake|xorg-cf-files)
994f2c
            %configure --with-config-dir=%{_datadir}/X11/config
994f2c
            ;;
994f2c
         *)
994f2c
            %configure
994f2c
            ;;
994f2c
      esac
994f2c
      make
994f2c
      popd
994f2c
   done
994f2c
}
994f2c
994f2c
%install
994f2c
rm -rf $RPM_BUILD_ROOT
994f2c
994f2c
# Install everything
994f2c
{
994f2c
   for pkg in imake makedepend gccmakedep lndir xorg-cf-files ; do
994f2c
      pushd $pkg-*
994f2c
      make install DESTDIR=$RPM_BUILD_ROOT
994f2c
      popd
994f2c
   done
994f2c
}
994f2c
994f2c
%files
994f2c
%doc
994f2c
%{_bindir}/ccmakedep
994f2c
%{_bindir}/cleanlinks
994f2c
%{_bindir}/gccmakedep
994f2c
%{_bindir}/imake
994f2c
%{_bindir}/lndir
994f2c
%{_bindir}/makedepend
994f2c
%{_bindir}/makeg
994f2c
%{_bindir}/mergelib
994f2c
%{_bindir}/mkdirhier
994f2c
%{_bindir}/mkhtmlindex
994f2c
%{_bindir}/revpath
994f2c
%{_bindir}/xmkmf
994f2c
%dir %{_datadir}/X11/config
994f2c
%{_datadir}/X11/config/*.cf
994f2c
%{_datadir}/X11/config/*.def
994f2c
%{_datadir}/X11/config/*.rules
994f2c
%{_datadir}/X11/config/*.tmpl
994f2c
#%%dir %%{_mandir}/man1x
994f2c
%{_mandir}/man1/ccmakedep.1*
994f2c
%{_mandir}/man1/cleanlinks.1*
994f2c
%{_mandir}/man1/gccmakedep.1*
994f2c
%{_mandir}/man1/imake.1*
994f2c
%{_mandir}/man1/lndir.1*
994f2c
%{_mandir}/man1/makedepend.1*
994f2c
%{_mandir}/man1/makeg.1*
994f2c
%{_mandir}/man1/mergelib.1*
994f2c
%{_mandir}/man1/mkdirhier.1*
994f2c
%{_mandir}/man1/mkhtmlindex.1*
994f2c
%{_mandir}/man1/revpath.1*
994f2c
%{_mandir}/man1/xmkmf.1*
994f2c
994f2c
%changelog
994f2c
* Thu Jul 05 2018 Adam Jackson <ajax@redhat.com> - 1.0.7-11
994f2c
- xorg-cf-files 1.0.6
994f2c
- Drop pointless %%defattr
994f2c
- HTTPS URLs
994f2c
994f2c
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.7-10
994f2c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
994f2c
994f2c
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.7-9
994f2c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
994f2c
994f2c
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.7-8
994f2c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
994f2c
994f2c
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.7-7
994f2c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
994f2c
994f2c
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.7-6
994f2c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
994f2c
994f2c
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.7-5
994f2c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
994f2c
994f2c
* Wed Oct 01 2014 Adam Jackson <ajax@redhat.com> 1.0.7-4
994f2c
- imake 1.0.7
994f2c
- gccmakedep 1.0.3
994f2c
994f2c
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.6-4
994f2c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
994f2c
994f2c
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.6-3
994f2c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
994f2c
994f2c
* Mon Mar 17 2014 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 1.0.6-2
994f2c
- Backport AArch64 support
994f2c
994f2c
* Mon Jan 20 2014 Adam Jackson <ajax@redhat.com> 1.0.6-1
994f2c
- imake 1.0.6
994f2c
994f2c
* Mon Dec 09 2013 Adam Jackson <ajax@redhat.com> 1.0.5-8
994f2c
- Fix imake build with -Werror=format-security (#1037129)
994f2c
994f2c
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-8
994f2c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
994f2c
994f2c
* Thu Feb 07 2013 Jon Ciesla <limburgher@gmail.com> 1.0.5-7
994f2c
- Merge review fixes, BZ 225898.
994f2c
994f2c
* Thu Jan 03 2013 Adam Jackson <ajax@redhat.com> 1.0.5-6
994f2c
- Drop unused patches
994f2c
994f2c
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-5
994f2c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
994f2c
994f2c
* Thu Mar 08 2012 Adam Jackson <ajax@redhat.com> 1.0.5-4
994f2c
- imake 1.0.5
994f2c
- lndir 1.0.3
994f2c
- makedepend 1.0.4