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 |
#
|
16434
|
10 |
%define owner yippi
|
9397
|
11 |
#
|
|
12 |
%include Solaris.inc
|
|
13 |
|
13206
|
14 |
%ifarch amd64 sparcv9
|
|
15 |
%include arch64.inc
|
|
16 |
%use libcroco64 = libcroco.spec
|
|
17 |
%endif
|
|
18 |
|
|
19 |
%include base.inc
|
9397
|
20 |
%use libcroco = libcroco.spec
|
|
21 |
|
|
22 |
Name: SUNWlibcroco
|
|
23 |
Summary: Cascading Style Sheet (CSS) parsing and manipulation toolkit
|
15248
|
24 |
Source1: %{name}-manpages-0.1.tar.gz
|
9397
|
25 |
Version: %{libcroco.version}
|
|
26 |
SUNW_BaseDir: %{_basedir}
|
11937
|
27 |
SUNW_Copyright: %{name}.copyright
|
9397
|
28 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
29 |
|
|
30 |
%include default-depend.inc
|
15650
|
31 |
Requires: SUNWlxmlr
|
|
32 |
Requires: SUNWglib2
|
9397
|
33 |
Requires: SUNWlxml
|
15650
|
34 |
BuildRequires: SUNWglib2-devel
|
9397
|
35 |
|
|
36 |
%package devel
|
|
37 |
Summary: %{summary} - development files
|
|
38 |
SUNW_BaseDir: %{_basedir}
|
|
39 |
%include default-depend.inc
|
15650
|
40 |
Requires: SUNWglib2-devel
|
15488
|
41 |
Requires: SUNWlxml-devel
|
9397
|
42 |
|
|
43 |
%prep
|
|
44 |
rm -rf %name-%version
|
|
45 |
mkdir %name-%version
|
13206
|
46 |
%ifarch amd64 sparcv9
|
|
47 |
mkdir %name-%version/%_arch64
|
|
48 |
%libcroco.prep -d %name-%version/%_arch64
|
|
49 |
%endif
|
|
50 |
|
|
51 |
mkdir %name-%version/%base_arch
|
|
52 |
%libcroco.prep -d %name-%version/%base_arch
|
9397
|
53 |
|
15248
|
54 |
cd %{_builddir}/%name-%version
|
|
55 |
gzcat %SOURCE1 | tar xf -
|
|
56 |
|
9397
|
57 |
%build
|
13206
|
58 |
%ifarch amd64 sparcv9
|
|
59 |
%libcroco64.build -d %name-%version/%_arch64
|
|
60 |
%endif
|
9397
|
61 |
|
13206
|
62 |
%libcroco.build -d %name-%version/%base_arch
|
9397
|
63 |
|
|
64 |
%install
|
13206
|
65 |
%ifarch amd64 sparcv9
|
|
66 |
%libcroco64.install -d %name-%version/%_arch64
|
|
67 |
rm -r $RPM_BUILD_ROOT%{_bindir}/%_arch64
|
|
68 |
%endif
|
|
69 |
|
|
70 |
%libcroco.install -d %name-%version/%base_arch
|
9397
|
71 |
|
15248
|
72 |
rm -rf $RPM_BUILD_ROOT%{_mandir}
|
|
73 |
cd %{_builddir}/%name-%version/sun-manpages
|
|
74 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
75 |
|
9397
|
76 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
|
|
77 |
|
|
78 |
%clean
|
|
79 |
rm -rf $RPM_BUILD_ROOT
|
|
80 |
|
|
81 |
%files
|
|
82 |
%defattr (-, root, bin)
|
|
83 |
%dir %attr (0755, root, bin) %{_bindir}
|
|
84 |
%{_bindir}/csslint*
|
|
85 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
86 |
%{_libdir}/lib*.so*
|
13206
|
87 |
%ifarch amd64 sparcv9
|
|
88 |
%dir %attr (0755, root, bin) %{_libdir}/%{_arch64}
|
|
89 |
%{_libdir}/%{_arch64}/lib*.so*
|
|
90 |
%endif
|
13598
|
91 |
%doc -d %{base_arch}/libcroco-%{libcroco.version} AUTHORS README
|
|
92 |
%doc(bzip2) -d %{base_arch}/libcroco-%{libcroco.version} COPYING COPYING.LIB
|
|
93 |
%doc(bzip2) -d %{base_arch}/libcroco-%{libcroco.version} NEWS
|
|
94 |
%doc(bzip2) -d %{base_arch}/libcroco-%{libcroco.version} ChangeLog
|
|
95 |
%doc(bzip2) -d %{base_arch}/libcroco-%{libcroco.version} csslint/ChangeLog
|
|
96 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
97 |
%dir %attr (0755, root, other) %{_datadir}/doc
|
15248
|
98 |
%dir %attr(0755, root, bin) %{_mandir}
|
|
99 |
%dir %attr(0755, root, bin) %{_mandir}/man1
|
|
100 |
%dir %attr(0755, root, bin) %{_mandir}/man3
|
|
101 |
%{_mandir}/man1/*
|
|
102 |
%{_mandir}/man3/*
|
9397
|
103 |
|
|
104 |
%files devel
|
|
105 |
%defattr (-, root, bin)
|
|
106 |
%dir %attr (0755, root, bin) %{_includedir}
|
|
107 |
%{_includedir}/*
|
|
108 |
%dir %attr (0755, root, bin) %{_bindir}
|
|
109 |
%{_bindir}/croco-*-config
|
|
110 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
111 |
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
|
|
112 |
%{_libdir}/pkgconfig/*
|
13206
|
113 |
%ifarch amd64 sparcv9
|
|
114 |
%dir %attr (0755, root, bin) %{_libdir}/%{_arch64}
|
13256
|
115 |
%dir %attr (0755, root, other) %{_libdir}/%{_arch64}/pkgconfig
|
|
116 |
%{_libdir}/%{_arch64}/pkgconfig/*
|
13206
|
117 |
%endif
|
9397
|
118 |
|
|
119 |
%changelog
|
15488
|
120 |
* Tue Mar 24 2009 - [email protected]
|
|
121 |
- Since /usr/lib/amd64/pkgconfig/libcroco-0.6.pc (SUNWlibcroco-devel) requires
|
|
122 |
/usr/lib/amd64/pkgconfig/glib-2.0.pc which is found in
|
|
123 |
SUNWgnome-base-libs-devel, add the dependency.
|
|
124 |
- Since /usr/lib/amd64/pkgconfig/libcroco-0.6.pc (SUNWlibcroco-devel) requires
|
|
125 |
/usr/lib/amd64/pkgconfig/libxml-2.0.pc which is found in
|
|
126 |
SUNWlxml-devel, add the dependency
|
15248
|
127 |
* Thu Feb 26 2009 - [email protected]
|
|
128 |
- Add manpages.
|
13598
|
129 |
* Sun Sep 14 2008 - [email protected]
|
|
130 |
- Add new copyright files.
|
13245
|
131 |
* Fri Aug 22 2008 - [email protected]
|
|
132 |
- Fixed /usr/lib/amd64/pkgconfig attribute issue.
|
13206
|
133 |
* Thu Aug 21 2008 - [email protected]
|
|
134 |
- add 64-bit build, needed for the 64-bit librsvg
|
12263
|
135 |
* Wed May 07 2008 - [email protected]
|
|
136 |
- Remove PERL5LIB setting as it is not necessary.
|
11937
|
137 |
* Thu Mar 27 2008 - [email protected]
|
|
138 |
- Add SUNW_Copyright.
|
9397
|
139 |
* Sun Jun 11 2006 - [email protected]
|
|
140 |
- change group from other to bin/sys
|
|
141 |
* Thu May 11 2006 - [email protected]
|
|
142 |
- Change build dependency on SUNWgnome-base-libs-share. That pkg is obsolete
|
|
143 |
with files now in the base package.
|
|
144 |
* Thu Apr 06 2006 - [email protected]
|
|
145 |
- Move the config binary into the -devel package.
|
|
146 |
* Fri Feb 24 2006 - [email protected]
|
|
147 |
- Update Summary.
|
|
148 |
* Fri Feb 24 2006 - [email protected]
|
|
149 |
- Update Summary.
|
|
150 |
* Mon Feb 20 2006 - [email protected]
|
|
151 |
- Update Build/Requires after running check-deps.pl script.
|
|
152 |
* Tue Sep 13 2005 - [email protected]
|
|
153 |
- Now use libcroco version number.
|
|
154 |
* Wed Jul 27 2005 - [email protected]
|
|
155 |
- Created.
|
15650
|
156 |
|