head 1.10;
access;
symbols
OPENPKG_E1_MP:1.2
OPENPKG_E1_MP_HEAD:1.2;
locks; strict;
comment @-- @;
1.10
date 2009.12.02.09.08.09; author rse; state Exp;
branches;
next 1.9;
commitid CEeKRBHGdroznMdu;
1.9
date 2009.04.18.13.08.39; author rse; state Exp;
branches;
next 1.8;
commitid 4pHXU27WTIGCZuKt;
1.8
date 2008.12.10.08.46.42; author rse; state Exp;
branches;
next 1.7;
commitid QHm1kQGDP6OFJTtt;
1.7
date 2008.08.29.17.05.26; author rse; state Exp;
branches;
next 1.6;
commitid xB5wUwitJvi2OHgt;
1.6
date 2008.05.30.06.37.49; author rse; state Exp;
branches;
next 1.5;
commitid fApIblWKeuE4gX4t;
1.5
date 2008.01.01.14.50.48; author rse; state Exp;
branches;
next 1.4;
commitid B8esaHJHoduuKILs;
1.4
date 2007.11.21.16.11.25; author cs; state Exp;
branches;
next 1.3;
commitid SneXvBSskTdvzsGs;
1.3
date 2007.06.08.16.58.11; author rse; state Exp;
branches;
next 1.2;
commitid RVyeiQJPbHVma8ls;
1.2
date 2007.01.01.17.36.35; author rse; state Exp;
branches;
next 1.1;
commitid BicZD6VUl7GuqP0s;
1.1
date 2006.12.07.08.05.43; author rse; state Exp;
branches;
next ;
commitid 7Tc4bliROTho6zXr;
desc
@@
1.10
log
@upgrading package: ares 1.6.0 -> 1.7.0
@
text
@##
## ares.spec -- OpenPKG RPM Package Specification
## Copyright (c) 2000-2009 OpenPKG Foundation e.V.
##
## Permission to use, copy, modify, and distribute this software for
## any purpose with or without fee is hereby granted, provided that
## the above copyright notice and this permission notice appear in all
## copies.
##
## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
## SUCH DAMAGE.
##
# package information
Name: ares
Summary: Asynchronous DNS Resolver Library
URL: http://c-ares.haxx.se/
Vendor: Greg Hudson, Daniel Stenberg
Packager: OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class: EVAL
Group: DNS
License: MIT
Version: 1.7.0
Release: 20091202
# list of sources
Source0: http://c-ares.haxx.se/c-ares-%{version}.tar.gz
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20040130
PreReq: OpenPKG, openpkg >= 20040130
AutoReq: no
AutoReqProv: no
%description
ARES (Asynchronous Resolver) is a C library that performs DNS
requests and name resolves asynchronously. This package is based on
c-ares, a fork and enhanced version of the original ARES library.
%track
prog ares = {
version = %{version}
url = http://c-ares.haxx.se/
regex = c-ares-(__VER__)\.tar\.gz
}
%prep
%setup -q -n c-ares-%{version}
%build
CC="%{l_cc}" \
CFLAGS="%{l_cflags -O}" \
CPPFLAGS="%{l_cppflags}" \
LDFLAGS="%{l_ldflags}" \
./configure \
--prefix=%{l_prefix} \
--mandir=%{l_prefix}/man \
--disable-shared
%{l_make} %{l_mflags -O}
%install
rm -rf $RPM_BUILD_ROOT
%{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
ls -l $RPM_BUILD_ROOT%{l_prefix}/lib/
( cd $RPM_BUILD_ROOT%{l_prefix}/lib
%{l_shtool} mkln libcares.a libares.a
%{l_shtool} mkln libcares.la libares.la
%{l_shtool} subst -e 's;cares;ares;g' libares.la
) || exit $?
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
%files -f files
%clean
rm -rf $RPM_BUILD_ROOT
@
1.9
log
@bump years in copyright messages
@
text
@d34 2
a35 2
Version: 1.6.0
Release: 20081210
@
1.8
log
@upgrading package: ares 1.5.3 -> 1.6.0
@
text
@d3 1
a3 1
## Copyright (c) 2000-2008 OpenPKG Foundation e.V.
@
1.7
log
@upgrading package: ares 1.5.2 -> 1.5.3
@
text
@d27 1
a27 1
URL: http://daniel.haxx.se/projects/c-ares/
d34 2
a35 2
Version: 1.5.3
Release: 20080829
d38 1
a38 1
Source0: http://daniel.haxx.se/projects/c-ares/c-ares-%{version}.tar.gz
d56 1
a56 1
url = http://daniel.haxx.se/projects/c-ares/
@
1.6
log
@upgrading package: ares 1.5.1 -> 1.5.2
@
text
@d34 2
a35 2
Version: 1.5.2
Release: 20080530
@
1.5
log
@Update package specifications according to OpenPKG year 2008 world order:
http://www.mail-archive.com/openpkg-announce@@openpkg.org/msg00221.html
@
text
@d34 2
a35 2
Version: 1.5.1
Release: 20080101
@
1.4
log
@upgrading package: ares 1.4.0 -> 1.5.1
@
text
@d3 1
a3 2
## Copyright (c) 2000-2007 OpenPKG Foundation e.V.
## Copyright (c) 2000-2007 Ralf S. Engelschall
d35 1
a35 1
Release: 20071121
@
1.3
log
@upgrading package: ares 1.3.2 -> 1.4.0
@
text
@d35 2
a36 2
Version: 1.4.0
Release: 20070608
@
1.2
log
@Welcome Year 2007!
@
text
@d35 2
a36 2
Version: 1.3.2
Release: 20061207
@
1.1
log
@new package: ares 1.3.2 (Asynchronous DNS Resolver Library)
@
text
@d3 2
a4 2
## Copyright (c) 2000-2006 OpenPKG Foundation e.V.
## Copyright (c) 2000-2006 Ralf S. Engelschall
@