19693
|
1 |
#
|
|
2 |
# spec file for package howl
|
|
3 |
#
|
|
4 |
# Copyright (c) 2005 Sun Microsystems, Inc.
|
|
5 |
# This file and all modifications and additions to the pristine
|
|
6 |
# package are under the same license as the package itself.
|
|
7 |
#
|
19263
|
8 |
Name: howl
|
|
9 |
License: Other
|
|
10 |
Group: System/Libraries
|
19415
|
11 |
Version: 1.0.0
|
|
12 |
Release: 1
|
19693
|
13 |
Distribution: Java Desktop System
|
19263
|
14 |
Vendor: Sun Microsystems, Inc.
|
|
15 |
Summary: Cross platform implementation of Zeroconf networking
|
|
16 |
Source: http://www.porchdogsoft.com/download/%{name}-%{version}.tar.gz
|
|
17 |
URL: http://www.porchdogsoft.com/products/howl/
|
|
18 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
19 |
Docdir: %{_defaultdocdir}/doc
|
|
20 |
Autoreqprov: on
|
|
21 |
Prereq: /sbin/ldconfig
|
|
22 |
|
|
23 |
%description
|
|
24 |
Howl is a cross-platform implementation of Zeroconf networking. Zeroconf brings
|
|
25 |
a new ease of use to IP networking.
|
|
26 |
|
|
27 |
%package devel
|
|
28 |
Summary: Cross platform implementation of Zeroconf networking
|
|
29 |
Group: Development/Libraries
|
|
30 |
Requires: %{name} = %{version}
|
|
31 |
|
|
32 |
%description devel
|
|
33 |
Howl is a cross-platform implementation of Zeroconf networking. Zeroconf brings
|
|
34 |
a new ease of use to IP networking.
|
|
35 |
|
|
36 |
%prep
|
|
37 |
%setup -q
|
|
38 |
|
|
39 |
%build
|
|
40 |
%ifos linux
|
|
41 |
if [ -x /usr/bin/getconf ]; then
|
|
42 |
CPUS=`getconf _NPROCESSORS_ONLN`
|
|
43 |
fi
|
|
44 |
%else
|
|
45 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
|
|
46 |
%endif
|
|
47 |
if test "x$CPUS" = "x" -o $CPUS = 0; then
|
|
48 |
CPUS=1
|
|
49 |
fi
|
|
50 |
CFLAGS="$RPM_OPT_FLAGS" \
|
|
51 |
./configure --prefix=%{_prefix} \
|
|
52 |
--sysconfdir=%{_sysconfdir} \
|
|
53 |
--libexecdir=%{_libexecdir} \
|
|
54 |
--mandir=%{_mandir} \
|
|
55 |
--enable-gtk-doc
|
|
56 |
make -j $CPUS
|
|
57 |
|
|
58 |
%install
|
|
59 |
make DESTDIR=$RPM_BUILD_ROOT install
|
|
60 |
rm $RPM_BUILD_ROOT%{_libdir}/libhowl*.a
|
|
61 |
rm $RPM_BUILD_ROOT%{_libdir}/libhowl*.la
|
|
62 |
rm $RPM_BUILD_ROOT%{_libdir}/libmDNSResponder*.a
|
|
63 |
rm $RPM_BUILD_ROOT%{_libdir}/libmDNSResponder*.la
|
|
64 |
|
|
65 |
%post
|
|
66 |
/sbin/ldconfig
|
|
67 |
|
|
68 |
%postun
|
|
69 |
/sbin/ldconfig
|
|
70 |
|
|
71 |
%clean
|
|
72 |
rm -rf $RPM_BUILD_ROOT
|
|
73 |
|
|
74 |
%files
|
|
75 |
%defattr(-, root, root)
|
|
76 |
%{_bindir}/*
|
|
77 |
%{_libdir}/libhowl.so.*
|
|
78 |
/usr/lib/libmDNSResponder.so.*
|
|
79 |
|
|
80 |
%files devel
|
|
81 |
%defattr(-, root, root)
|
|
82 |
%{_includedir}/howl/*
|
|
83 |
%{_libdir}/pkgconfig/*
|
19309
|
84 |
%{_libdir}/*.so
|
19263
|
85 |
%{_datadir}/howl/*
|
|
86 |
%{_datadir}/man/*
|
|
87 |
|
|
88 |
%changelog
|
19415
|
89 |
* Wed Jun 15 2005 - [email protected]
|
|
90 |
- Bump to 1.0.0
|
|
91 |
|
19309
|
92 |
* Tue May 17 2005 - [email protected]
|
|
93 |
- add %{_libdir}/*.so to devel
|
19339
|
94 |
|
19263
|
95 |
* Thu May 12 2005 - [email protected]
|
|
96 |
- Initial spec file for howl.
|