twm-vl.spec 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. Summary: X.Org X11 twm window manager
  2. Summary(ja): X.Org X11 twm ウィンドウマネージャ
  3. Name: twm
  4. Version: 1.0.7
  5. Release: 1%{?_dist_release}
  6. License: MIT/X11
  7. Group: User Interface/X
  8. URL: http://www.x.org
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  10. Source0: ftp://ftp.x.org/pub/individual/app/%{name}-%{version}.tar.bz2
  11. BuildRequires: pkgconfig
  12. # checking TWM_LIBS... -lXmu -lXt -lSM -lICE -lXext -lX11 -ldl
  13. BuildRequires: libX11-devel
  14. BuildRequires: libXt-devel
  15. BuildRequires: libXmu-devel
  16. BuildRequires: libSM-devel
  17. BuildRequires: libICE-devel
  18. BuildRequires: libXext-devel
  19. BuildRequires: libXau-devel
  20. BuildRequires: bison
  21. BuildRequires: flex
  22. Obsoletes: XOrg-twm
  23. Vendor: Project Vine
  24. Distribution: Vine Linux
  25. %description
  26. X.Org X11 twm window manager
  27. %prep
  28. %setup -q -n %{name}-%{version}
  29. %build
  30. # FIXME: Work around pointer aliasing warnings from compiler for now
  31. export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
  32. %configure
  33. make
  34. %install
  35. rm -rf $RPM_BUILD_ROOT
  36. make install DESTDIR=$RPM_BUILD_ROOT
  37. # FIXME: Upstream sources do not create the system wide twm config dir, nor
  38. # install the default config file currently. We'll work around it here for now.
  39. {
  40. echo "FIXME: Upstream doesn't install systemwide config by default"
  41. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/X11/twm
  42. install -m 0644 src/system.twmrc $RPM_BUILD_ROOT%{_sysconfdir}/X11/twm/
  43. rm $RPM_BUILD_ROOT%{_datadir}/X11/twm/system.twmrc
  44. }
  45. %clean
  46. rm -rf $RPM_BUILD_ROOT
  47. %files
  48. %defattr(-,root,root,-)
  49. %doc AUTHORS COPYING NEWS README ChangeLog
  50. %{_bindir}/twm
  51. #%dir %{_mandir}/man1x
  52. %{_mandir}/man1/twm.1*
  53. %dir %{_sysconfdir}/X11/twm
  54. %config %{_sysconfdir}/X11/twm/system.twmrc
  55. %changelog
  56. * Wed Aug 17 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.7-1
  57. - new upstream release
  58. * Sat Jan 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.6-1
  59. - new upstream release
  60. * Sat Dec 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.5-1
  61. - new upstream release
  62. - add BuildRequires: bison, flex
  63. * Sat Jul 05 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1..0.4-1
  64. - new upstream release
  65. * Mon May 12 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.3-1
  66. - initial build for Vine Linux
  67. * Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1:1.0.3-2
  68. - Autorebuild for GCC 4.3
  69. * Wed Aug 22 2007 Dave Airlie <airlied@redhat.com> - 1.0.3-1
  70. - Upgrade to 1.0.3 - fix URI for source
  71. - no sure about the system.twmrc, rm the spare copy for now
  72. * Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1:1.0.1-4
  73. - Rebuild for build id
  74. * Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> - 1:1.0.1-4
  75. - Don't install INSTALL
  76. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1:1.0.1-3.1
  77. - rebuild
  78. * Wed Jun 21 2006 Mike A. Harris <mharris@redhat.com> 1:1.0.1-3
  79. - Bump and rebuild with minor specfile cleanups.
  80. - Add documentation to doc list, even though half of it is 0 bytes. Ah well.
  81. * Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1:1.0.1-2
  82. - Added "BuildRequires: pkgconfig" for (#194186)
  83. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1:1.0.1-1.2
  84. - bump again for double-long bug on ppc(64)
  85. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1:1.0.1-1.1
  86. - rebuilt for new gcc4.1 snapshot and glibc changes
  87. * Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1:1.0.1-1
  88. - Updated to twm 1.0.1 from X11R7.0
  89. * Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1:1.0.0-1
  90. - Updated to twm 1.0.0 from X11R7 RC4.
  91. - Change manpage dir from man1x to man1 to match RC4 default.
  92. * Tue Nov 15 2005 Mike A. Harris <mharris@redhat.com> 1:0.99.1-4
  93. - Added "BuildRequires: libXau-devel", as twm fails without it, but does not
  94. check for it with ./configure. Bug (fdo#5065)
  95. * Wed Nov 02 2005 Mike A. Harris <mharris@redhat.com> 1:0.99.1-3
  96. - Actually spell RPM_OPT_FLAGS correctly this time.
  97. * Mon Oct 31 2005 Mike A. Harris <mharris@redhat.com> 1:0.99.1-2
  98. - Build with -fno-strict-aliasing to work around possible pointer aliasing
  99. issues
  100. * Mon Oct 31 2005 Mike A. Harris <mharris@redhat.com> 1:0.99.1-1
  101. - Updated to twm 0.99.1 from X11R7 RC1.
  102. - Added Epoch 1 to package, to be able to change the version number from the
  103. X11R7 release number to the actual twm version.
  104. - Change manpage location to 'man1x' in file manifest
  105. * Wed Oct 05 2005 Mike A. Harris <mharris@redhat.com> 6.99.99.0-2
  106. - Update BuildRequires to match new library naming scheme
  107. - Use Fedora Extras style BuildRoot declaration
  108. * Wed Aug 24 2005 Mike A. Harris <mharris@redhat.com> 6.99.99.0-1
  109. - Initial build.