From 2eadec29419bcac66fad131aecff8d8bba2dcf44 Mon Sep 17 00:00:00 2001 From: tigro Date: Mon, 11 Sep 2023 16:28:30 +0300 Subject: [PATCH] import libart_lgpl-2.3.21-25.el9 --- .gitignore | 1 + .libart_lgpl.metadata | 1 + SOURCES/libart-multilib.patch | 33 ++++ SPECS/libart_lgpl.spec | 284 ++++++++++++++++++++++++++++++++++ 4 files changed, 319 insertions(+) create mode 100644 .gitignore create mode 100644 .libart_lgpl.metadata create mode 100644 SOURCES/libart-multilib.patch create mode 100644 SPECS/libart_lgpl.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4085bcc --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/libart_lgpl-2.3.21.tar.bz2 diff --git a/.libart_lgpl.metadata b/.libart_lgpl.metadata new file mode 100644 index 0000000..b0e18b2 --- /dev/null +++ b/.libart_lgpl.metadata @@ -0,0 +1 @@ +dbac185c65696381ef188de1f98b348b530e22f9 SOURCES/libart_lgpl-2.3.21.tar.bz2 diff --git a/SOURCES/libart-multilib.patch b/SOURCES/libart-multilib.patch new file mode 100644 index 0000000..0798e15 --- /dev/null +++ b/SOURCES/libart-multilib.patch @@ -0,0 +1,33 @@ +--- libart_lgpl-2.3.17/libart-config.in.multilib 2006-07-27 18:02:06.000000000 -0400 ++++ libart_lgpl-2.3.17/libart-config.in 2006-07-27 18:02:11.000000000 -0400 +@@ -1,7 +1,9 @@ + #!/bin/sh + +-prefix=@prefix@ +-exec_prefix=@exec_prefix@ ++includedir=`pkg-config --variable includedir libart-2.0` ++libdir=`pkg-config --variable libdir libart-2.0` ++prefix=`pkg-config --variable prefix libart-2.0` ++exec_prefix=`pkg-config --variable exec_prefix libart-2.0` + exec_prefix_set=no + + usage="\ +@@ -36,15 +38,13 @@ + echo $exec_prefix + ;; + --version) +- echo @LIBART_VERSION@ ++ pkg-config --modversion libart-2.0 + ;; + --cflags) +- includes=-I@includedir@/libart-2.0 +- echo $includes ++ echo -I$includedir/libart-2.0 + ;; + --libs) +- libdirs=-L@libdir@ +- echo $libdirs -lart_lgpl_2 -lm ++ echo -L$libdir -lart_lgpl_2 -lm + ;; + *) + echo "${usage}" 1>&2 diff --git a/SPECS/libart_lgpl.spec b/SPECS/libart_lgpl.spec new file mode 100644 index 0000000..ea67af3 --- /dev/null +++ b/SPECS/libart_lgpl.spec @@ -0,0 +1,284 @@ +Name: libart_lgpl +Version: 2.3.21 +Release: 25%{?dist} +Summary: Library of graphics routines used by libgnomecanvas +URL: http://www.gnome.org/ +Source0: http://download.gnome.org/sources/libart_lgpl/2.3/%{name}-%{version}.tar.bz2 +#Fedora specific patch +Patch0: libart-multilib.patch +License: LGPLv2+ +BuildRequires: automake autoconf +BuildRequires: pkgconfig +BuildRequires: libtool +BuildRequires: make + +%description +Graphics routines used by the GnomeCanvas widget and some other +applications. libart renders vector paths and the like. + +%package devel +Summary: Libraries and headers for libart_lgpl +Requires: %{name} = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + +%prep +%setup -q +%patch0 -p1 -b .multilib + +%build +libtoolize +autoreconf -i +%configure --disable-static +make %{?_smp_mflags} + +%install +make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" +find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' + +# fix multilib issues +mv $RPM_BUILD_ROOT%{_includedir}/libart-2.0/libart_lgpl/art_config.h \ + $RPM_BUILD_ROOT%{_includedir}/libart-2.0/libart_lgpl/art_config-%{__isa_bits}.h + +cat >$RPM_BUILD_ROOT%{_includedir}/libart-2.0/libart_lgpl/art_config.h < + +#if __WORDSIZE == 32 +# include "art_config-32.h" +#elif __WORDSIZE == 64 +# include "art_config-64.h" +#else +# error "unexpected value for __WORDSIZE macro" +#endif + +#endif +EOF + +%ldconfig_scriptlets + +%files +%doc AUTHORS NEWS README +%license COPYING +%{_libdir}/lib*.so.* + +%files devel +%{_libdir}/lib*.so +%{_libdir}/pkgconfig/* +%{_bindir}/libart2-config +%{_includedir}/* + +%changelog +* Mon Sep 11 2023 Arkady L. Shane - 2.3.21-25 +- Rebuilt for MSVSphere 9.2 + +* Tue Jan 26 2021 Fedora Release Engineering - 2.3.21-25 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 2.3.21-24 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jan 29 2020 Fedora Release Engineering - 2.3.21-23 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jul 25 2019 Fedora Release Engineering - 2.3.21-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 2.3.21-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 2.3.21-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Feb 07 2018 Fedora Release Engineering - 2.3.21-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 2.3.21-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 2.3.21-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 2.3.21-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Aug 04 2016 Yaakov Selkowitz - 2.3.21-15 +- Use wordsize=64 on mips64 (#1305943) +- Modernize spec + +* Thu Feb 04 2016 Fedora Release Engineering - 2.3.21-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 2.3.21-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sun Aug 17 2014 Fedora Release Engineering - 2.3.21-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 2.3.21-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Tue May 13 2014 Jaromir Capik - 2.3.21-10 +- Replacing ppc64 and ppc64le with the power64 macro (#1051599) + +* Mon Jan 13 2014 Jochen Schmitt - 2.3.21-9 +- Enable ppc64le support (#1051599) + +* Sat Aug 03 2013 Fedora Release Engineering - 2.3.21-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Tue Jun 18 2013 Jochen Schmitt - 2.3.21-7 +- Add aarch64 as a 65-Bit architecture (#975267) +- Add libtool as a BR +- Call libtoolize before autoreconf + +* Fri Mar 29 2013 Jochen Schmitt - 2.3.21-6 +- Try to fix aarch64 build issue (#925666) + +* Thu Feb 14 2013 Fedora Release Engineering - 2.3.21-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Jul 19 2012 Fedora Release Engineering - 2.3.21-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 2.3.21-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Fri Sep 24 2010 Parag Nemade - 2.3.21-2 +- Merge-review cleanup (#225987) + +* Wed Jul 7 2010 Jochen Schmitt - 2.3.21-1 +- New upstream release + +* Fri Jul 24 2009 Fedora Release Engineering - 2.3.20-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Feb 25 2009 Fedora Release Engineering - 2.3.20-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Tue Jan 13 2009 Caolán McNamara - 2.3.20-3 +- rebuild to get provides pkgconfig(libart-2.0) + +* Mon May 26 2008 Tom "spot" Callaway - 2.3.20-2 +- add sparc64 for multilib + +* Wed Jan 30 2008 Matthias Clasen - 2.3.20-1 +- Update to 2.3.20 +- Drop upstreamed patch +- Correct license field + +* Thu Aug 23 2007 Adam Jackson - 2.3.19-3 +- Rebuild for build ID + +* Thu Mar 01 2007 Behdad Esfahbod - 2.3.19-2 +- Add upstreamed patch libart-2.3.19-header.patch +- Resolves: #230571 + +* Wed Feb 28 2007 Matthias Clasen - 2.3.19-1 +- Update to 2.3.19 + +* Tue Feb 27 2007 Matthias Clasen - 2.3.18-1 +- Update to 2.3.18 + +* Mon Jul 31 2006 Jesse Keating - 2.3.17-4 +- Fix typo in header name + +* Thu Jul 27 2006 Matthias Clasen - 2.3.17-3 +- Fix multilib conflicts +- Don't ship static libraries + +* Wed Jul 12 2006 Jesse Keating - 2.3.17-2.2.2 +- rebuild + +* Fri Feb 10 2006 Jesse Keating - 2.3.17-2.2.1 +- bump again for double-long bug on ppc(64) + +* Tue Feb 07 2006 Jesse Keating - 2.3.17-2.2 +- rebuilt for new gcc4.1 snapshot and glibc changes + +* Fri Dec 09 2005 Jesse Keating +- rebuilt + +* Wed Mar 2 2005 Matthias Clasen 2.3.17-2 +- Rebuild with gcc4 + +* Wed Jan 26 2005 Matthias Clasen 2.3.17-1 +- update to 2.3.17 + +* Tue Jun 15 2004 Elliot Lee +- rebuilt + +* Tue Mar 02 2004 Elliot Lee +- rebuilt + +* Fri Feb 13 2004 Elliot Lee +- rebuilt + +* Mon Oct 6 2003 Alexander Larsson 2.3.16-1 +- 2.3.16 + +* Tue Aug 12 2003 Alexander Larsson 2.3.14-1 +- 2.3.14 + +* Wed Jun 04 2003 Elliot Lee +- rebuilt + +* Wed Jan 22 2003 Tim Powers +- rebuilt + +* Mon Dec 9 2002 Alexander Larsson 2.3.11 +- Update to 2.3.11 + +* Tue Dec 03 2002 Elliot Lee 2.3.10-2 +- Remove unpackaged file + +* Sat Jul 27 2002 Havoc Pennington +- 2.3.10, required by nautilus 2.0.2 for some reason + +* Mon Jun 24 2002 Havoc Pennington +- 2.3.9, should give gdm login screen a kick in the ass + +* Fri Jun 21 2002 Tim Powers +- automated rebuild + +* Sun May 26 2002 Tim Powers +- automated rebuild + +* Fri May 17 2002 Havoc Pennington +- rebuild in different environment + +* Wed Apr 24 2002 Havoc Pennington + - rebuild in different environment + +* Thu Apr 4 2002 Jeremy Katz +- rebuild + +* Thu Jan 24 2002 Havoc Pennington +- actually increase version to 2.3.8 + +* Thu Jan 24 2002 Havoc Pennington +- upgrade to 2.3.8 so header files don't break eel2 + +* Wed Jan 09 2002 Tim Powers +- automated rebuild + +* Wed Jan 2 2002 Havoc Pennington +- 2.3.7.91 snap + +* Sun Nov 25 2001 Havoc Pennington +- cvs snap, rebuild with new glib + +* Thu Oct 4 2001 Havoc Pennington +- 2.3.6 + +* Fri Sep 21 2001 Havoc Pennington +- new CVS snap with upstream changes merged + +* Thu Sep 13 2001 Havoc Pennington +- Initial build. + +