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