/[smeserver]/rpms/tai64nunix/sme7/tai64nunix.spec
ViewVC logotype

Annotation of /rpms/tai64nunix/sme7/tai64nunix.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Tue Jun 12 17:45:47 2007 UTC (17 years, 3 months ago) by slords
Branch: MAIN
CVS Tags: tai64nunix-0_70-5_el4_sme
Import on branch sme7 of package tai64nunix-0.70-5.el4.sme.src.rpm

1 slords 1.1 #
2     # RPM spec file for Peter Samuel's tai64nunix package. based on Dan
3     # Bernstein's daemontools package.
4     #
5     # $Id: tai64nunix.spec,v 1.3 2004/09/27 17:33:40 charlieb Exp $
6     #
7     Summary: Converts tai64n timestamps to Unix epoch timestamps
8     %define name tai64nunix
9     Name: %{name}
10     %define version 0.70
11     %define release 5
12     Version: %{version}
13     Release: %{release}%{?dist}
14     License: Peter Samuel - based on code by Daniel J. Bernstein
15     Group: Networking/Daemons
16     Source: %{name}-%{version}.tar.gz
17     URL: http://cr.yp.to/daemontools.html
18     Patch0: %{name}-%{version}.patch.2001020600
19     BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
20     Provides: tai64nunix
21     AutoReqProv: no
22    
23     %description
24     The multilog program shipped with daemontools uses tai64n timestamps.
25     qmailanalog expects timestamps in Unix epoch format. tai64nunix
26     converts tai64n timestamps to Unix epoch timestamps.
27    
28     %changelog
29     * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
30     - Clean up spec so package can be built by koji/plague
31    
32     * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
33     - Update to new release naming. No functional changes.
34     - Make Packager generic
35    
36     * Mon Sep 27 2004 Charlie Brady <charlieb@e-smith.com>
37     - [0.70-04]
38     - Configure conf-cc to work around problem with later glibc.
39    
40     * Tue Feb 6 2001 Peter Samuel <peters@e-smith.com>
41     - [0.70-03]
42     - Now installs in its own root area prior to creating binary RPM.
43    
44     * Thu Aug 17 2000 Peter Samuel <peters@e-smith.com>
45     - [0.70-2]
46     - added patch to change default install location
47    
48     %prep
49     %setup
50    
51     # This patch allows files to be installed in a relative directory prior
52     # to creating the binary RPM. It does not change the installed files or
53     # their final installed locations.
54    
55     %patch0 -p1
56    
57     # Create the relative installation directory.
58    
59     mkdir -p ./root/usr
60    
61     %build
62     echo 'gcc -O2 --include /usr/include/errno.h' > conf-cc
63     make
64    
65     %install
66     make setup
67     make check
68     rm -rf $RPM_BUILD_ROOT
69     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
70    
71     %clean
72     rm -rf $RPM_BUILD_ROOT
73    
74     %files
75     %attr(755,root,root) /usr/local/bin/tai64nunix

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed