-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinterchange-doc.spec
88 lines (55 loc) · 1.73 KB
/
interchange-doc.spec
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
Summary: Interchange documentation
Name: interchange-doc
Version: 5.2.0
Release: 1
Vendor: Interchange Development Group
License: GPL
URL: http://www.icdevgroup.org/
Packager: Jon Jensen <[email protected]>
Source: http://www.icdevgroup.org/pub/interchange/%{name}-%{version}.tar.gz
Group: Applications/Internet
BuildRoot: %{_tmppath}/%{name}-%version
%define ic_doc_dir %{_docdir}/interchange-%version
%description
Interchange is a powerful web application server focusing on ecommerce.
This package contains complete Interchange documentation in several
common document formats.
%prep
%setup
rm -f %{name}.spec
%build
if test -z "$RPM_BUILD_ROOT" -o "$RPM_BUILD_ROOT" = "/"
then
echo "RPM_BUILD_ROOT has stupid value"
exit 1
fi
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT
# copy remaining files into build root
DOCDIR=$RPM_BUILD_ROOT%ic_doc_dir
mkdir -p $DOCDIR
tar cf - . | tar xf - -C $DOCDIR
%install
%pre
%files
%defattr(-, root, root)
%docdir %ic_doc_dir
%ic_doc_dir
%post
%preun
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
%changelog
* Wed May 05 2004 Jon Jensen <[email protected]>
- update for Interchange 5.2.0
* Mon Dec 15 2003 Jon Jensen <[email protected]>
- put manpages back since they're not in the base Interchange package anymore
- update for Interchange 5.0.1
* Mon Apr 29 2002 Jon Jensen <[email protected]>
- Delete unnecessary files in setup, not build phase.
- Build RPM for same arch as everything else, not noarch.
* Fri Jul 27 2001 Jon Jensen <[email protected]>
- Install into /usr{/share}/doc/interchange-x.x.x instead of interchange-doc.
No reason to have separate directories for the same kind of content.
* Thu Jul 26 2001 Jon Jensen <[email protected]>
- Initial interchange-doc package.