eb-vl.spec 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. Summary: C Library for accessing CD-ROM books
  2. Summary(ja): CD-ROM 書籍にアクセスするための C ライブラリ
  3. Name: eb
  4. Version: 4.4.1
  5. Release: 1%{?_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. * Wed Jul 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.1-1
  87. - new upstream release
  88. - added --disable-static option to %%configure
  89. * Sat Nov 15 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.3-1vl5
  90. - new upstream release
  91. - updated %%preun section for uninstalling info files
  92. * Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 4.3-1vl5
  93. - applied new versioning policy, spec in utf-8
  94. - removed *.la
  95. * Thu Dec 13 2007 IWAI, Masaharu <iwai@alib.jp> 4.3-0vl1
  96. - new upstrem release
  97. - update License tag's value
  98. - add Japanese summary
  99. * Sat Jul 23 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 4.1.1-0vl2
  100. - add Japanese summary and description to devel package
  101. * Sat Oct 30 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 4.1.1-0vl1
  102. - version up to 4.1.1
  103. * Wed Jul 07 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 4.1-0vl1
  104. - version up to 4.1
  105. - change from Copyright GPL to License BSD
  106. * Tue May 4 2004 IWAI, Masaharu <iwai@alib.jp> 4.0-0vl1
  107. - version up to 4.0+
  108. - update to 4.0 (Source0)
  109. - add 4.0+ patch (Patch0)
  110. - add eb4.m4 file for devel package
  111. * Mon Jul 21 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 3.3.4-0vl1
  112. - version up to 3.3.4
  113. * Thu Jun 12 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 3.3.3-0vl1
  114. - version up to 3.3.3
  115. * Fri Mar 14 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org>
  116. - 3.3.2-0vl1
  117. - version up to 3.3.2
  118. * Mon Feb 17 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org>
  119. - 3.3-2vl1
  120. - version up to 3.3+2
  121. * Sat Feb 08 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org>
  122. - 3.3-1vl1
  123. - version up to 3.3+
  124. * Sun Nov 24 2002 KOBAYASHI R. Taizo <tkoba@ike-dyn.ritsumie.ac.jp>
  125. - 3.2.3-0vl1
  126. - version up to 3.2.3
  127. * Fri Jun 21 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 3.2.2-3vl2
  128. - eliminated Patch0(eb-3.1+.diff), 1(eb-3.1+2.diff) and 2(eb-3.1+3.diff)
  129. - merged 3.2.2-0vl1 for Vine-2.5 Plus's Spec file
  130. * Tue Jun 11 2002 Satoshi Tanaka <tnim@mint.freemail.ne.jp>
  131. - update eb.spec and release 3.2.20vl1 for Vine Linux 2.x
  132. * Tue Mar 30 2002 Satoshi Tanaka <tnim@mint.freemail.ne.jp>
  133. - Update version 3.2.1 for Vine Linux 2.1.5
  134. - version up to 3.2.2
  135. - use rpm macros
  136. * Mon Nov 12 2001 KOBAYASHI R. Taizo <tkoba@ike-dyn.ritsumie.ac.jp>
  137. - 3.1-3vl1
  138. - version up to 3.1+3
  139. * Fri Jul 6 2001 UECHI Yasumasa <uh@u.dhis.portside.net>
  140. - 3.0.1-0vl1
  141. - version up to 3.0.1
  142. * Sat Jun 23 2001 Tomoya TAKA <tomoya@olive.plala.or.jp>
  143. - 3.0+-0vl3
  144. - add PreReq: /sbin/install-info, handle info pages in %%post and %%preun
  145. * Sat Jun 23 2001 UECHI Yasumasa <uh@u.dhis.portside.net>
  146. - 3.0+-0vl2
  147. - libeb.a, libeb.la, libeb.so move to eb-devel
  148. * Fri Jun 22 2001 UECHI Yasumasa <uh@u.dhis.portside.net>
  149. - 3.0+-0vl1
  150. - version up to 3.0+
  151. * Thu Aug 31 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  152. - 2.3.7-0vl4
  153. - modified %files section to handle compressed info page(s)
  154. * Tue Jun 13 2000 Takuya Yamazaki <ytakuya@mx6.mesh.ne.jp>
  155. - to prevent eb and eb-devel from conflicting with ndtpd
  156. * Sun Jun 11 2000 Takuya Yamazaki <ytakuya@mx6.mesh.ne.jp>
  157. - to split eb of 1st release into eb and eb-devel
  158. * Fri May 19 2000 Takuya Yamazaki <ytakuya@mx6.mesh.ne.jp>
  159. - 1st release