2024-01-06 04:02:16 +01:00
|
|
|
%define majversion %(echo %version | cut -d. -f 1-2)
|
|
|
|
|
|
|
|
Name: libcroco
|
2024-01-06 04:02:17 +01:00
|
|
|
Version: 0.6.13
|
2024-01-06 04:02:17 +01:00
|
|
|
Release: 2mamba
|
2024-01-06 04:02:16 +01:00
|
|
|
Summary: A generic Cascading Style Sheet (CSS) parsing and manipulation toolkit
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://www.freespiders.org/projects/libcroco/
|
|
|
|
Source: ftp://ftp.gnome.org/pub/GNOME/sources/libcroco/%{majversion}/libcroco-%{version}.tar.xz
|
2024-01-06 04:02:17 +01:00
|
|
|
Patch0: %{name}-0.6.1-multilib.patch
|
2024-01-06 04:02:16 +01:00
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 04:02:17 +01:00
|
|
|
BuildRequires: ldconfig
|
2024-01-06 04:02:16 +01:00
|
|
|
BuildRequires: libglib-devel
|
2024-01-06 04:02:17 +01:00
|
|
|
BuildRequires: liblzma-devel
|
2024-01-06 04:02:16 +01:00
|
|
|
BuildRequires: libxml2-devel
|
2024-01-06 04:02:17 +01:00
|
|
|
BuildRequires: libz-devel
|
2024-01-06 04:02:16 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: libpango-devel
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
The Libcroco project is an effort to build a generic Cascading Style Sheet (CSS) parsing and manipulation toolkit that can be used by GNOME applications in need of CSS support.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Devel package for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-06 04:02:17 +01:00
|
|
|
Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-06 04:02:16 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
The Libcroco project is an effort to build a generic Cascading Style Sheet (CSS) parsing and manipulation toolkit that can be used by GNOME applications in need of CSS support.
|
2024-01-06 04:02:17 +01:00
|
|
|
This package contains static libraries and header files needed for development.
|
2024-01-06 04:02:16 +01:00
|
|
|
|
2024-01-06 04:02:17 +01:00
|
|
|
%package tools
|
|
|
|
Summary: Tools provided with %{name}
|
|
|
|
Group: System/Tools
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
The Libcroco project is an effort to build a generic Cascading Style Sheet (CSS) parsing and manipulation toolkit that can be used by GNOME applications in need of CSS support.
|
|
|
|
This package contains the tools provided with %{name}.
|
|
|
|
|
|
|
|
%debug_package
|
2024-01-06 04:02:16 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-06 04:02:17 +01:00
|
|
|
%patch0 -p1
|
2024-01-06 04:02:16 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --enable-seleng=yes --enable-layeng=yes
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 04:02:17 +01:00
|
|
|
%{_libdir}/libcroco-*.so.*
|
2024-01-06 04:02:16 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/croco-%{majversion}-config
|
2024-01-06 04:02:17 +01:00
|
|
|
%dir %{_includedir}/libcroco-%{majversion}
|
|
|
|
%dir %{_includedir}/libcroco-%{majversion}/libcroco
|
|
|
|
%{_includedir}/libcroco-%{majversion}/libcroco/*
|
|
|
|
%{_libdir}/libcroco-*.a
|
|
|
|
%{_libdir}/libcroco-*.la
|
|
|
|
%{_libdir}/libcroco-*.so
|
2024-01-06 04:02:16 +01:00
|
|
|
%{_libdir}/pkgconfig/libcroco-%{majversion}.pc
|
|
|
|
%dir %{_datadir}/gtk-doc/html/libcroco
|
|
|
|
%{_datadir}/gtk-doc/html/libcroco/*
|
|
|
|
|
2024-01-06 04:02:17 +01:00
|
|
|
%files tools
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/csslint-%{majversion}
|
|
|
|
|
2024-01-06 04:02:16 +01:00
|
|
|
%changelog
|
2024-01-06 04:02:17 +01:00
|
|
|
* Thu Dec 03 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.13-2mamba
|
|
|
|
- rebuilt with debug package
|
|
|
|
|
2024-01-06 04:02:17 +01:00
|
|
|
* Sun Apr 07 2019 Automatic Build System <autodist@mambasoft.it> 0.6.13-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:02:17 +01:00
|
|
|
* Sun Jul 02 2017 Automatic Build System <autodist@mambasoft.it> 0.6.12-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:02:17 +01:00
|
|
|
* Thu Dec 17 2015 Automatic Build System <autodist@mambasoft.it> 0.6.11-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:02:16 +01:00
|
|
|
* Mon Dec 14 2015 Automatic Build System <autodist@mambasoft.it> 0.6.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:02:16 +01:00
|
|
|
* Sat Oct 31 2015 Automatic Build System <autodist@mambasoft.it> 0.6.9-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:02:16 +01:00
|
|
|
* Fri Oct 26 2012 Automatic Build System <autodist@mambasoft.it> 0.6.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Oct 16 2012 Automatic Build System <autodist@mambasoft.it> 0.6.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Sep 16 2012 Automatic Build System <autodist@mambasoft.it> 0.6.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Apr 02 2012 Automatic Build System <autodist@mambasoft.it> 0.6.5-1mamba
|
|
|
|
- update to 0.6.5
|
|
|
|
|
|
|
|
* Mon Nov 28 2011 Automatic Build System <autodist@mambasoft.it> 0.6.3-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Mon Feb 23 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Tue Aug 26 2008 Aleph0 <aleph0@openmamba.org> 0.6.1-2mamba
|
|
|
|
- specfile updated
|
|
|
|
|
|
|
|
* Thu Dec 21 2006 Davide Madrisan <davide.madrisan@qilinux.it> 0.6.1-1qilnx
|
|
|
|
- update to version 0.6.1 by autospec
|
|
|
|
|
|
|
|
* Tue Dec 30 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.0-1qilnx
|
|
|
|
- first build
|