libIDL-vl.spec 6.2 KB

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