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

Revision 2357, 4.2 KB checked in by Takemikaduchi, 14 years ago (diff)

update xorg packages

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