libIDL-vl.spec 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. Summary: Library for parsing IDL (Interface Definition Language)
  3. Summary(ja): IDL (インターフェース定義言語) 解析ライブラリ
  4. Name: libIDL
  5. Version: 0.8.13
  6. Release: 2%{?_dist_release}
  7. Source: ftp://ftp.gnome.org/pub/GNOME/sources/libIDL/0.8/%{name}-%{version}.tar.bz2
  8. Group: System Environment/Libraries
  9. License: LGPL
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: pkgconfig >= 0.8
  12. BuildRequires: glib2-devel >= 2.0
  13. %description
  14. libIDL is a library for parsing IDL (Interface Definition Language).
  15. It can be used for both COM-style and CORBA-style IDL.
  16. %description -l ja
  17. libIDL は IDL (インターフェース定義言語) を解析するためのライブラリです.
  18. COM形式とCORBA形式の両方のIDLで利用することができます.
  19. %package devel
  20. Summary: Development libraries and header files for libIDL
  21. Summary(ja): libIDL の開発用ライブラリとヘッダファイル
  22. Group: Development/Libraries
  23. Requires: %{name} = %{version}-%{release}
  24. Requires: pkgconfig >= 0.8
  25. Requires: glib2-devel >= 2.0
  26. Requires(post): /sbin/install-info
  27. Requires(preun): /sbin/install-info
  28. %description devel
  29. libIDL is a library for parsing IDL (Interface Definition Language).
  30. It can be used for both COM-style and CORBA-style IDL.
  31. This package contains the header files and libraries needed to write
  32. or compile programs that use libIDL.
  33. # compat32
  34. %package -n compat32-%{name}
  35. Summary: Development libraries and header files for libIDL
  36. Summary(ja): libIDL の開発用ライブラリとヘッダファイル
  37. Group: Development/Libraries
  38. Requires: %{name} = %{version}-%{release}
  39. %description -n compat32-%{name}
  40. libIDL is a library for parsing IDL (Interface Definition Language).
  41. It can be used for both COM-style and CORBA-style IDL.
  42. %description -n compat32-%{name} -l ja
  43. libIDL は IDL (インターフェース定義言語) を解析するためのライブラリです.
  44. COM形式とCORBA形式の両方のIDLで利用することができます.
  45. %package -n compat32-%{name}-devel
  46. Summary: Development libraries and header files for libIDL
  47. Summary(ja): libIDL の開発用ライブラリとヘッダファイル
  48. Group: Development/Libraries
  49. Requires: %{name}-devel = %{version}-%{release}
  50. Requires: compat32-%{name} = %{version}-%{release}
  51. Requires: compat32-glib2-devel >= 2.0
  52. Requires(post): /sbin/install-info
  53. Requires(preun): /sbin/install-info
  54. %description -n compat32-%{name}-devel
  55. libIDL is a library for parsing IDL (Interface Definition Language).
  56. It can be used for both COM-style and CORBA-style IDL.
  57. This package contains the header files and libraries needed to write
  58. or compile programs that use libIDL.
  59. %prep
  60. %setup -q -n %{name}-%{version}
  61. %build
  62. %configure --disable-static
  63. make %{?_smp_mflags}
  64. %install
  65. rm -rf %{buildroot}
  66. %makeinstall
  67. rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
  68. rm -f $RPM_BUILD_ROOT%{_infodir}/dir
  69. %post -p /sbin/ldconfig
  70. %postun -p /sbin/ldconfig
  71. %post -n compat32-%{name} -p /sbin/ldconfig
  72. %postun -n compat32-%{name} -p /sbin/ldconfig
  73. %post devel
  74. /sbin/install-info --quiet %{_infodir}/libIDL2.info.gz %{_infodir}/dir
  75. %preun devel
  76. if [ $1 = 0 ]; then
  77. /sbin/install-info --quiet --delete %{_infodir}/libIDL2.info.gz %{_infodir}/dir
  78. fi
  79. %clean
  80. rm -rf %{buildroot}
  81. %files
  82. %doc AUTHORS COPYING README NEWS
  83. %defattr(-,root,root)
  84. %{_libdir}/lib*.so.*
  85. %files devel
  86. %defattr(-,root,root)
  87. %{_bindir}/libIDL-config-2
  88. %{_includedir}/*
  89. %{_libdir}/%{name}-2.so
  90. %{_libdir}/pkgconfig/*.pc
  91. %{_infodir}/libIDL2.info.gz
  92. # compat32
  93. %if %{build_compat32}
  94. %files -n compat32-%{name}
  95. %defattr(-,root,root)
  96. %{_libdir}/lib*.so.*
  97. %files -n compat32-%{name}-devel
  98. %defattr(-,root,root)
  99. %{_libdir}/%{name}-2.so
  100. %{_libdir}/pkgconfig/*.pc
  101. %endif
  102. %changelog
  103. * Sat Jul 11 2009 NAKAMURA Kenta <kenta@vinelinux.org> 0.8.13-2
  104. - added compat32 package for x86_64 arch support
  105. * Sun May 3 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.8.13-1
  106. - new upstream release
  107. - removed static library
  108. * Tue Sep 23 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.8.11-1
  109. - new upstream release
  110. - spec in UTF-8
  111. * Sat Jul 19 2008 Shu KONNO <owa@bg.wakwak.com> 0.8.10-2vl5
  112. - dropt libIDL-2.la
  113. * Thu Mar 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.8.10-1vl5
  114. - new upstream release
  115. * Tue Oct 2 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.8.9-0vl1
  116. - new upstream release
  117. * Thu Mar 15 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.8.8-0vl1
  118. - new upstream release
  119. * Wed Aug 2 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.8.7-0vl1
  120. - new upstream release
  121. * Sun Mar 05 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.6-0vl1
  122. - new upstream release
  123. * Thu Feb 24 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.8.5-0vl1
  124. - new upstream release
  125. * Mon Nov 08 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.4-0vl1
  126. - new upstream release
  127. * Fri Jan 16 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.8.2-0vl2
  128. - rebuild with new toolchains
  129. * Fri Jul 25 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.8.2-0vl1
  130. - new upstream release
  131. - add Japanese summary and description
  132. * Sat Dec 14 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.0-0vl1
  133. - build for Vine Linux
  134. * Tue Jun 4 2002 Havoc Pennington <hp@redhat.com>
  135. - 0.8.0
  136. * Sun May 26 2002 Tim Powers <timp@redhat.com>
  137. - automated rebuild
  138. * Fri May 17 2002 Havoc Pennington <hp@redhat.com>
  139. - rebuild in different environment
  140. * Thu Apr 25 2002 Havoc Pennington <hp@redhat.com>
  141. - rebuild in different environment
  142. * Thu Apr 4 2002 Jeremy Katz <katzj@redhat.com>
  143. - move include files to -devel
  144. - other spec file tweaks
  145. * Thu Feb 14 2002 Havoc Pennington <hp@redhat.com>
  146. - 0.7.4
  147. * Wed Jan 09 2002 Tim Powers <timp@redhat.com>
  148. - automated rebuild
  149. * Wed Jan 2 2002 Havoc Pennington <hp@redhat.com>
  150. - cvs snap 0.7.1.91
  151. * Sun Nov 25 2001 Havoc Pennington <hp@redhat.com>
  152. - cvs snap, rebuild on new glib 1.3.11
  153. * Fri Oct 26 2001 Havoc Pennington <hp@redhat.com>
  154. - glib 1.3.10
  155. * Thu Oct 4 2001 Havoc Pennington <hp@redhat.com>
  156. - rebuild for new glib
  157. * Thu Sep 27 2001 Havoc Pennington <hp@redhat.com>
  158. - initial build of standalone libIDL
  159. - fix braindamage