]> git.pld-linux.org Git - packages/wmSun.git/blob - wmSun.spec
- fixed build on amd64, switched to vfolders; release 5
[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:        5
6 License:        GPL
7 Group:          X11/Window Managers/Tools
8 Source0:        http://nis-www.lanl.gov/~mgh/WindowMaker/%{name}-%{version}.tar.gz
9 # Source0-md5:  defc6747ebdb64b5d3afe91f916d3acc
10 Source1:        %{name}.desktop
11 URL:            http://nis-www.lanl.gov/~mgh/WindowMaker/DockApps.shtml
12 BuildRequires:  XFree86-devel
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 wmSun displays the current day's Sun Rise and Set Times. You must
17 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. Aby program
21 dzia³a³ poprawnie trzeba podaæ d³ugo¶æ i szeroko¶æ geograficzn± dla
22 miejsca, w którym przebywamy.
23
24 %prep
25 %setup -q
26
27 %build
28 %{__make} -C %{name} clean
29 %{__make} -C %{name} \
30         CFLAGS="%{rpmcflags} -Wall" \
31         LIBDIR="-L/usr/X11R6/%{_lib}"
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_desktopdir}/docklets}
36
37 install %{name}/%{name} $RPM_BUILD_ROOT%{_bindir}
38 install %{name}/%{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
39
40 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/docklets
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %doc BUGS TODO
48 %attr(755,root,root) %{_bindir}/%{name}
49 %{_mandir}/man1/%{name}.1*
50 %{_desktopdir}/docklets/wmSun.desktop
This page took 0.062983 seconds and 4 git commands to generate.