diff --git a/.libcroco.metadata b/.libcroco.metadata new file mode 100644 index 0000000..dddb3df --- /dev/null +++ b/.libcroco.metadata @@ -0,0 +1 @@ +23a5c33a2a86d5e46173234f5fa88ac1e15de035 SOURCES/libcroco-0.6.8.tar.xz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SOURCES/libcroco-0.6.1-multilib.patch b/SOURCES/libcroco-0.6.1-multilib.patch new file mode 100644 index 0000000..d6a84ed --- /dev/null +++ b/SOURCES/libcroco-0.6.1-multilib.patch @@ -0,0 +1,41 @@ +--- libcroco-0.6.1/croco-config.in.multilib 2006-03-05 16:57:01.000000000 -0500 ++++ libcroco-0.6.1/croco-config.in 2006-05-23 13:54:34.000000000 -0400 +@@ -1,10 +1,11 @@ + #! /bin/sh + +-prefix=@prefix@ +-exec_prefix=@exec_prefix@ ++name=libcroco-0.6 ++prefix=`pkg-config --variable prefix $name` ++exec_prefix=`pkg-config --variable exec_prefix $name` + exec_prefix_set=no +-includedir=@includedir@ +-libdir=@libdir@ ++includedir=`pkg-config --variable includedir $name` ++libdir=`pkg-config --variable libdir $name` + + usage() + { +@@ -59,7 +60,7 @@ + ;; + + --version) +- echo @VERSION@ ++ pkg-config --modversion $name + exit 0 + ;; + +@@ -68,11 +69,11 @@ + ;; + + --cflags) +- echo @CROCO_CFLAGS@ @GLIB2_CFLAGS@ @LIBXML2_CFLAGS@ ++ pkg-config --cflags $name + ;; + + --libs) +- echo @CROCO_LIBS@ @GLIB2_LIBS@ @LIBXML2_LIBS@ ++ pkg-config --libs $name + ;; + + *) diff --git a/SPECS/libcroco.spec b/SPECS/libcroco.spec new file mode 100644 index 0000000..4ce9461 --- /dev/null +++ b/SPECS/libcroco.spec @@ -0,0 +1,173 @@ +Name: libcroco +Summary: A CSS2 parsing library +Version: 0.6.8 +Release: 3%{?dist} +License: LGPLv2 +Group: System Environment/Libraries +Source: http://download.gnome.org/sources/libcroco/0.6/%{name}-%{version}.tar.xz +#Fedora specific patch +Patch0: libcroco-0.6.1-multilib.patch + +BuildRequires: pkgconfig +BuildRequires: glib2-devel +BuildRequires: libxml2-devel + +%description +CSS2 parsing and manipulation library for GNOME + +%package devel +Summary: Libraries and include files for developing with libcroco +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: glib2-devel +Requires: libxml2-devel + +%description devel +This package provides the necessary development libraries and include +files to allow you to develop with libcroco. + +%prep +%setup -q +%patch0 -p1 -b .multilib + +%build +%configure --disable-static +make %{?_smp_mflags} CFLAGS="$CFLAGS -fno-strict-aliasing" + +%install +make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" +find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' + +%check +make check + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%doc AUTHORS COPYING COPYING.LIB NEWS README +%{_bindir}/csslint-0.6 +%{_libdir}/*.so.* + +%files devel +%{_libdir}/*.so +%{_includedir}/libcroco-0.6 +%{_bindir}/croco-0.6-config +%{_libdir}/pkgconfig/libcroco-0.6.pc +%{_datadir}/gtk-doc/html/libcroco + +%changelog +* Tue Jul 16 2013 Matthias Clasen - 0.6.8-3 +- Disable strict aliasing, since the code is not strict-aliasing-clean + +* Thu Feb 14 2013 Fedora Release Engineering - 0.6.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Nov 09 2012 Kalev Lember - 0.6.8-1 +- Update to 0.6.8 + +* Tue Oct 16 2012 Kalev Lember - 0.6.7-1 +- Update to 0.6.7 + +* Wed Sep 19 2012 Richard Hughes - 0.6.6-1 +- Update to 0.6.6 + +* Thu Jul 19 2012 Fedora Release Engineering - 0.6.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Mar 27 2012 Kalev Lember - 0.6.5-1 +- Update to 0.6.5 +- Dropped unused configure options + +* Mon Feb 6 2012 Matthias Clasen - 0.6.4-1 +- Update to 0.6.4 + +* Fri Jan 13 2012 Fedora Release Engineering - 0.6.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Nov 22 2011 Matthias Clasen - 0.6.3-1 +- Update to 0.6.3 + +* Mon Feb 07 2011 Fedora Release Engineering - 0.6.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Fri Sep 10 2010 Parag Nemade 0.6.2-5 +- Merge-review cleanup (#225994) + +* Tue Dec 8 2009 Matthias Clasen - 0.6.2-4 +- Add source url + +* Fri Jul 24 2009 Fedora Release Engineering - 0.6.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Feb 25 2009 Fedora Release Engineering - 0.6.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Wed Feb 4 2009 Matthias Clasen - 0.6.2-1 +- Update to 0.6.2 + +* Tue Apr 1 2008 Matthias Clasen - 0.6.1-5 +- Clean up dependencies + +* Fri Feb 8 2008 Matthias Clasen - 0.6.1-4 +- Rebuild for gcc 4.3 + +* Wed Oct 10 2007 Matthias Clasen - 0.6.1-3 +- Rebuild +- Update license tag + +* Wed Jul 12 2006 Jesse Keating - 0.6.1-2.1 +- rebuild + +* Tue May 23 2006 Matthias Clasen - 0.6.1-2 +- Make config script a pkg-config wrapper to fix multilib conflict + +* Mon Mar 13 2006 Matthias Clasen - 0.6.1-1 +- Update to 0.6.1 +- Drop upstreamed patches + +* Fri Feb 10 2006 Jesse Keating - 0.6.0-6.2.1 +- bump again for double-long bug on ppc(64) + +* Tue Feb 07 2006 Jesse Keating - 0.6.0-6.2 +- rebuilt for new gcc4.1 snapshot and glibc changes + +* Fri Dec 09 2005 Jesse Keating +- rebuilt + +* Sat Oct 15 2005 Florian La Roche +- link shared lib against -lglib-2.0 and -lxml2 + +* Wed Mar 2 2005 Matthias Clasen - 0.6.0-5 +- Rebuild with gcc4 + +* Wed Sep 22 2004 Matthias Clasen - 0.6.0-4 +- Move croco-config to the devel package + +* Mon Sep 20 2004 Matthias Clasen - 0.6-3 +- Don't memset() stack variables + +* Tue Aug 31 2004 Matthias Clasen - 0.6-2 +- Add missing ldconfig calls (#131279) + +* Fri Jul 30 2004 Matthias Clasen - 0.6-1 +- Update to 0.6 + +* Tue Jun 15 2004 Elliot Lee +- rebuilt + +* Sat Apr 10 2004 Warren Togami +- BR and -devel req libgnomeui-devel + +* Tue Mar 02 2004 Elliot Lee +- rebuilt + +* Fri Feb 13 2004 Elliot Lee +- rebuilt + +* Tue Jan 27 2004 Jonathan Blandford 0.4.0-1 +- new version + +* Wed Aug 13 2003 Jonathan Blandford 0.3.0-1 +- initial import into the tree. Based on the spec file in the package