]> git.pld-linux.org Git - packages/wmSun.git/blob - wmSun.spec
- cosmetic changes for common l&f.
[packages/wmSun.git] / wmSun.spec
1 Summary:        wmSun displays the current day's Sun Rise and Set Times
2 Summary(pl):    wmSun wy¶wietla aktualny czas wschodu i zachodu s³oñca
3 Name:           wmSun
4 Version:        1.03
5 Release:        2
6 Copyright:      GPL
7 Group:          X11/Window Managers/Tools
8 Group(pl):      X11/Zarz±dcy Okien/Narzêdzia
9 Source0:        ftp://leadbelly.lanl.gov/pub/mgh/%{name}-%{version}.tar.gz
10 Source1:        wmSun.wmconfig
11 BuildPrereq:    XFree86-devel
12 BuildPrereq:    xpm-devel
13 BuildRoot:      /tmp/%{name}-%{version}-root
14
15 %define _prefix /usr/X11R6
16
17 %description
18 wmSun displays the current day's Sun Rise and Set Times.
19 You must enter your LAtitude and Longitude correctly for it to work.
20
21 %description -l pl
22 wmSun wy¶wietla aktualne godziny wschodu i zachodu s³oñca.
23 Aby program dzia³a³ poprawnie, musisz podaæ w³a¶ciw± dla
24 miejsca, w którym przebywasz, d³ugo¶æ i szeroko¶æ geograficzn±.
25
26 %prep
27 %setup -q
28
29 %build
30 make -C %{name} clean
31 make -C %{name} \
32         CFLAGS="$RPM_OPT_FLAGS -Wall"
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} \
37         $RPM_BUILD_ROOT/etc/X11/wmconfig
38
39 install -s %{name}/%{name} $RPM_BUILD_ROOT%{_bindir}
40 install %{name}/%{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
41
42 install %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/wmconfig/%{name}
43
44 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
45         BUGS TODO
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc {BUGS,TODO}.gz
53 %attr(755,root,root) %{_bindir}/%{name}
54 %{_mandir}/man1/%{name}.1.gz
55 /etc/X11/wmconfig/%{name}
56
57 %changelog
58 * Sun May 16 1999 Piotr Czerwiñski <pius@pld.org.pl>
59   [1.03-2]
60 - modified spec file for PLD use,
61 - package is now FHS 2.0 compliant.     
62
63 * Tue Feb 9 1998 Ian Macdonald <ianmacd@xs4all.nl>
64 - first RPM release.
This page took 0.039158 seconds and 4 git commands to generate.