11789
|
1 |
#
|
|
2 |
# spec file for package SUNWlibsoup
|
|
3 |
#
|
|
4 |
# includes module(s): libsoup
|
|
5 |
#
|
|
6 |
# Copyright (c) 2004 Sun Microsystems, Inc.
|
|
7 |
# This file and all modifications and additions to the pristine
|
|
8 |
# package are under the same license as the package itself.
|
|
9 |
#
|
16434
|
10 |
%define owner wangke
|
11789
|
11 |
#
|
|
12 |
%include Solaris.inc
|
|
13 |
%use libsoup = libsoup.spec
|
|
14 |
|
|
15 |
Name: SUNWlibsoup
|
|
16 |
Summary: Libsoup is an HTTP client/server library for GNOME.
|
15790
|
17 |
Version: %{libsoup.version}
|
12958
|
18 |
Source: %{name}-manpages-0.1.tar.gz
|
11789
|
19 |
SUNW_Category: EVO25,%{default_category}
|
|
20 |
SUNW_BaseDir: %{_basedir}
|
11924
|
21 |
SUNW_Copyright: %{name}.copyright
|
11789
|
22 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
23 |
%include default-depend.inc
|
15650
|
24 |
Requires: SUNWglib2
|
11789
|
25 |
Requires: SUNWlibgcrypt
|
|
26 |
Requires: SUNWgnutls
|
|
27 |
Requires: SUNWlxml
|
|
28 |
Requires: SUNWzlib
|
|
29 |
Requires: SUNWlibms
|
15132
|
30 |
Requires: SUNWlibproxy
|
15986
|
31 |
Requires: SUNWsqlite3
|
15650
|
32 |
BuildRequires: SUNWglib2-devel
|
11789
|
33 |
BuildRequires: SUNWlibgcrypt-devel
|
|
34 |
BuildRequires: SUNWgnutls-devel
|
18516
|
35 |
BuildRequires: SUNWlibproxy-devel
|
|
36 |
BuildRequires: SUNWzlib
|
11789
|
37 |
|
|
38 |
%package devel
|
|
39 |
Summary: %{summary} - development files
|
|
40 |
SUNW_BaseDir: %{_basedir}
|
|
41 |
%include default-depend.inc
|
|
42 |
Requires: SUNWlibsoup
|
|
43 |
|
|
44 |
%prep
|
|
45 |
rm -rf %name-%version
|
|
46 |
mkdir -p %name-%version
|
|
47 |
%libsoup.prep -d %name-%version
|
12958
|
48 |
cd %{_builddir}/%name-%version
|
|
49 |
gzcat %SOURCE0 | tar xf -
|
11789
|
50 |
|
|
51 |
%build
|
15986
|
52 |
export LDFLAGS="%_ldflags"
|
11789
|
53 |
export CFLAGS="%optflags"
|
|
54 |
export RPM_OPT_FLAGS="$CFLAGS"
|
|
55 |
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal"
|
|
56 |
export PKG_CONFIG_PATH=%{_pkg_config_path}
|
|
57 |
%libsoup.build -d %name-%version
|
|
58 |
|
|
59 |
%install
|
|
60 |
%libsoup.install -d %name-%version
|
|
61 |
|
|
62 |
# Verbose deletion to show the dirs being targetted.
|
|
63 |
rm -r $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/libsoup-*
|
|
64 |
rmdir $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html
|
|
65 |
rmdir $RPM_BUILD_ROOT%{_datadir}/gtk-doc
|
|
66 |
rmdir $RPM_BUILD_ROOT%{_datadir}
|
|
67 |
|
|
68 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
|
|
69 |
|
12958
|
70 |
cd %{_builddir}/%name-%version/sun-manpages
|
|
71 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
72 |
|
11789
|
73 |
%clean
|
|
74 |
rm -rf $RPM_BUILD_ROOT
|
|
75 |
|
|
76 |
%files
|
|
77 |
%defattr (-, root, bin)
|
|
78 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
79 |
%{_libdir}/lib*.so*
|
12958
|
80 |
%dir %attr (0755, root, sys) %{_datadir}
|
13622
|
81 |
%doc -d libsoup-%{libsoup.version} README AUTHORS
|
15790
|
82 |
%doc(bzip2) -d libsoup-%{libsoup.version} COPYING NEWS
|
13622
|
83 |
%dir %attr (0755, root, other) %{_datadir}/doc
|
12958
|
84 |
%{_mandir}/*/*
|
11789
|
85 |
|
|
86 |
%files devel
|
|
87 |
%defattr (-, root, bin)
|
|
88 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
89 |
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
|
|
90 |
%{_libdir}/pkgconfig/*
|
|
91 |
%dir %attr (0755, root, bin) %{_includedir}
|
|
92 |
%{_includedir}/*
|
|
93 |
|
|
94 |
%changelog
|
18516
|
95 |
* Thu Dec 17 2009 - [email protected]
|
|
96 |
- Bump to 2.28.2
|
|
97 |
- Add SUNWzlib as BuildRequires.
|
|
98 |
* Thu Jul 02 2009 - [email protected]
|
15986
|
99 |
- Remove "-L%{_libdir} -R%{_libdir}" from LDFLAGS
|
|
100 |
- Add dependency on SUNWsqlite3
|
15790
|
101 |
* Thu May 21 2009 - [email protected]
|
|
102 |
- remove ChangeLog since the absence of this file in 2.26.2
|
15336
|
103 |
* Tue Mar 10 2009 - [email protected]
|
|
104 |
- change owner to Ke Wang.
|
15132
|
105 |
* Wed Feb 18 2009 - [email protected]
|
|
106 |
- Add dependency on libproxy
|
|
107 |
|
12958
|
108 |
* Wed Jul 30 2008 - [email protected]
|
|
109 |
- Add manpage.
|
|
110 |
|
11924
|
111 |
* Thu Mar 27 2008 - [email protected]
|
|
112 |
- Add SUNWlibsoup.copyright.
|
|
113 |
|
11805
|
114 |
* Thu Mar 06 2008 - [email protected]
|
|
115 |
- Remove unnecessary code left over from SUNWevolution-libs.spec.
|
|
116 |
|
11789
|
117 |
* Tue Mar 04 2008 - <[email protected]>
|
|
118 |
- Initial version created. Splited from SUNWevolution-libs.
|
15650
|
119 |
|