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

Contents of /rpms/tai64nunix/sme8/tai64nunix.spec

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


Revision 1.2 - (show annotations) (download)
Wed Apr 9 13:51:57 2008 UTC (16 years, 1 month ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -0 lines
Add Id to top of spec

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

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