blob: 777289c5a83df3ac3c8a5d8e679d32e3a127bfbe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
|
#specfile originally created for Fedora
Name: imake
Version: 1.0.2
Release: 7.1
License: MIT/X11
Summary: Imake source code configuration and build system
Url: http://www.x.org
Group: User Interface/X
Source0: ftp://ftp.x.org/pub/individual/util/imake-1.0.2.tar.bz2
Source1: ftp://ftp.x.org/pub/individual/util/makedepend-1.0.2.tar.bz2
Source2: ftp://ftp.x.org/pub/individual/util/gccmakedep-1.0.2.tar.bz2
Source3: ftp://ftp.x.org/pub/individual/util/xorg-cf-files-1.0.3.tar.bz2
Source4: ftp://ftp.x.org/pub/individual/util/lndir-1.0.1.tar.bz2
Source1001: packaging/imake.manifest
# Gbp-Ignore-Patches: 2 3 10
Patch2: xorg-cf-files-1.0.2-redhat.patch
Patch3: xorg-cf-files-1.0.2-xprint.patch
Patch10: imake-1.0.2-find-pedantry.patch
BuildRequires: pkgconfig
BuildRequires: pkgconfig(xorg-macros)
BuildRequires: pkgconfig(xproto)
Provides: ccmakedep
Provides: cleanlinks
Provides: gccmakedep
Provides: lndir
Provides: makedepend
Provides: makeg
Provides: mergelib
Provides: mkdirhier
Provides: mkhtmlindex
Provides: revpath
Provides: xmkmf
%description
Imake is a deprecated source code configuration and build system which
has traditionally been supplied by and used to build the X Window System
in X11R6 and previous releases. As of the X Window System X11R7 release,
the X Window system has switched to using GNU autotools as the primary
build system, and the Imake system is now deprecated, and should not be
used by new software projects. Software developers are encouraged to
migrate software to the GNU autotools system.
%prep
%setup -q -T -c -a0 -a1 -a2 -a3 -a4
%patch2 -p0 -b .redhat
%patch3 -p0 -b .xprint
%patch10 -p0 -b .findpedantry
%build
cp %{SOURCE1001} .
# Build everything
{
for pkg in imake makedepend gccmakedep lndir xorg-cf-files ; do
pushd $pkg-*
case $pkg in
imake|xorg-cf-files)
%configure --with-config-dir=%{_datadir}/X11/config
;;
*)
%configure
;;
esac
make
popd
done
}
%install
# Install everything
{
for pkg in imake makedepend gccmakedep lndir xorg-cf-files ; do
pushd $pkg-*
case $pkg in
*)
%make_install
;;
esac
popd
done
}
%files
%manifest imake.manifest
%defattr(-,root,root,-)
%doc
%{_bindir}/ccmakedep
%{_bindir}/cleanlinks
%{_bindir}/gccmakedep
%{_bindir}/imake
%{_bindir}/lndir
%{_bindir}/makedepend
%{_bindir}/makeg
%{_bindir}/mergelib
%{_bindir}/mkdirhier
%{_bindir}/mkhtmlindex
%{_bindir}/revpath
%{_bindir}/xmkmf
%dir %{_datadir}/X11
%dir %{_datadir}/X11/config
%{_datadir}/X11/config/*.cf
%{_datadir}/X11/config/*.def
%{_datadir}/X11/config/*.rules
%{_datadir}/X11/config/*.tmpl
#%dir %{_mandir}/man1x
%doc %{_mandir}/man1/ccmakedep.1x*
%doc %{_mandir}/man1/cleanlinks.1x*
%doc %{_mandir}/man1/gccmakedep.1x*
%doc %{_mandir}/man1/imake.1x*
%doc %{_mandir}/man1/lndir.1x*
%doc %{_mandir}/man1/makedepend.1*
%doc %{_mandir}/man1/makeg.1x*
%doc %{_mandir}/man1/mergelib.1x*
%doc %{_mandir}/man1/mkdirhier.1x*
%doc %{_mandir}/man1/mkhtmlindex.1x*
%doc %{_mandir}/man1/revpath.1x*
%doc %{_mandir}/man1/xmkmf.1x*
|