wmgtemp: Use 'char' instead of 'unsigned char' for bit mask.
[dockapps.git] / wmcalclockkbd / wmCalClockKbd.spec
bloba8471a6b9e57c1da04ac869f85730b083e447f4f
1 %define prefix /usr/local
3 Summary: dockable time, calendar and keyboard applet for Window Maker
4 Name: wmCalClockKbd
5 Version: 0.1a
6 Release: 1
7 Source0: %{name}-%{version}.tar.gz
8 License: GPL
9 Group: X11/Utilities
10 BuildRoot: %{_tmppath}/%{name}-root
11 Packager: Petr Hlavka <xhlavk00@stud.fit.vutbr.cz>
12 Requires: XFree86 >= 4.3
13 URL: http://www.stud.fit.vutbr.cz/~xhlavk00/wmCalClockKbd/
15 %description
16 wmCalClockKbd has all features of wmCalClock and add very simple actual
17 keyboard group identificator (for XFree86 >= 4.3.0).
18 In another way, it's dockable application for WindowMaker (but you can also
19 use it in AfterStep, BlackBox, ...) window manager. wmCalClockKbd can show
20 actual time, date and keyboard group.
22 %prep
23 %setup -q
25 %build
26 echo "%{prefix}" > PREFIX
27 make
29 %install
30 rm -rf $RPM_BUILD_ROOT
31 mkdir -p -m 0755 $RPM_BUILD_ROOT%{prefix}/bin
32 cp -f src/wmCalClockKbd $RPM_BUILD_ROOT%{prefix}/bin
33 mkdir -p -m 0755 $RPM_BUILD_ROOT%{prefix}/share/man/man1
34 cp -f src/wmCalClockKbd.1 $RPM_BUILD_ROOT%{prefix}/share/man/man1/
35 mkdir -p -m 0755 $RPM_BUILD_ROOT%{prefix}/share/%{name}
36 cp -f pixmaps/*.xpm $RPM_BUILD_ROOT%{prefix}/share/%{name}/
37 cp -f pixmaps/COPYING $RPM_BUILD_ROOT%{prefix}/share/%{name}/
39 %clean
40 if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
41 if [ -d $RPM_BUILD_DIR/%{name}-%{version} ]; then rm -rf $RPM_BUILD_DIR/%{name}-%{version}; fi
43 %files
44 %defattr(-,root,root)
45 %attr(0755,root,root) %{prefix}/bin/wmCalClockKbd
46 %doc ChangeLog COPYING README AUTHORS NEWS INSTALL BUGS TODO
47 %{prefix}/share/%{name}
48 %{prefix}/share/%{name}/*.xpm
49 %{prefix}/share/%{name}/COPYING
50 %{prefix}/share/man/man1/wmCalClockKbd.1
52 %changelog
53 * Thu Nov 04 2004 Petr Hlavka
54 - added Russian and French flags
56 * Fri Sep 12 2003 Petr Hlavka
57 - initial release