gal-vl.spec 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. %define soname 23
  2. %define libname libgal%{soname}
  3. Summary: The Gnome Application Library.
  4. Summary(ja): Gnome アプリケーションライブラリ
  5. Name: gal
  6. Version: 0.24
  7. Release: 1vl3
  8. License: GPL
  9. Group: System Environment/Libraries
  10. Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/0.23/%{name}-%{version}.tar.bz2
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildPreReq: libxml-devel
  13. BuildPreReq: freetype2-devel
  14. BuildPreReq: libglade-devel >= 0.13
  15. BuildPreReq: gnome-vfs-devel
  16. BuildPreReq: gnome-print-devel >= 0.22
  17. BuildPreReq: gtk+-devel >= 1.2.7
  18. BuildPreReq: gtk-doc
  19. BuildRequires: autoconf213, automake14
  20. Requires: libxml >= 1.8.8
  21. Requires: libgnomeprint15 >= 0.22
  22. Requires: libglade >= 0.13
  23. Requires: gtk+ >= 1.2.7
  24. Patch0: gal-0.18.1-config.patch
  25. %description
  26. A collection of GNOME widgets and utility functions.
  27. %description -l ja
  28. GNOME のコンポーネントおよび役立つ機能のコレクションです。
  29. %package devel
  30. Summary: Development files for the GNOME Applications library
  31. Summary(ja): GNOME アプリケーションライブラリの開発用ファイル
  32. Group: Development/Libraries
  33. Requires: %{name} = %{PACKAGE_VERSION}, %{libname}
  34. Requires: gnome-vfs-devel
  35. Requires: gnome-print-devel >= 0.22
  36. Requires: gnome-libs-devel
  37. Requires: libglade-devel
  38. %description devel
  39. Development files for the GNOME Applications library
  40. %package -n %{libname}
  41. Summary: The GNOME Application Library
  42. Summary(ja): GNOME アプリケーションライブラリ
  43. Group: System Environment/Libraries
  44. Requires: %{name} >= %{version}
  45. %description -n %{libname}
  46. A collection of GNOME widgets and utility functions.
  47. %description -n %{libname} -l ja
  48. GNOME のコンポーネントおよび役立つ機能のコレクションです。
  49. %prep
  50. %setup -q
  51. %build
  52. #autoconf
  53. %define __libtoolize /bin/true
  54. cp %{_datadir}/libtool/config.{guess,sub} .
  55. %configure --disable-gtk-doc
  56. make
  57. %install
  58. %makeinstall
  59. ##%find_lang %{name}
  60. %clean
  61. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  62. %post -n %{libname} -p /sbin/ldconfig
  63. %postun -n %{libname} -p /sbin/ldconfig
  64. ##%files -f %{name}.lang
  65. %files
  66. %defattr(-, root, root)
  67. %doc AUTHORS COPYING ChangeLog INSTALL NEWS README
  68. %dir %{_datadir}/gal
  69. %{_datadir}/gal/%{version}/pixmaps
  70. %{_datadir}/gal/%{version}/glade
  71. %{_datadir}/locale
  72. %files devel
  73. %defattr(-, root, root)
  74. %{_libdir}/*.so
  75. %{_libdir}/*.a
  76. %{_libdir}/*.la
  77. %{_libdir}/*sh
  78. %{_libdir}/pkgconfig/*.pc
  79. %{_includedir}/*
  80. %files -n %{libname}
  81. %defattr(-, root, root)
  82. %{_datadir}/etable
  83. %{_datadir}/gal/html
  84. %{_libdir}/libgal.so.%{soname}
  85. %{_libdir}/libgal.so.*.*
  86. %changelog
  87. * Thu Sep 06 2007 Shu KONNO <owa@bg.wakwak.com> 0.24-1vl3
  88. - dropt %%find_lang (added locale data directry to %%files)
  89. * Tue Oct 26 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.24-1vl2
  90. - rebuilt with db4-4.2.52
  91. - added Japanese summary to all packages
  92. - s/Copyright/License/
  93. - fixed %post, %postun script
  94. * Thu May 1 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.24-1vl1
  95. - updated to 0.24
  96. - so ver is updated
  97. * Wed Mar 5 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.23-1vl1
  98. - updated to new upstream release.
  99. - so ver is updated
  100. * Sun Sep 15 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.19.3-0vl1
  101. - updated to new upstream release.
  102. * Tue Jan 15 2002 Akira TAGOH <tagoh@gnome.gr.jp> 0.19-0vl1
  103. - New upstream release.
  104. - Seperated the shared libraries.
  105. * Tue Dec 18 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.18.1-0vl1
  106. - New upstream release.
  107. * Tue May 8 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.7-0vl1
  108. - New upstream release.
  109. * Fri Mar 30 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.5-0vl2
  110. - Fixed font selection with e-font.
  111. - Use %find_lang macro.
  112. * Wed Mar 14 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.5-0vl1
  113. - New upstream release.
  114. * Tue Jan 9 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.4.99.0-0vl1
  115. - Build for Vine
  116. * Fri Oct 10 2000 John Gotts <jgotts@linuxsavvy.com>
  117. - Created spec file.