twm-vl.spec 4.7 KB

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