]> git.pld-linux.org Git - packages/dvtm.git/blob - dvtm.spec
- unicode and iso builds
[packages/dvtm.git] / dvtm.spec
1 Summary:        dvtm brings the concept of tiling window management to the console (UTF version)
2 Summary(hu.UTF-8):      dvtm a tiling ablakkezelést valósítja meg konzolon
3 Name:           dvtm
4 Version:        0.5
5 Release:        0.1
6 License:        MIT/X
7 Group:          Applications/Terminal
8 Source0:        http://www.brain-dump.org/projects/dvtm/%{name}-%{version}.tar.gz
9 # Source0-md5:  076db11f53440c194cf24deceb469321
10 URL:            http://www.brain-dump.org/projects/dvtm/
11 BuildRequires:  ncurses-devel
12 BuildRequires:  sed >= 4.0
13 Requires:       %{name}-common = %{version}-%{release}
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 dvtm brings the concept of tiling window management, popularized by
18 X11-window managers like dwm to the console. As a console window
19 manager it tries to make it easy to work with multiple console based
20 programs like vim, mutt, cmus or irssi.
21
22 %description -l hu.UTF-8
23 dvtm a tiling ablakkezelők (pl. dwm) koncepcióját valósítja meg
24 konzolon. Egy konzolos ablakkezelőként próbálja meg könnyűvé tenni a
25 munkát több konzol alapú programmal egyidőben, mint pl. a vim, mutt,
26 cmus vagy irssi.
27
28 %package common
29 Summary:        Common files of dvtm
30 Summary(hu.UTF-8):      A dvtm általános fájljai
31 Group:          Applications/Terminal
32
33 %description common
34 Common files of dvtm.
35
36 %description common -l hu.UTF-8
37 A dvtm általános fájljai
38
39 %package iso
40 Summary:        ISO version of dvtm
41 Summary(hu.UTF-8):      ISO verzió a dvtm-ből
42 Group:          Applications/Terminal
43 Requires:       %{name}-common = %{version}-%{release}
44
45 %description iso
46 ISO version of dvtm.
47
48 %description iso -l hu.UTF-8
49 ISO verzió a dvtm-ből.
50
51 %prep
52 %setup -q
53 %{__sed} -i "s@^PREFIX.*@PREFIX = %{_prefix}@ ; \
54         s@\(^INCS =.*\)@\1 -I/usr/include/ncursesw@" config.mk
55
56 %build
57 # iso version
58 %{__make}
59 mv dvtm dvtm-iso
60
61 # we want unicode
62 %{__make} unicode
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66 %{__make} install DESTDIR=$RPM_BUILD_ROOT
67 install dvtm-iso $RPM_BUILD_ROOT%{_bindir}
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %files
73 %defattr(644,root,root,755)
74 %attr(755,root,root) %{_bindir}/dvtm
75
76 %files common
77 %doc README
78 %attr(755,root,root) %{_bindir}/dvtm-status
79 %{_mandir}/man1/dvtm*
80
81 %files iso
82 %attr(755,root,root) %{_bindir}/dvtm-iso
This page took 0.105625 seconds and 3 git commands to generate.