twm-vl.spec 4.7 KB

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