twm-vl.spec 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. Summary: X.Org X11 twm window manager
  2. Summary(ja): X.Org X11 twm ウィンドウマネージャ
  3. Name: twm
  4. Version: 1.0.9
  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. 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. * Sun Oct 25 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.9-1
  61. - new upstream release
  62. * Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.8-1
  63. - new upstream release
  64. * Sat Jan 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.7-2
  65. - add Source1: twm.desktop
  66. * Wed Aug 17 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.7-1
  67. - new upstream release
  68. * Sat Jan 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.6-1
  69. - new upstream release
  70. * Sat Dec 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.5-1
  71. - new upstream release
  72. - add BuildRequires: bison, flex
  73. * Sat Jul 05 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1..0.4-1
  74. - new upstream release
  75. * Mon May 12 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.3-1
  76. - initial build for Vine Linux
  77. * Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1:1.0.3-2
  78. - Autorebuild for GCC 4.3
  79. * Wed Aug 22 2007 Dave Airlie <airlied@redhat.com> - 1.0.3-1
  80. - Upgrade to 1.0.3 - fix URI for source
  81. - no sure about the system.twmrc, rm the spare copy for now
  82. * Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1:1.0.1-4
  83. - Rebuild for build id
  84. * Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> - 1:1.0.1-4
  85. - Don't install INSTALL
  86. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1:1.0.1-3.1
  87. - rebuild
  88. * Wed Jun 21 2006 Mike A. Harris <mharris@redhat.com> 1:1.0.1-3
  89. - Bump and rebuild with minor specfile cleanups.
  90. - Add documentation to doc list, even though half of it is 0 bytes. Ah well.
  91. * Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1:1.0.1-2
  92. - Added "BuildRequires: pkgconfig" for (#194186)
  93. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1:1.0.1-1.2
  94. - bump again for double-long bug on ppc(64)
  95. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1:1.0.1-1.1
  96. - rebuilt for new gcc4.1 snapshot and glibc changes
  97. * Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1:1.0.1-1
  98. - Updated to twm 1.0.1 from X11R7.0
  99. * Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1:1.0.0-1
  100. - Updated to twm 1.0.0 from X11R7 RC4.
  101. - Change manpage dir from man1x to man1 to match RC4 default.
  102. * Tue Nov 15 2005 Mike A. Harris <mharris@redhat.com> 1:0.99.1-4
  103. - Added "BuildRequires: libXau-devel", as twm fails without it, but does not
  104. check for it with ./configure. Bug (fdo#5065)
  105. * Wed Nov 02 2005 Mike A. Harris <mharris@redhat.com> 1:0.99.1-3
  106. - Actually spell RPM_OPT_FLAGS correctly this time.
  107. * Mon Oct 31 2005 Mike A. Harris <mharris@redhat.com> 1:0.99.1-2
  108. - Build with -fno-strict-aliasing to work around possible pointer aliasing
  109. issues
  110. * Mon Oct 31 2005 Mike A. Harris <mharris@redhat.com> 1:0.99.1-1
  111. - Updated to twm 0.99.1 from X11R7 RC1.
  112. - Added Epoch 1 to package, to be able to change the version number from the
  113. X11R7 release number to the actual twm version.
  114. - Change manpage location to 'man1x' in file manifest
  115. * Wed Oct 05 2005 Mike A. Harris <mharris@redhat.com> 6.99.99.0-2
  116. - Update BuildRequires to match new library naming scheme
  117. - Use Fedora Extras style BuildRoot declaration
  118. * Wed Aug 24 2005 Mike A. Harris <mharris@redhat.com> 6.99.99.0-1
  119. - Initial build.