eb-vl.spec 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  1. Summary: C Library for accessing CD-ROM books
  2. Summary(ja): CD-ROM 書籍にアクセスするための C ライブラリ
  3. Name: eb
  4. Version: 4.4.3
  5. Release: 2%{?_dist_release}
  6. License: Modified BSD-style license
  7. Group: System Environment/Libraries
  8. URL: http://www.sra.co.jp/people/m-kasahr/eb/
  9. Source0: ftp://ftp.sra.co.jp/pub/misc/eb/%{name}-%{version}.tar.bz2
  10. #Patch0: ftp://ftp.sra.co.jp/pub/misc/eb/%{name}-%{version}+.diff
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: zlib-devel >= 1.1.3
  13. Requires: zlib >= 1.1.3
  14. Requires(preun): /sbin/install-info
  15. Conflicts: ndtpd = 2.3.7
  16. Distribution: Vine Linux
  17. Vendor: Project Vine
  18. Packager: inagaki
  19. %description
  20. EB Library is a C library for accessing CD-ROM books.
  21. It can be built on UNIX derived systems.
  22. EB Library supports to access CD-ROM books of
  23. EB, EBG, EBXA, EBXA-C, S-EBXA and EPWING formats.
  24. %description -l ja
  25. EB ライブラリは CD-ROM 書籍にアクセスするための C のライブラリです。
  26. UNIX 系 OS のシステム上で動作させることができます。
  27. EB, EBG, EBXA, EBXA-C, S-EBXA および EPWING 形式の
  28. CD-ROM 書籍に対応しています。
  29. %package devel
  30. Summary: Header files to develop apps which will use eb.
  31. Summary(ja): eb を使うアプリケーションを開発するためのヘッダーファイル
  32. Group: Development/Libraries
  33. Requires: eb = %{version}-%{release}
  34. %description devel
  35. The eb-devel package contains the header files
  36. which enable you to develop programs utilizing the eb library.
  37. %description devel -l ja
  38. eb-devel パッケージには、eb ライブラリを利用するプログラムを開発
  39. するために必要なヘッダーファイルが含まれています。
  40. %prep
  41. %setup -q
  42. %build
  43. env CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS="$RPM_OPT_FLAGS" \
  44. %configure --with-zlib-include=%{_includedir} \
  45. --with-zlib-libraries=%{_libdir} \
  46. --disable-static
  47. make
  48. %install
  49. rm -rf $RPM_BUILD_ROOT
  50. %makeinstall
  51. ## remove unuse files
  52. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  53. %clean
  54. rm -rf $RPM_BUILD_ROOT
  55. %post -p /sbin/ldconfig
  56. %preun
  57. if [ $1 = 0 ] ;then
  58. for i in ebfont.info.gz ebinfo.info.gz ebrefile.info.gz \
  59. ebzip.info.gz ebfont-ja.info.gz ebinfo-ja.info.gz \
  60. ebrefile-ja.info.gz ebzip-ja.info.gz
  61. do
  62. if [ -f %{_infodir}/$i ]; then
  63. /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/$i
  64. fi
  65. done
  66. fi
  67. %postun -p /sbin/ldconfig
  68. %files
  69. %defattr(-,root,root)
  70. %doc AUTHORS COPYING ChangeLog* INSTALL* NEWS README*
  71. %config %{_sysconfdir}/eb.conf
  72. %{_bindir}/*
  73. %{_libdir}/libeb.so.*
  74. %dir %{_datadir}/eb
  75. %{_datadir}/eb/*
  76. %{_localedir}/ja/LC_MESSAGES/*
  77. %files devel
  78. %defattr(-,root,root)
  79. %dir %{_includedir}/eb
  80. %{_includedir}/eb/*
  81. #{_libdir}/libeb.a
  82. #{_libdir}/libeb.la
  83. %{_libdir}/libeb.so
  84. %{_datadir}/aclocal/eb4.m4
  85. %changelog
  86. * Thu Jan 24 2013 IWAI, Masaharu <iwai@alib.jp> 4.4.3-2
  87. - build with current VineSeed
  88. * Sun Jan 2 2011 IWAI, Masaharu <iwai@alib.jp> 4.4.3-1
  89. - new upstream release
  90. * Wed Jul 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.1-1
  91. - new upstream release
  92. - added --disable-static option to %%configure
  93. * Sat Nov 15 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.3-1vl5
  94. - new upstream release
  95. - updated %%preun section for uninstalling info files
  96. * Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 4.3-1vl5
  97. - applied new versioning policy, spec in utf-8
  98. - removed *.la
  99. * Thu Dec 13 2007 IWAI, Masaharu <iwai@alib.jp> 4.3-0vl1
  100. - new upstrem release
  101. - update License tag's value
  102. - add Japanese summary
  103. * Sat Jul 23 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 4.1.1-0vl2
  104. - add Japanese summary and description to devel package
  105. * Sat Oct 30 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 4.1.1-0vl1
  106. - version up to 4.1.1
  107. * Wed Jul 07 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 4.1-0vl1
  108. - version up to 4.1
  109. - change from Copyright GPL to License BSD
  110. * Tue May 4 2004 IWAI, Masaharu <iwai@alib.jp> 4.0-0vl1
  111. - version up to 4.0+
  112. - update to 4.0 (Source0)
  113. - add 4.0+ patch (Patch0)
  114. - add eb4.m4 file for devel package
  115. * Mon Jul 21 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 3.3.4-0vl1
  116. - version up to 3.3.4
  117. * Thu Jun 12 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 3.3.3-0vl1
  118. - version up to 3.3.3
  119. * Fri Mar 14 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org>
  120. - 3.3.2-0vl1
  121. - version up to 3.3.2
  122. * Mon Feb 17 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org>
  123. - 3.3-2vl1
  124. - version up to 3.3+2
  125. * Sat Feb 08 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org>
  126. - 3.3-1vl1
  127. - version up to 3.3+
  128. * Sun Nov 24 2002 KOBAYASHI R. Taizo <tkoba@ike-dyn.ritsumie.ac.jp>
  129. - 3.2.3-0vl1
  130. - version up to 3.2.3
  131. * Fri Jun 21 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 3.2.2-3vl2
  132. - eliminated Patch0(eb-3.1+.diff), 1(eb-3.1+2.diff) and 2(eb-3.1+3.diff)
  133. - merged 3.2.2-0vl1 for Vine-2.5 Plus's Spec file
  134. * Tue Jun 11 2002 Satoshi Tanaka <tnim@mint.freemail.ne.jp>
  135. - update eb.spec and release 3.2.20vl1 for Vine Linux 2.x
  136. * Tue Mar 30 2002 Satoshi Tanaka <tnim@mint.freemail.ne.jp>
  137. - Update version 3.2.1 for Vine Linux 2.1.5
  138. - version up to 3.2.2
  139. - use rpm macros
  140. * Mon Nov 12 2001 KOBAYASHI R. Taizo <tkoba@ike-dyn.ritsumie.ac.jp>
  141. - 3.1-3vl1
  142. - version up to 3.1+3
  143. * Fri Jul 6 2001 UECHI Yasumasa <uh@u.dhis.portside.net>
  144. - 3.0.1-0vl1
  145. - version up to 3.0.1
  146. * Sat Jun 23 2001 Tomoya TAKA <tomoya@olive.plala.or.jp>
  147. - 3.0+-0vl3
  148. - add PreReq: /sbin/install-info, handle info pages in %%post and %%preun
  149. * Sat Jun 23 2001 UECHI Yasumasa <uh@u.dhis.portside.net>
  150. - 3.0+-0vl2
  151. - libeb.a, libeb.la, libeb.so move to eb-devel
  152. * Fri Jun 22 2001 UECHI Yasumasa <uh@u.dhis.portside.net>
  153. - 3.0+-0vl1
  154. - version up to 3.0+
  155. * Thu Aug 31 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  156. - 2.3.7-0vl4
  157. - modified %files section to handle compressed info page(s)
  158. * Tue Jun 13 2000 Takuya Yamazaki <ytakuya@mx6.mesh.ne.jp>
  159. - to prevent eb and eb-devel from conflicting with ndtpd
  160. * Sun Jun 11 2000 Takuya Yamazaki <ytakuya@mx6.mesh.ne.jp>
  161. - to split eb of 1st release into eb and eb-devel
  162. * Fri May 19 2000 Takuya Yamazaki <ytakuya@mx6.mesh.ne.jp>
  163. - 1st release