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

Revision 9483, 8.2 KB checked in by inagaki, 9 years ago (diff)

2015-04-03 Ryoichi INAGAKI <ryo1@…>

  • anthy: updated patch
  • m17n-db, m17n-lib, xosview: updated
  • uim: updated spec


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