periodic rebuild (manual edit: fix info page installation) [release 1.7-3mamba;Fri Sep 06 2013]
This commit is contained in:
parent
42b91ed5bf
commit
8fe6314cfe
@ -1,2 +1,5 @@
|
||||
# time
|
||||
|
||||
The `time' command runs another program, then displays information about the resources used by that program, collected by the system while the program was running.
|
||||
You can select which information is reported and the format in which it is shown, or have `time' save the information in a file instead of displaying it on the screen.
|
||||
|
||||
|
37
time-1.7-destdir.patch
Normal file
37
time-1.7-destdir.patch
Normal file
@ -0,0 +1,37 @@
|
||||
--- time-1.7/Makefile.in.destdir 2007-02-27 12:13:10.000000000 +0100
|
||||
+++ time-1.7/Makefile.in 2007-02-27 12:18:07.000000000 +0100
|
||||
@@ -114,10 +114,10 @@
|
||||
maintainer-clean-binPROGRAMS:
|
||||
|
||||
install-binPROGRAMS: $(bin_PROGRAMS)
|
||||
- $(mkinstalldirs) $(bindir)
|
||||
+ $(mkinstalldirs) $(DESTDIR)/$(bindir)
|
||||
list="$(bin_PROGRAMS)"; for p in $$list; do \
|
||||
if test -f $$p; then \
|
||||
- $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
|
||||
+ $(INSTALL_PROGRAM) $$p $(DESTDIR)/$(bindir)/`echo $$p|sed '$(transform)'`; \
|
||||
else :; fi; \
|
||||
done
|
||||
|
||||
@@ -176,10 +176,10 @@
|
||||
TEXINPUTS=$(srcdir):$$TEXINPUTS $(TEXI2DVI) $<
|
||||
|
||||
install-info: $(INFO_DEPS)
|
||||
- $(mkinstalldirs) $(infodir)
|
||||
+ $(mkinstalldirs) $(DESTDIR)/$(infodir)
|
||||
for file in $(INFO_DEPS); do \
|
||||
for ifile in `cd $(srcdir) && echo $$file*`; do \
|
||||
- $(INSTALL_DATA) $(srcdir)/$$ifile $(infodir)/$$ifile; \
|
||||
+ $(INSTALL_DATA) $(srcdir)/$$ifile $(DESTDIR)/$(infodir)/$$ifile; \
|
||||
done; \
|
||||
done
|
||||
|
||||
@@ -279,7 +279,7 @@
|
||||
install-strip:
|
||||
$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install
|
||||
installdirs:
|
||||
- $(mkinstalldirs) $(bindir) $(infodir)
|
||||
+ $(mkinstalldirs) $(DESTDIR)/$(bindir) $(DESTDIR)/$(infodir)
|
||||
|
||||
|
||||
mostlyclean-generic:
|
64
time.spec
Normal file
64
time.spec
Normal file
@ -0,0 +1,64 @@
|
||||
Name: time
|
||||
Version: 1.7
|
||||
Release: 3mamba
|
||||
Summary: A GNU utility for monitoring a program's use of system resources
|
||||
Group: System/Tools
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Aleph0 <aleph0@openmamba.org>
|
||||
URL: http://www.gnu.org/software/time/time.html
|
||||
Source: ftp://ftp.gnu.org/gnu/time/time-%{version}.tar.gz
|
||||
Patch: %{name}-1.7-destdir.patch
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: bash
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: texinfo
|
||||
## AUTOBUILDREQ-END
|
||||
Requires(post):%{__install_info}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
The `time' command runs another program, then displays information about the resources used by that program, collected by the system while the program was running.
|
||||
You can select which information is reported and the format in which it is shown, or have `time' save the information in a file instead of displaying it on the screen.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch -p1
|
||||
|
||||
%build
|
||||
%configure
|
||||
%make
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%post
|
||||
%install_info %{name}.info
|
||||
:
|
||||
|
||||
%preun
|
||||
%uninnstall_info %{name}.info
|
||||
:
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/time
|
||||
%{_infodir}/time.info.*
|
||||
%doc AUTHORS COPYING
|
||||
#ChangeLog NEWS README
|
||||
|
||||
%changelog
|
||||
* Fri Sep 06 2013 Automatic Build System <autodist@mambasoft.it> 1.7-3mamba
|
||||
- periodic rebuild (manual edit: fix info page installation)
|
||||
|
||||
* Tue Dec 04 2007 Aleph0 <aleph0@openmamba.org> 1.7-2mamba
|
||||
- added missing build requirements
|
||||
- new package maintainer
|
||||
|
||||
* Fri Mar 23 2007 Aleph0 <aleph0@openmamba.org> 1.7-1qilnx
|
||||
- package created by autospec
|
Loading…
Reference in New Issue
Block a user