diff options
author | Christian Fredrik Kalager Schaller <uraeus@src.gnome.org> | 2003-07-08 12:06:39 +0000 |
---|---|---|
committer | Christian Fredrik Kalager Schaller <uraeus@src.gnome.org> | 2003-07-08 12:06:39 +0000 |
commit | 7f83dd75c6af58e2cdc7a1c6b6cac9c5561c6536 (patch) | |
tree | b18a90ef7954f4c23f2f971b272419a4f5d2a716 /libcroco.spec.in | |
parent | ca92aa182f12990f5ae19483107609b1e1ad8f20 (diff) | |
download | libcroco-7f83dd75c6af58e2cdc7a1c6b6cac9c5561c6536.tar.gz |
updates
Diffstat (limited to 'libcroco.spec.in')
-rw-r--r-- | libcroco.spec.in | 104 |
1 files changed, 56 insertions, 48 deletions
diff --git a/libcroco.spec.in b/libcroco.spec.in index 5c3bf2d..57dc0ac 100644 --- a/libcroco.spec.in +++ b/libcroco.spec.in @@ -1,74 +1,82 @@ -%define __libtoolize : -%define __spec_install_post /usr/lib/rpm/brp-compress -Name: libcroco -Summary: A CSS2 parsing library -Version: @VERSION@ -Release: 1 -License: LGPL -Group: System Environment/Libraries -Source: %{name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-root -BuildRequires: pkgconfig >= 0.8 -Requires: glib2 >= @GLIB2_VERSION@ -Requires: libxml2 >= @LIBXML2_VERSION@ -BuildRequires: glib2-devel >= @GLIB2_VERSION@ -BuildRequires: libxml2-devel >= @LIBXML2_VERSION@ +%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 -CSS2 parsing and manipulation library for GNOME +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 libcroco. -Group: Development/Libraries -Requires: %{name} = %{version} -Requires: pkgconfig >= 0.8 -Requires: glib2 >= @GLIB2_VERSION@ -Requires: glib2-devel >= @GLIB2_VERSION@ -Requires: libxml2 >= @LIBXML2_VERSION@ -Requires: libxml2-devel >= @LIBXML2_VERSION@ +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. +files to allow you to develop with libcroco? %prep -%setup -q -n libcroco-%{version} +%setup -q %build -%configure --enable-seleng=@WITH_SELENG@ --enable-layeng=@WITH_SELENG@ + +%configure + make %install -rm -rf $RPM_BUILD_ROOT -# create file that the new redhat debuginfo stuff demands -touch $RPM_BUILD_DIR/libcroco-%{version}/debugfiles.list - +[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT %makeinstall -# Clean out files that should not be part of the rpm. -# This is the recommended way of dealing with it for RH8 -rm -f $RPM_BUILD_ROOT%{_libdir}/*.a -rm -f $RPM_BUILD_ROOT%{_libdir}/*.la %clean -rm -rf $RPM_BUILD_ROOT +[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT + + +%post -p /sbin/ldconfig -%files +%postun -p /sbin/ldconfig + +%files %defattr(-, root, root) -%doc AUTHORS COPYING COPYING.LIB ChangeLog NEWS README TODO -%{_bindir}/croco-config +%doc AUTHORS COPYING COPYING.LIB ChangeLog NEWS README %{_bindir}/csslint +%{_mandir}/man1/csslint* %{_libdir}/*.so.* -%{_mandir}/*/* -%files devel -%defattr(-, root, root) +%files devel +%defattr(-,root,root) +%{_bindir}/croco-config +%{_mandir}/man1/croco-config* +%{_libdir}/*.la +%{_libdir}/*.a %{_libdir}/*.so -%{_includedir}/libcroco/*.h -%{_libdir}/pkgconfig/libcroco.pc +%{_includedir}/* +%{_libdir}/pkgconfig/* %changelog -* Wed Apr 2 2003 Dodji Seketeli <dodji@seketeli.org> -- initial release: SAC api, CSSOM api, basic selectors implementation. +* 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 -* Sun Mar 30 2003 Christian Schaller <uraeus@gnome.org> -- created this thing +* Fri Apr 18 2003 Frederic Crozat <fcrozat@mandrakesoft.com> - 0.1.0-1mdk +- First Mdk package. |