neXtaw-vl.spec 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. %define For_Vine 1
  2. %define sversion 0.15.1
  3. %define srelease 1
  4. Name: neXtaw
  5. Version: %{sversion}
  6. Source0: http://siag.nu/pub/neXtaw/neXtaw-%{sversion}.tar.gz
  7. # Patch0: neXtaw-0.11.glibc22x.time.h
  8. License: distributable
  9. Packager: Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp>
  10. Group: System Environment/Libraries
  11. Summary: N*XTStep-ish replacement library for Xaw
  12. Summary(ja): N*XTライクなAthenaウィジェット
  13. URL: http://www.siag.nu/neXtaw/
  14. Icon: AFstep.gif
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. Prefix: %{_prefix}
  17. %if %{For_Vine}
  18. Release: %{srelease}%{?_dist_release}
  19. Vendor: Project Vine
  20. Distribution: Vine Linux
  21. %else
  22. Release: %{srelease}
  23. %endif
  24. # NoSource: 0
  25. %description
  26. neXtaw is a modified version of the Athena Widgets with a N*XTStep look. Goes
  27. great with a nice tall glass of Afterstep!
  28. This RPM contains the shared libraries.
  29. %description -l ja
  30. Athenaウィジェットを使ったアプリケーションの外観をN*XTSTEPのように変えます。
  31. 利用するには、プログラムを修正してneXtawのライブラリを明示的にリンクし、
  32. /usr/doc/neXtaw-*/Xdefaults を各自の ~/.Xdefaults あるいは ~/.Xresources に
  33. 追加する必要があります。
  34. このパッケージには、shared library が納められています。
  35. %package devel
  36. Summary: Files for developing programs that use neXtaw
  37. Group: Development/Libraries
  38. Requires: %name = %{PACKAGE_VERSION}
  39. %description devel
  40. neXtaw is a modified version of the Athena Widgets with a N*XTStep look.
  41. This RPM contains all of the fun things that you'll need to compile things
  42. with neXtaw.
  43. %description devel -l ja
  44. Athenaウィジェットを使ったアプリケーションの外観をN*XTSTEPのように変えます。
  45. このパッケージには、neXtaw を用いたプログラムのコンパイルに必要なファイル
  46. 群が納められています。
  47. %prep
  48. %setup -q
  49. # %patch0 -p1
  50. %build
  51. if [ -x /usr/bin/getconf ] ; then
  52. NRPROC=$(/usr/bin/getconf _NPROCESSORS_ONLN)
  53. if [ $NRPROC -eq 0 ] ; then
  54. NRPROC=1
  55. fi
  56. if [ $NRPROC -gt 1 ] ; then
  57. NRPROC=2
  58. fi
  59. else
  60. NRPROC=1
  61. fi
  62. CFLAGS=${RPM_OPT_FLAGS} ./configure \
  63. --prefix=%{prefix} \
  64. --libdir=%{_libdir} \
  65. --sysconfdir=%{_sysconfdir} \
  66. --mandir=%{_mandir}
  67. make -j $NRPROC MAKE="make -j $NRPROC"
  68. %install
  69. rm -rf $RPM_BUILD_ROOT
  70. make DESTDIR="$RPM_BUILD_ROOT" install
  71. ln -s ./X11/neXtaw $RPM_BUILD_ROOT%{prefix}/include/neXtaw
  72. %post
  73. /sbin/ldconfig
  74. %postun
  75. /sbin/ldconfig
  76. %clean
  77. rm -rf $RPM_BUILD_ROOT
  78. %files
  79. %defattr(-,root,root)
  80. %doc README doc/README.XAW3D doc/CHANGES doc/FAQ doc/TODO doc/app-defaults
  81. %{prefix}/%{_lib}/libneXtaw.so*
  82. %files devel
  83. %defattr(-,root,root)
  84. %{prefix}/%{_lib}/libneXtaw.a
  85. #%{prefix}/lib/libneXtaw.la
  86. %{prefix}/include/neXtaw
  87. %{prefix}/include/X11/neXtaw/
  88. %changelog
  89. * Wed Oct 08 2008 Shu KONNO <owa@bg.wakwak.com> 0.15.1-1vl5
  90. - applied new versioning policy, spec in utf-8
  91. - removed *.la
  92. - modified library-path
  93. * Sun Nov 19 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp>
  94. - 0.15.1-0vl1
  95. - build for VinePlus 4.0
  96. * Sat Nov 11 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp>
  97. - 0.15.1-0vl0.32
  98. - new upstream release
  99. - build for VinePlus 3.2
  100. * Sun Aug 03 2003 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp>
  101. - 0.14-0vl4
  102. - rebuild for VineSeed Plus
  103. * Sun Jun 22 2003 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp>
  104. - 0.14-0vl3
  105. - fix typo in changelog
  106. * Sun Jun 22 2003 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp>
  107. - 0.14-0vl2
  108. - fix typo in changelog
  109. - remove rpm macros (distribution, vender) from build env
  110. - add Vendor, Distribution tags for VinePlus
  111. * Fri Apr 12 2003 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp>
  112. - 0.14-0vl1
  113. - update source
  114. * Fri May 03 2002 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp>
  115. - 0.12-0vl1 / 0.12-1
  116. - update source
  117. - remove patch (neXtaw-0.11.glibc22x.time.h)
  118. * Mon Feb 11 2002 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp>
  119. - 0.11-0vl1 / 0.11-1
  120. - update source
  121. - update patch (neXtaw-0.11.glibc22x.time.h)
  122. - update URL
  123. - remove neXtaw-neXtclock package
  124. * Tue Jan 01 2002 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp>
  125. - 0.9-0vl4 / 0.9-4
  126. - enable neXtaw.glibc22x.time.h patch for glibc 2.2.x
  127. * Sun Nov 25 2001 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp>
  128. - 0.9-0vl3 / 0.9-3
  129. - add switch For VineLinux
  130. * Wed Nov 14 2001 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp>
  131. - 0.9-0vl2
  132. - fix files list
  133. * Wed Nov 14 2001 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp>
  134. - 0.9-0vl1
  135. - This package based neXtaw-0.9-8k.nosrc.rpm (Kondara)