libglade-vl.spec 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. # Note that this is NOT a relocatable package
  2. %define name libglade
  3. %define ver 0.17
  4. %define rel 16%{?_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. * Sat Oct 02 2010 Shu KONNO <owa@bg.wakwak.com> 0.17-16
  80. - rebuilt with rpm-4.8.1 for pkg-config
  81. * Fri Feb 12 2010 NAKAMURA Kenta <kenta@vinelinux.org> 0.17-15
  82. - rebuilt with db4-4.8
  83. * Sat May 2 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.17-14
  84. - rebuilt with gnome-libs-1.4.2-2vl5 (linking db-4.6.21)
  85. - removed lib*.a files
  86. * Sat Jul 26 2008 Shu KONNO <owa@bg.wakwak.com> 0.17-13vl5
  87. - applied new versioning policy and spec in utf-8
  88. * Sun May 20 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.17-12vl3
  89. - rebuilt with db4-4.3.29
  90. * Wed Oct 13 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.17-12vl2
  91. - rebuilt with db4-4.2.52
  92. * Wed Jan 15 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.17-12vl1
  93. - based on Fedora 0.17-12.2
  94. * Wed Jun 19 2002 Jeremy Katz <katzj@redhat.com>
  95. - remove .la files
  96. * Tue Apr 16 2002 Havoc Pennington <hp@redhat.com>
  97. - patch from Harald to call gettext on clist column titles, #63338
  98. * Tue Mar 5 2002 Havoc Pennington <hp@redhat.com>
  99. - install .pc files, #59522
  100. - fix more prefix/lib->libdir sort of things
  101. - use autoconf-2.52 binary- s/Copyright/License/
  102. - rebuild with new toolchains
  103. * Wed Jan 15 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.17-0vl2
  104. - rebuilt against gnome-libs-1.4.2-0vl2 (for db1/db4 matters)
  105. * Tue Dec 18 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.17-0vl1
  106. - New upstream release.
  107. * Tue Mar 13 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.16-0vl1
  108. - New upstream release.
  109. - Added relative execute for config.
  110. * Wed Jan 24 2001 Lisa Sagami <czs14350@mb.infoweb.ne.jp>
  111. - corrected Group
  112. * Wed Sep 06 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  113. - 0.14-0vl1
  114. - updated to 0.14
  115. - added Japanese summary and description
  116. * Sun Nov 1 1998 James Henstridge <james@daa.com.au>
  117. - Updated the dependencies of the devel package, so users must have gtk+-devel.
  118. * Sun Oct 25 1998 James Henstridge <james@daa.com.au>
  119. - Initial release 0.0.1