librsvg-vl.spec 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. # Note that this is NOT a relocatable package
  2. %define ver 1.0.3
  3. %define rel 0vl1
  4. Name: librsvg
  5. Version: %{ver}
  6. Release: %{rel}
  7. License: LGPL
  8. Group: System Environment/Libraries
  9. URL: http://nautilus.eazel.com/
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildPreReq: libpng-devel
  12. BuildPreReq: glib-devel
  13. BuildPreReq: gtk+-devel
  14. BuildPreReq: gdk-pixbuf-devel
  15. BuildPreReq: freetype2-devel
  16. BuildPreReq: libxml-devel
  17. BuildPreReq: gnome-libs-devel
  18. BuildPreReq: automake14
  19. Requires: glib >= 1.2.9
  20. Requires: gtk+ >= 1.2.9
  21. Requires: libxml >= 1.8.10
  22. Requires: gdk-pixbuf >= 0.10.0
  23. Requires: popt >= 1.5
  24. Requires: freetype2 >= 2.0.1
  25. Requires: libpng
  26. Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/1.0/%{name}-%{ver}.tar.bz2
  27. Patch0: librsvg-1.0.0-datapath.patch
  28. Summary: Raph's SVG library
  29. %description
  30. Eazel Extension Library
  31. %package devel
  32. Summary: Libraries and include files for developing with librsvg.
  33. Group: Development/Libraries
  34. Requires: %{name} = %{PACKAGE_VERSION}
  35. %description devel
  36. This package provides the necessary development libraries and include
  37. files to allow you to develop with librsvg.
  38. %prep
  39. %setup -q
  40. #%patch0 -p1 -b .datapath
  41. %build
  42. automake-1.4
  43. %configure
  44. make
  45. %install
  46. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  47. %makeinstall
  48. %find_lang %{name}
  49. %clean
  50. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  51. %post -p /sbin/ldconfig
  52. %postun -p /sbin/ldconfig
  53. %files -f %{name}.lang
  54. %defattr (-, root, root)
  55. %doc AUTHORS COPYING COPYING.LIB ChangeLog NEWS README
  56. %{_libdir}/*.so.*
  57. %files devel
  58. %defattr (-, root, root)
  59. %{_bindir}/librsvg-config
  60. %{_libdir}/*.so
  61. %{_libdir}/*.la
  62. %{_libdir}/*.sh
  63. %{_libdir}/pkgconfig/*.pc
  64. %{_includedir}/*
  65. %{_datadir}/aclocal/*
  66. %changelog
  67. * Mon Jul 28 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.3-0vl1
  68. - updated to 1.0.3
  69. - rebuild with new toolchains and add BuildRequires: automake14
  70. - s/Copyright/License/
  71. - fix URL
  72. * Wed Dec 19 2001 Akira TAGOH <tagoh@gnome.gr.jp> 1.0.2-0vl1
  73. - New upstream release.
  74. * Sat Jul 28 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
  75. - 1.0.1-0vl1
  76. - updated to new upstream release
  77. * Wed May 9 2001 Akira TAGOH <tagoh@gnome.gr.jp> 1.0.0-0vl1
  78. - Build for Vine
  79. * Tue Oct 10 2000 Robin Slomkowski <rslomkow@eazel.com>
  80. - removed obsoletes from sub packages and added mozilla and trilobite
  81. subpackages
  82. * Wed Apr 26 2000 Ramiro Estrugo <ramiro@eazel.com>
  83. - created this thing