-
Notifications
You must be signed in to change notification settings - Fork 0
/
autoconf.spec
81 lines (71 loc) · 2.33 KB
/
autoconf.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
Name: autoconf
Version: 2.67
License: GPL
Group: Development/Tools
Summary: GNU autoconf
Release: 1
URL: http://ftp.gnu.org/gnu/autoconf/
Source: http://ftp.gnu.org/gnu/autoconf/autoconf-%{version}.tar.xz
BuildRoot: /var/tmp/%{name}-root
Requires: m4
Conflicts: vpkg-SFWaconf
%description
GNU autoconf generates shell scripts used to configure programs. Install
this package if you are writing Unix software for several platforms and
you want GNU-style configure scripts.
%prep
%setup -q
%build
%configure
gmake
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr/local
gmake install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT/usr/local/share/info/dir
#I don't really think we need this emacs/lisp stuff
rm -rf %{buildroot}/usr/local/share/emacs/site-lisp
%clean
rm -rf $RPM_BUILD_ROOT
%post
if [ -x /usr/local/bin/install-info ] ; then
/usr/local/bin/install-info --info-dir=/usr/local/info \
/usr/local/share/info/autoconf.info
fi
if [ -x /usr/local/bin/install-info ] ; then
/usr/local/bin/install-info --info-dir=/usr/local/info \
/usr/local/share/info/standards.info
fi
%preun
if [ -x /usr/local/bin/install-info ] ; then
/usr/local/bin/install-info --delete --info-dir=/usr/local/info \
/usr/local/share/info/autoconf.info
fi
if [ -x /usr/local/bin/install-info ] ; then
/usr/local/bin/install-info --delete --info-dir=/usr/local/info \
/usr/local/share/info/standards.info
fi
%files
%defattr(-,root,root)
%doc COPYING
/usr/local/bin/*
/usr/local/share/autoconf/*
/usr/local/share/info/*
/usr/local/share/man/man1/*
#/usr/local/share/emacs/site-lisp/*
%changelog
* Thu Aug 05 2010 Orcan Ogetbil <[email protected] - 2.67-1
- latest version
* Wed Sep 23 2009 Dan Gopstein <[email protected]> - 2.64-1
- bumped to latest version, updated spec file syntax
* Tue Apr 15 2008 David Diffenbaugh <[email protected]> - 2.62-3
- changed info-dir to /usr/local/info
* Thu Apr 10 2008 David Diffenbaugh <[email protected]> - 2.62-2
- fixed info path
* Thu Apr 10 2008 David Diffenbaugh <[email protected]> - 2.62-2
- bumped to latest version
* Wed Sep 12 2007 Eric Rivas <[email protected]> - 2.61-2
- Compiler with Sun Studio.
- Remove annoying file.
* Tue Aug 21 2007 Naveen Gavini <[email protected]> - 2.61-1
- Updated to 2.61-1