twm-vl.spec 4.2 KB

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