source: projects/specs/trunk/x/xosview/xosview-vl.spec @ 5946

Revision 5946, 7.9 KB checked in by shaolin, 12 years ago (diff)
  • xosview: new upstream release
Line 
1%define desktop_file 1
2%if %{desktop_file}
3%define desktop_file_utils_version 0.2.90
4%endif
5
6Summary: An X Window System utility for monitoring system resources.
7Summary(ja): X Window System のシステムリソースモニタ
8Name: xosview
9Version: 1.9.2
10Release: 1%{?_dist_release}
11URL:           http://www.pogo.org.uk/~mark/xosview/
12Source0:       http://www.pogo.org.uk/~mark/xosview/releases/xosview-1.9.2.tar.gz
13# An old png file is being used for the icon.  It is located at:
14Source1:       http://roxos.sunsite.dk/dev-contrib/guido/XOsview.png
15Patch0:        xosview-1.9.2-appdef.patch
16Group: Applications/System
17# The netbsd/swapinternal.{cc,h} source files are BSD only (with
18# advertising), but neither file is used in the linux version of
19# xosview.  Instead, the source files used are linux/swapmeter.{cc,h},
20# both of which fall under the GPL. All other files are either GPL
21# based, or can fall under either the BSD or GPL copyright.
22License: GPL+
23Buildroot: %{_tmppath}/%{name}-%{version}-root
24# XXX ia64 needs porting work
25ExcludeArch: alpha ia64 sparc
26
27BuildRequires: libX11-devel
28BuildRequires: libXpm-devel
29%if %{desktop_file}
30BuildRequires: desktop-file-utils >= %{desktop_file_utils_version}
31%endif
32Requires: xorg-x11-fonts-misc
33
34%description
35The xosview utility displays a set of bar graphs which show the
36current system state, including memory usage, CPU usage, system load,
37etc. Xosview runs under the X Window System.
38
39%description -l ja
40xosview は,メモリ・CPU の使用率やシステム負荷など,現在のシステムの
41状態をグラフで表示するユーティリティです.xosview は X Window System
42上で動作します.
43
44
45%prep
46%setup -q
47%patch0 -p1
48
49
50%build
51%configure
52%{__make} %{?_smp_mflags} all
53
54cat > %{name}.desktop <<EOF
55[Desktop Entry]
56Encoding=UTF-8
57Name=OS Resource Viewer
58Comment=
59Exec=xosview
60Terminal=false
61Type=Application
62Icon=xosview
63Categories=Utility;System;
64EOF
65
66
67%install
68%{__rm} -rf %{buildroot}
69%{__install} -d %{buildroot}%{_bindir}   \
70    %{buildroot}%{_mandir}/man1          \
71    %{buildroot}%{_datadir}/icons        \
72    %{buildroot}%{_datadir}/applications \
73    %{buildroot}%{_datadir}/X11/app-defaults
74
75%{__make} install PREFIX_TO_USE=%{buildroot}%{_prefix} INSTALL="%{__install} -p"
76
77%{__install} -p -m 0644 %{SOURCE1} %{buildroot}%{_datadir}/icons/%{name}.png
78desktop-file-install --dir %{buildroot}%{_datadir}/applications %{name}.desktop
79
80
81%clean
82rm -rf %{buildroot}
83
84
85%files
86%defattr(-,root,root,-)
87%doc CHANGES COPYING COPYING.GPL README README.linux TODO
88%{_bindir}/%{name}
89%{_mandir}/man1/%{name}.1*
90%{_datadir}/icons/%{name}.png
91%{_datadir}/X11/app-defaults/XOsview
92%{_datadir}/applications/%{name}.desktop
93
94
95%changelog
96* Thu Mar 22 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.9.2-1
97- new upstream release; new upstream location
98- spec revamp based on Fedora
99
100* Thu Jun  5 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.3-1
101- rebuilt with xorg-x11 7.3
102- fixed installed location
103- added -DHAVE_SNPRINTF flags to CXXFLAGS
104- spec in UTF-8
105
106* Sun May 13 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.8.3-0vl2
107- rebuilt with new toolchain
108
109* Mon Jan  8 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.3-0vl1
110- new upstream release
111- changed %desktop_file to 1
112
113* Wed Jul 13 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.2-0vl1
114- new upstream release, work on kernel 2.6
115- dropped Patches (which were merged into upstream)
116- added BuildRequires: XOrg-devel
117
118* Thu Mar 20 2003 IWAI Masaharu <iwai@alib.jp> 1.8.0-9vl2
119- add README*, TODO and CHANGES in the document directory
120
121* Wed Nov 27 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.8.0-9vl1
122- based on 1.8.0-9 from Rawhide and built for Vine Linux
123- built with new toolchain environment
124- %%define desktop_file 0 for Vine
125- the previous Vine version was 1.7.1-2vl5. The changelog was as follows:
126
127  - Fri Mar 15 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.7.1-2vl5
128  - rebuilt with glibc > 2.2
129
130  - Wed Jul 18 2001 <sagami@vinelinux.org>
131  - 1.7.1-2vl5: use %%{ix86} for _arch instead of i386 :-)
132
133  - Tue Feb 20 2001 Tomoya TAKA <tomoya@olive.plala.or.jp>
134  - 1.7.1-2vl4
135  - add alpha patch (%%patch1) from Kondara
136  - include alpha, again
137
138  - Thu Jan 25 2001 Tomoya TAKA <tomoya@olive.plala.or.jp>
139  - 1.7.1-2vl3
140  - ExcludeArch: alpha :-P
141  - added Japanese summary and description
142
143  - Sun Nov 12 2000 MACHINO, Satoshi <machino@vinelinux.org> 1.7.1-2vl2
144  - build on gcc-2.95.3
145  - added patch0 for i386
146  - partially used rpmmacros
147
148  - Wed Feb 16 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
149  - 1.7.1-2vl1
150  - modified spec for ppc archtecture
151
152* Tue Sep 17 2002 Than Ngo <than@redhat.com> 1.8.0-9
153- Adjust some patch files (bug #74141)
154
155* Sat Aug 10 2002 Elliot Lee <sopwith@redhat.com>
156- rebuilt with gcc-3.2 (we hope)
157
158* Wed Jul 24 2002 Than Ngo <than@redhat.com> 1.8.0-7
159- desktop file issue (bug #69551)
160
161* Tue Jul 23 2002 Tim Powers <timp@redhat.com> 1.8.0-6
162- build using gcc-3.2-0.1
163
164* Fri Jun 21 2002 Tim Powers <timp@redhat.com> 1.8.0-5
165- automated rebuild
166
167* Thu Jun 20 2002 Than Ngo <than@redhat.com> 1.8.0-4
168- Don't forcibly strip binaries
169
170* Sun Jun 2 2002 Than Ngo <than@redhat.com> 1.8.0-3
171- fix a bug in cpumeter (bug #64798)
172
173* Thu May 23 2002 Tim Powers <timp@redhat.com>
174- automated rebuild
175
176* Wed Apr 24 2002 Karsten Hopp <karsten@redhat.de> 1.8.0-1
177- update to current version
178- redo .proc patch
179- change URLs
180
181* Fri Feb 22 2002 Than Ngo <than@redhat.com> 1.7.3-10
182- rebuild in new environment.
183
184* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
185- automated rebuild
186
187* Tue Dec 18 2001 Than Ngo <than@redhat.com> 1.7.3-8
188- xosview +net goes into hard loop (bug #57150)
189- add patch for building against g++ 3
190- use RPM_OPT_FLAG
191
192* Wed Nov 14 2001 Than Ngo <than@redhat.com> 1.7.3-7
193- added missing Icon in desktop file
194- fixed Url
195
196* Wed Sep 12 2001 Tim Powers <timp@redhat.com>
197- rebuild with new gcc and binutils
198
199* Tue Apr 10 2001 Phil Knirsch <pknirsch@redhat.de>
200- Fix for s390 patch to actually work
201
202* Tue Mar 20 2001 Preston Brown <pbrown@redhat.com>
203- fix up .desktop entry
204
205* Sun Feb 11 2001 Florian La Roche <Florian.LaRoche@redhat.de>
206- fix typo
207
208* Sun Feb 11 2001 Florian La Roche <Florian.LaRoche@redhat.de>
209- adjusted s390 patches
210
211* Wed Jan 31 2001 Preston Brown <pbrown@redhat.com>
212- upgrade to 1.7.3, fixes (#11380)
213
214* Mon Jan 15 2001 Than Ngo <than@redhat.com>
215- ported to ibm s/390
216
217* Tue Jul 25 2000 Jeff Johnson <jbj@redhat.com>
218- migrate wmconfig to applnk.
219
220* Fri Jul 14 2000 Jeff Johnson <jbj@redhat.com>
221- rebuild the auto-rebuild.
222- exclude alpha and i164 for now.
223
224* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
225- automatic rebuild
226
227* Tue Jul  2 2000 Jakub Jelinek <jakub@redhat.com>
228- Rebuild with new C++
229
230* Fri Jun  2 2000 Jeff Johnson <jbj@redhat.com>
231- rebuild for 7.0
232
233* Mon Feb 14 2000 Matt Wilson <msw@redhat.com>
234- rebuild on i386
235
236* Mon Feb  7 2000 Jeff Johnson <jbj@redhat.com>
237- compress man pages.
238
239* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
240- auto rebuild in the new build environment (release 2)
241
242* Mon Mar  8 1999 Jeff Johnson <jbj@redhat.com>
243- updated to 1.7.1.
244
245* Wed Mar  3 1999 Matt Wilson <msw@redhat.com>
246- updated to 1.7.0
247
248* Fri Feb  5 1999 Bill Nottingham <notting@redhat.com>
249- build against new libstdc++, build on arm
250
251* Tue Dec 22 1998 Jeff Johnson <jbj@redhat.com>
252- update to 1.6.2.a.
253
254* Tue Jun 16 1998 Jeff Johnson <jbj@redhat.com>
255- add sparc/alpha functionality.
256- add %clean
257
258* Mon Jun 01 1998 Prospector System <bugs@redhat.com>
259- translations modified for de
260
261* Mon Jun 01 1998 Erik Troan <ewt@redhat.com>
262- how the hell did this get setuid root?
263
264* Thu May 07 1998 Prospector System <bugs@redhat.com>
265- translations modified for de, fr, tr
266
267* Wed Apr 29 1998 Cristian Gafton <gafton@redhat.com>
268- upgraded to 1.5.1 (so that it compiles with egcs)
269- buildroot
270
271* Tue Nov  4 1997 Erik Troan <ewt@redhat.com>
272- commented out line causing core dumps when exiting
273
274* Fri Oct 24 1997 Marc Ewing <marc@redhat.com>
275- wmconfig
276
277* Fri Aug 22 1997 Erik Troan <ewt@redhat.com>
278- built against glibc
Note: See TracBrowser for help on using the repository browser.