summaryrefslogtreecommitdiff
path: root/libcroco.spec.in
blob: 57dc0ac04dd0ba9e7cc49debe5ed3f4849fa5362 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
%define lib_major 0

Name:		libcroco
Summary:	CSS2 parser library
Version: 	@VERSION@
Release: 	1
License: 	LGPL
Group:		System/Libraries
Source0: 	ftp://ftp.gnome.org/pub/GNOME/sources/%{name}-%{version}.tar.gz
URL: 		http://savannah.nongnu.org/projects/libcroco
BuildRoot:	%{_tmppath}/%{name}-%{version}-root
BuildRequires:	libxml2-devel
BuildRequires:  glib2-devel

%description
libcroco is a standalone css2 parsing library.
It provides a low level event driven SAC like api
and a css object model like api.

%package devel
Summary:	Libraries and include files for developing with librsvg.
Group:		Development/C
Requires:	%{name} = %{version}-%{release}
Provides:   %{name}-devel = %{version}-%{release}
Requires:	libxml2-devel
Requires:	glib2-devel

%description devel
This package provides the necessary development libraries and include
files to allow you to develop with libcroco?

%prep
%setup -q

%build

%configure

make

%install
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
%makeinstall

%clean
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT


%post -p /sbin/ldconfig 

%postun -p /sbin/ldconfig

%files 
%defattr(-, root, root)
%doc AUTHORS COPYING COPYING.LIB ChangeLog NEWS README
%{_bindir}/csslint
%{_mandir}/man1/csslint*
%{_libdir}/*.so.*

%files  devel
%defattr(-,root,root)
%{_bindir}/croco-config
%{_mandir}/man1/croco-config*
%{_libdir}/*.la
%{_libdir}/*.a
%{_libdir}/*.so
%{_includedir}/*
%{_libdir}/pkgconfig/*

%changelog
* Tue Jul 8 2003 Christian Schaller <Uraeus@gnome.org>
- Udate for 0.3 and Red Hat

* Mon Jul  7 2003 Frederic Crozat <fcrozat@mandrakesoft.com> - 0.2.0-1mdk
- Release 0.2.0
- WARNING : binary compat is broken, you need to recompile apps built with libcroco 0.1

* Fri Jun 13 2003 Götz Waschk <waschk@linux-mandrake.com> 0.1.0-2mdk
- rebuild for new rpm

* Fri Apr 18 2003 Frederic Crozat <fcrozat@mandrakesoft.com> - 0.1.0-1mdk
- First Mdk package.