libglade-vl.spec 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. # Note that this is NOT a relocatable package
  2. %define name libglade
  3. %define ver 0.17
  4. %define rel 15%{?_dist_release}
  5. Summary: libglade library
  6. Summary(ja): libglade ライブラリ
  7. Name: %{name}
  8. Version: %{ver}
  9. Release: %{rel}
  10. License: LGPL
  11. Group: System Environment/Libraries
  12. URL: http://www.gnome.org
  13. Source: ftp://ftp.gnome.org/pub/GNOME/stable/sources/%{name}/%{name}-%{ver}.tar.gz
  14. Patch0: libglade-0.16-fixquote.patch
  15. Patch1: libglade-0.17-gtkdoc.patch
  16. Patch2: libglade-0.17-clist-gettext.patch
  17. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  18. BuildRequires: libxml-devel >= 1.8.16
  19. BuildRequires: gnome-libs-devel >= 1.4.2-2vl5
  20. Requires: libxml >= 1.8.16
  21. Requires: gnome-libs >= 1.4.2-2vl5
  22. %description
  23. This library allows you to load user interfaces in your program, which are
  24. stored externally. This allows alteration of the interface without
  25. recompilation of the program.
  26. The interfaces can also be edited with GLADE.
  27. %description -l ja
  28. このライブラリを使うと、外部に格納されたユーザインタフェースを
  29. プログラムに読み込むことができます。これによりプログラムを
  30. 再コンパイルすることなくインタフェースの見た目を変えることが
  31. 可能になります。
  32. このインタフェースは GLADE を使って編集することができます。
  33. %package devel
  34. Summary: Libraries, includes, etc to develop libglade applications
  35. Summary(ja): libglade アプリケーション開発の為のライブラリ/ヘッダ等
  36. Group: Development/Libraries
  37. Requires: %{name} = %{version}-%{release}
  38. Requires: libxml-devel >= 1.8.16
  39. Requires: gnome-libs-devel >= 1.4.2-2vl5
  40. %description devel
  41. Libraries, include files, etc you can use to develop libglade applications.
  42. %description devel -l ja
  43. libglade アプリケーションを開発するのに必要なライブラリ/ヘッダファイル等
  44. %prep
  45. %setup -q
  46. %patch0 -p1 -b .fixquote
  47. %patch1 -p1 -b .gtkdoc
  48. %patch2 -p1 -b .clist-gettext
  49. %build
  50. autoconf
  51. %configure --without-bonobo --disable-static
  52. make %{?_smp_mflags}
  53. %install
  54. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  55. %makeinstall
  56. # remove unpackaged files from the buildroot
  57. rm -f $RPM_BUILD_ROOT%{_libdir}/{libglade-gnome.la,libglade.la}
  58. %clean
  59. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  60. %post -p /sbin/ldconfig
  61. %postun -p /sbin/ldconfig
  62. %files
  63. %defattr(-, root, root)
  64. %doc AUTHORS ChangeLog NEWS README COPYING
  65. %{_libdir}/lib*.so.*
  66. %files devel
  67. %defattr(-, root, root)
  68. %{_bindir}/*
  69. %{_libdir}/lib*.so
  70. #{_libdir}/*a
  71. %{_libdir}/*Conf.sh
  72. %{_libdir}/pkgconfig/*.pc
  73. %{_includedir}/*
  74. %{_datadir}/aclocal/*
  75. %doc test-libglade.c
  76. %doc *.glade
  77. %doc %{_datadir}/gnome/html/libglade/*
  78. %changelog
  79. * Fri Feb 12 2010 NAKAMURA Kenta <kenta@vinelinux.org> 0.17-15
  80. - rebuilt with db4-4.8
  81. * Sat May 2 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.17-14
  82. - rebuilt with gnome-libs-1.4.2-2vl5 (linking db-4.6.21)
  83. - removed lib*.a files
  84. * Sat Jul 26 2008 Shu KONNO <owa@bg.wakwak.com> 0.17-13vl5
  85. - applied new versioning policy and spec in utf-8
  86. * Sun May 20 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.17-12vl3
  87. - rebuilt with db4-4.3.29
  88. * Wed Oct 13 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.17-12vl2
  89. - rebuilt with db4-4.2.52
  90. * Wed Jan 15 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.17-12vl1
  91. - based on Fedora 0.17-12.2
  92. * Wed Jun 19 2002 Jeremy Katz <katzj@redhat.com>
  93. - remove .la files
  94. * Tue Apr 16 2002 Havoc Pennington <hp@redhat.com>
  95. - patch from Harald to call gettext on clist column titles, #63338
  96. * Tue Mar 5 2002 Havoc Pennington <hp@redhat.com>
  97. - install .pc files, #59522
  98. - fix more prefix/lib->libdir sort of things
  99. - use autoconf-2.52 binary- s/Copyright/License/
  100. - rebuild with new toolchains
  101. * Wed Jan 15 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.17-0vl2
  102. - rebuilt against gnome-libs-1.4.2-0vl2 (for db1/db4 matters)
  103. * Tue Dec 18 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.17-0vl1
  104. - New upstream release.
  105. * Tue Mar 13 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.16-0vl1
  106. - New upstream release.
  107. - Added relative execute for config.
  108. * Wed Jan 24 2001 Lisa Sagami <czs14350@mb.infoweb.ne.jp>
  109. - corrected Group
  110. * Wed Sep 06 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  111. - 0.14-0vl1
  112. - updated to 0.14
  113. - added Japanese summary and description
  114. * Sun Nov 1 1998 James Henstridge <james@daa.com.au>
  115. - Updated the dependencies of the devel package, so users must have gtk+-devel.
  116. * Sun Oct 25 1998 James Henstridge <james@daa.com.au>
  117. - Initial release 0.0.1