9397
|
1 |
#
|
|
2 |
# spec file for package SUNWlibcroco
|
|
3 |
#
|
|
4 |
# includes module(s): libcroco
|
|
5 |
#
|
11937
|
6 |
# Copyright (c) 2008 Sun Microsystems, Inc.
|
9397
|
7 |
# This file and all modifications and additions to the pristine
|
|
8 |
# package are under the same license as the package itself.
|
|
9 |
#
|
|
10 |
# Owner: yippi
|
|
11 |
#
|
|
12 |
%include Solaris.inc
|
|
13 |
|
|
14 |
%use libcroco = libcroco.spec
|
|
15 |
|
|
16 |
Name: SUNWlibcroco
|
|
17 |
Summary: Cascading Style Sheet (CSS) parsing and manipulation toolkit
|
|
18 |
Version: %{libcroco.version}
|
|
19 |
SUNW_BaseDir: %{_basedir}
|
11937
|
20 |
SUNW_Copyright: %{name}.copyright
|
9397
|
21 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
22 |
|
|
23 |
%include default-depend.inc
|
|
24 |
Requires: SUNWgnome-base-libs
|
|
25 |
Requires: SUNWlxml
|
|
26 |
BuildRequires: SUNWgnome-base-libs
|
|
27 |
|
|
28 |
%package devel
|
|
29 |
Summary: %{summary} - development files
|
|
30 |
SUNW_BaseDir: %{_basedir}
|
|
31 |
%include default-depend.inc
|
|
32 |
|
|
33 |
%prep
|
|
34 |
rm -rf %name-%version
|
|
35 |
mkdir %name-%version
|
|
36 |
%libcroco.prep -d %name-%version
|
|
37 |
|
|
38 |
%build
|
|
39 |
export PKG_CONFIG_PATH=%{_pkg_config_path}
|
|
40 |
export MSGFMT="/usr/bin/msgfmt"
|
|
41 |
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal"
|
|
42 |
export CFLAGS="%optflags -I%{_includedir}"
|
|
43 |
export RPM_OPT_FLAGS="$CFLAGS"
|
|
44 |
export LDFLAGS="%_ldflags"
|
|
45 |
|
|
46 |
%libcroco.build -d %name-%version
|
|
47 |
|
|
48 |
%install
|
|
49 |
%libcroco.install -d %name-%version
|
|
50 |
|
|
51 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
|
|
52 |
|
|
53 |
%clean
|
|
54 |
rm -rf $RPM_BUILD_ROOT
|
|
55 |
|
|
56 |
%files
|
|
57 |
%defattr (-, root, bin)
|
|
58 |
%dir %attr (0755, root, bin) %{_bindir}
|
|
59 |
%{_bindir}/csslint*
|
|
60 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
61 |
%{_libdir}/lib*.so*
|
|
62 |
|
|
63 |
%files devel
|
|
64 |
%defattr (-, root, bin)
|
|
65 |
%dir %attr (0755, root, bin) %{_includedir}
|
|
66 |
%{_includedir}/*
|
|
67 |
%dir %attr (0755, root, bin) %{_bindir}
|
|
68 |
%{_bindir}/croco-*-config
|
|
69 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
70 |
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
|
|
71 |
%{_libdir}/pkgconfig/*
|
|
72 |
|
|
73 |
%changelog
|
12263
|
74 |
* Wed May 07 2008 - [email protected]
|
|
75 |
- Remove PERL5LIB setting as it is not necessary.
|
11937
|
76 |
* Thu Mar 27 2008 - [email protected]
|
|
77 |
- Add SUNW_Copyright.
|
9397
|
78 |
* Sun Jun 11 2006 - [email protected]
|
|
79 |
- change group from other to bin/sys
|
|
80 |
* Thu May 11 2006 - [email protected]
|
|
81 |
- Change build dependency on SUNWgnome-base-libs-share. That pkg is obsolete
|
|
82 |
with files now in the base package.
|
|
83 |
* Thu Apr 06 2006 - [email protected]
|
|
84 |
- Move the config binary into the -devel package.
|
|
85 |
* Fri Feb 24 2006 - [email protected]
|
|
86 |
- Update Summary.
|
|
87 |
* Fri Feb 24 2006 - [email protected]
|
|
88 |
- Update Summary.
|
|
89 |
* Mon Feb 20 2006 - [email protected]
|
|
90 |
- Update Build/Requires after running check-deps.pl script.
|
|
91 |
* Tue Sep 13 2005 - [email protected]
|
|
92 |
- Now use libcroco version number.
|
|
93 |
* Wed Jul 27 2005 - [email protected]
|
|
94 |
- Created.
|