twm-vl.spec 4.0 KB

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