libIDL-vl.spec 6.3 KB

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