libghttp.spec
author dcarbery
Mon, 23 Oct 2006 12:46:17 +0000
branchgnome-2-14
changeset 19195 352a4716f1f3
parent 6018 4d3b80b8e43b
child 8465 a5ba59d8de94
permissions -rw-r--r--
2006-10-23 Damien Carbery <[email protected]> * docs/ssa/*: Remove these, as they're now up on the JDS project pages under 'Tasks/Single Sys Admin'.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
570
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
     1
#
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
     2
# spec file for package libghttp
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
     3
#
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
     4
# Copyright (c) 2005 Sun Microsystems, Inc.
570
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
     5
# This file and all modifications and additions to the pristine
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
     6
# package are under the same license as the package itself.
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
     7
#
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
     8
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
     9
Name:         libghttp
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    10
License:      LGPL
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    11
Group:        System/Libraries
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    12
Version:      1.0.9
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    13
Release:      52
570
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    14
Provides:     libghttp 
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    15
Distribution: Java Desktop System
575
2b5c59a05848 2003-07-15 Mark McLoughlin <[email protected]>
markmc
parents: 570
diff changeset
    16
Vendor:	      Sun Microsystems, Inc.
570
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    17
Summary:      A GNOME library for HTTP access
6018
4d3b80b8e43b *.spec: bump version or fix Source URL or both.
dc144907
parents: 5949
diff changeset
    18
Source:       http://ftp.gnome.org/pub/GNOME/sources/%{name}/1.0/%{name}-%{version}.tar.gz
570
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    19
URL:          http://www.gnome.org/
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    20
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    21
Docdir:       %{_defaultdocdir}
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    22
Autoreqprov:  on
1080
497903a49ccb 2003-08-19 Glynn Foster <[email protected]>
gman
parents: 1058
diff changeset
    23
Prereq:       /sbin/ldconfig
570
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    24
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    25
%description
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    26
The gHTTP library is fully compliant with HTTP 1.1 as defined in
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    27
the draft 5 update of RFC 2068.
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    28
The gHTTP library is designed to be simple and easy to use while still
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    29
allowing you to get your feet wet at the protocol layer if you have to.
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    30
It is also designed with graphical, non-threaded applications in mind
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    31
(e.g., GNOME applications).  You should be able to use the library in
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    32
your application and never block waiting to send or recieve data to a
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    33
remote server.  The main thread of execution should always be available
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    34
to refresh its display.
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    35
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    36
%package devel
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    37
Summary:      For libghttp development
1080
497903a49ccb 2003-08-19 Glynn Foster <[email protected]>
gman
parents: 1058
diff changeset
    38
Group:        Development/Libraries
570
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    39
Autoreqprov:  on
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    40
Requires:     libghttp
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    41
Provides:     libghttp-devel
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    42
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    43
%description devel
1080
497903a49ccb 2003-08-19 Glynn Foster <[email protected]>
gman
parents: 1058
diff changeset
    44
The gHTTP library is fully compliant with HTTP 1.1 as defined in
497903a49ccb 2003-08-19 Glynn Foster <[email protected]>
gman
parents: 1058
diff changeset
    45
the draft 5 update of RFC 2068.
497903a49ccb 2003-08-19 Glynn Foster <[email protected]>
gman
parents: 1058
diff changeset
    46
The gHTTP library is designed to be simple and easy to use while still
497903a49ccb 2003-08-19 Glynn Foster <[email protected]>
gman
parents: 1058
diff changeset
    47
allowing you to get your feet wet at the protocol layer if you have to.
497903a49ccb 2003-08-19 Glynn Foster <[email protected]>
gman
parents: 1058
diff changeset
    48
It is also designed with graphical, non-threaded applications in mind
497903a49ccb 2003-08-19 Glynn Foster <[email protected]>
gman
parents: 1058
diff changeset
    49
(e.g., GNOME applications).  You should be able to use the library in
497903a49ccb 2003-08-19 Glynn Foster <[email protected]>
gman
parents: 1058
diff changeset
    50
your application and never block waiting to send or recieve data to a
497903a49ccb 2003-08-19 Glynn Foster <[email protected]>
gman
parents: 1058
diff changeset
    51
remote server.  The main thread of execution should always be available
497903a49ccb 2003-08-19 Glynn Foster <[email protected]>
gman
parents: 1058
diff changeset
    52
to refresh its display.
570
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    53
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    54
%prep
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    55
%setup -q
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    56
4455
aea26bce3124 2004-11-05 Takao Fujiwara <[email protected]>
fujiwara
parents: 4409
diff changeset
    57
570
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    58
%build
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    59
%ifos linux
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    60
if [ -x /usr/bin/getconf ]; then
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    61
  CPUS=`getconf _NPROCESSORS_ONLN`
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    62
fi
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    63
%else
3846
9ab79af72b15 2004-09-05 Laszlo Peter <[email protected]>
laca
parents: 3679
diff changeset
    64
  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    65
%endif
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    66
if test "x$CPUS" = "x" -o $CPUS = 0; then
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    67
  CPUS=1
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    68
fi
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    69
570
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    70
CFLAGS="$RPM_OPT_FLAGS" \
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    71
    ./configure \
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    72
	--prefix=%{_prefix} \
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    73
	--libdir=%{_libdir}
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    74
make -j $CPUS
570
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    75
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    76
%install
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    77
make install DESTDIR=$RPM_BUILD_ROOT
3628
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3519
diff changeset
    78
#Clean up unpackaged files
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3519
diff changeset
    79
rm $RPM_BUILD_ROOT%{_libdir}/*.a
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3519
diff changeset
    80
rm $RPM_BUILD_ROOT%{_libdir}/*.la
570
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    81
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    82
%clean
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    83
rm -rf $RPM_BUILD_ROOT
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    84
1080
497903a49ccb 2003-08-19 Glynn Foster <[email protected]>
gman
parents: 1058
diff changeset
    85
%post
497903a49ccb 2003-08-19 Glynn Foster <[email protected]>
gman
parents: 1058
diff changeset
    86
/sbin/ldconfig
497903a49ccb 2003-08-19 Glynn Foster <[email protected]>
gman
parents: 1058
diff changeset
    87
497903a49ccb 2003-08-19 Glynn Foster <[email protected]>
gman
parents: 1058
diff changeset
    88
%postun
497903a49ccb 2003-08-19 Glynn Foster <[email protected]>
gman
parents: 1058
diff changeset
    89
/sbin/ldconfig
497903a49ccb 2003-08-19 Glynn Foster <[email protected]>
gman
parents: 1058
diff changeset
    90
570
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    91
%files
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    92
%defattr(-, root, root)
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    93
%doc AUTHORS COPYING COPYING.LIB NEWS README TODO doc/ghttp.html
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    94
%{_libdir}/lib*.so.*
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    95
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    96
%files devel
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    97
%defattr(-, root, root)
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    98
%{_libdir}/lib*.so
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    99
%{_libdir}/ghttpConf.sh
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
   100
%{_includedir}/*
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
   101
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
   102
%changelog
3628
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3519
diff changeset
   103
* Wed Jul 07 2004 - [email protected]
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3519
diff changeset
   104
- port to rpm4
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3519
diff changeset
   105
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
   106
* Wed Jul 07 2004 - [email protected]
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
   107
- added "-j $CPUS" to make to speed up builds
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
   108
1756
49eef3175c4f Updated to Cinnabar
mattk
parents: 1609
diff changeset
   109
* Wed Feb 18 2004 - <[email protected]>
49eef3175c4f Updated to Cinnabar
mattk
parents: 1609
diff changeset
   110
- Updated Distribution to Cinnabar
49eef3175c4f Updated to Cinnabar
mattk
parents: 1609
diff changeset
   111
1058
219c9b3fae9f 2003-08-14 Laszlo Peter <[email protected]>
laca
parents: 1025
diff changeset
   112
* Thu Aug 14 2003 - <[email protected]>
219c9b3fae9f 2003-08-14 Laszlo Peter <[email protected]>
laca
parents: 1025
diff changeset
   113
- remove *.a, *.la
219c9b3fae9f 2003-08-14 Laszlo Peter <[email protected]>
laca
parents: 1025
diff changeset
   114
570
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
   115
* Fri Jul 11 2003 - <[email protected]>
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
   116
- Initial spec file