]> git.pld-linux.org Git - packages/wmSun.git/blob - wmSun.spec
- small replacements.
[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 %description
16 wmSun displays the current day's Sun Rise and Set Times.
17 You must enter your LAtitude and Longitude correctly for it to work.
18
19 %description -l pl
20 wmSun wy¶wietla aktualne godziny wschodu i zachodu s³oñca.
21 Aby program dzia³a³ poprawnie, musisz podaæ w³a¶ciw± dla
22 miejsca, w którym przebywasz, d³ugo¶æ i szeroko¶æ geograficzn±.
23
24 %prep
25 %setup -q
26
27 %build
28 make -C wmSun clean
29 make -C wmSun \
30         CFLAGS="$RPM_OPT_FLAGS -Wall"
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT/usr/X11R6/{bin,share/man/man1} \
35         $RPM_BUILD_ROOT/etc/X11/wmconfig
36
37 install -s wmSun/wmSun $RPM_BUILD_ROOT/usr/X11R6/bin
38 install wmSun/wmSun.1 $RPM_BUILD_ROOT/usr/X11R6/share/man/man1
39
40 install %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/wmconfig/wmSun
41
42 gzip -9nf $RPM_BUILD_ROOT/usr/X11R6/share/man/man1/* \
43         BUGS TODO
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc {BUGS,TODO}.gz
51 %attr(755,root,root) /usr/X11R6/bin/wmSun
52 /usr/X11R6/share/man/man1/wmSun.1.gz
53 /etc/X11/wmconfig/wmSun
54
55 %changelog
56 * Sun May 16 1999 Piotr Czerwiñski <pius@pld.org.pl>
57   [1.03-2]
58 - modified spec file for PLD use,
59 - package is now FHS 2.0 compliant.     
60
61 * Tue Feb 9 1998 Ian Macdonald <ianmacd@xs4all.nl>
62 - first RPM release.
This page took 0.047935 seconds and 4 git commands to generate.