eb-vl.spec 6.1 KB

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