source: projects/specs/trunk/t/twm/twm-vl.spec @ 9775

Revision 9775, 4.8 KB checked in by Takemikaduchi, 9 years ago (diff)

kernel-4.1, xserver-1.17.2, VirtualBox?-4.3.32, etc.

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