]> git.pld-linux.org Git - packages/ctwm.git/blob - ctwm.spec
- massive attack: adding Source-md5
[packages/ctwm.git] / ctwm.spec
1 Summary:        CTWM - an extention to the twm window manager
2 Summary(pl):    CTWM - rozszerzenie do zarz±dcy okien twm
3 Name:           ctwm
4 Version:        3.6
5 Release:        1
6 License:        GPL
7 Group:          X11/Window Managers
8 Source0:        http://ctwm.dl.nu/dist/%{name}-%{version}.tar.gz
9 # Source0-md5:  c9e9e161e07e3d1c7e27684436f01e2b
10 Source1:        %{name}.desktop
11 Patch0:         %{name}-pld-dir.patch
12 BuildRequires:  XFree86-devel
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %define         _wmpropsdir     /usr/share/wm-properties
16
17 %description
18 CTWM is an extension to twm, that support multiple virtual screens,
19 and a lot of other goodies. You can use and manage up to 32 virtual
20 screens called workspaces. You swap from one workspace to another by
21 clicking on a button in an optional panel of buttons (the workspace
22 manager) or by invoking a function. This is the GNU libc version
23 (RedHat 5.0/TurboLinux 2.0 and above).
24
25 %description -l pl
26 CTWM jest rozszerzeniem twm obs³uguj±cym wiele ekranów wirtualnych
27 oraz posiadaj±cycm wiele innych u¿ytecznych funkcji. Mo¿na u¿ywaæ i
28 zarz±dzaæ nawet 32 ekranami wirtualnymi zwanymi "przestrzeni± robocz±"
29 (workspace). Mo¿na siê miêdzy nimi prze³±czaæ klikaj±c na przycisku w
30 opcjonalnym panelu (zarz±dcy przestrzeni roboczej) lub wywo³uj±c
31 funkcjê. Jest to wersja wspó³pracuj±ca z GNU libc (RedHat
32 5.0/TurboLinux 2.0 i wy¿sze).
33
34 %prep
35 %setup -q
36 %patch -p1
37
38 %build
39 xmkmf
40
41 %{__make} \
42         CDEBUGFLAGS="%{rpmcflags}" \
43         CXXDEBUGFLAGS="%{rpmcflags}" \
44         PIXDIR=/etc/X11/
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT%{_bindir} \
49         $RPM_BUILD_ROOT%{_mandir}/man1 \
50         $RPM_BUILD_ROOT/etc/X11/twm \
51         $RPM_BUILD_ROOT%{_libdir}/X11/ctwm \
52         $RPM_BUILD_ROOT%{_wmpropsdir}
53
54 %{__make} DESTDIR=$RPM_BUILD_ROOT install
55 %{__make} DESTDIR=$RPM_BUILD_ROOT install.man
56
57 install %{SOURCE1} $RPM_BUILD_ROOT%{_wmpropsdir}
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc CHANGES PROBLEMS README ctwm.txt sound.doc
65 %config /etc/X11/twm/system.ctwmrc
66 %{_wmpropsdir}/ctwm.desktop
67
68 %attr(755,root,root) %{_bindir}/ctwm
69 %{_mandir}/man1/*
70 %{_libdir}/X11/ctwm
This page took 0.066372 seconds and 3 git commands to generate.