]> git.pld-linux.org Git - packages/byobu.git/blob - byobu.spec
c3417ed3696b7f5f9c3b008e3b3c00c57504861f
[packages/byobu.git] / byobu.spec
1 Summary:        A set of useful profiles and a profile-switcher for GNU screen
2 Summary(hu.UTF-8):      Hasznos profilok és profilváltó gyűjteménye a GNU screen-hez
3 Name:           byobu
4 Version:        2.36
5 Release:        0.1
6 License:        GPL
7 Group:          Applications/System
8 Source0:        http://code.launchpad.net/byobu/trunk/2.36/+download/%{name}_%{version}.orig.tar.gz
9 # Source0-md5:  6dd84835ec1e7b3b4bf7f7e2da952896
10 URL:            https://code.launchpad.net/byobu
11 BuildRequires:  gettext
12 Requires:       newt
13 Requires:       python >= 2.5
14 Requires:       screen
15 BuildArch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Byobu is an elegant enhancement of the otherwise functional, plain,
20 practical GNU Screen. Byobu includes an enhanced profile and
21 configuration utilities for the GNU screen window manager, such as
22 toggle-able system status notifications.
23
24 %description -l hu.UTF-8
25 Byobu egy elegáns kiterjesztése az amúgy használható, egyszerű,
26 praktikus GNU screen-nek. A Byobu tartalmaz egy kiterjesztett profilt
27 és konfigurációs eszközöket a GNU screen ablakkezelőhöz, pl. a
28 ki/bekapcsolható rendszer státusz jelentéseket.
29
30 %prep
31 %setup -q -n %{name}_%{version}.orig
32
33 %build
34 profiles_generator/generate
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38
39 debian/rules install-po
40 install -d $RPM_BUILD_ROOT%{_libdir}/byobu
41 install -d $RPM_BUILD_ROOT%{_datadir}/locale
42 install -d $RPM_BUILD_ROOT%{_datadir}/byobu/profiles
43 install -d $RPM_BUILD_ROOT%{_datadir}/byobu/keybindings
44 install -d $RPM_BUILD_ROOT%{_datadir}/byobu/windows
45 install -d $RPM_BUILD_ROOT%{_bindir}
46 install -d $RPM_BUILD_ROOT%{_sysconfdir}/byobu
47 install -d $RPM_BUILD_ROOT%{_mandir}/man1
48 %{__cp} bin/* $RPM_BUILD_ROOT%{_libdir}/byobu
49 %{__cp} -r po/locale/* $RPM_BUILD_ROOT%{_datadir}/locale
50 %{__rm} -rf $RPM_BUILD_ROOT%{_datadir}/locale/la
51 %{__cp} profiles/{byoburc,common,NONE,black,dark,light} $RPM_BUILD_ROOT%{_datadir}/byobu/profiles
52 ln -sf f-keys $RPM_BUILD_ROOT%{_datadir}/byobu/keybindings/common
53 %{__cp} keybindings/{f-keys,none} $RPM_BUILD_ROOT%{_datadir}/byobu/keybindings
54 %{__cp} windows/common $RPM_BUILD_ROOT%{_datadir}/byobu/windows
55 %{__cp} byobu byobu-{select-profile,config,launcher,janitor,export,status,status-detail} \
56         motd+shell $RPM_BUILD_ROOT%{_bindir}
57 %{__cp} byobu-launcher-{,un}install $RPM_BUILD_ROOT%{_datadir}/byobu
58 %{__cp} profiles/*_* $RPM_BUILD_ROOT%{_datadir}/byobu/profiles
59 %{__cp} statusrc $RPM_BUILD_ROOT%{_sysconfdir}/byobu
60 %{__cp} *.1 $RPM_BUILD_ROOT%{_mandir}/man1
61
62 %find_lang %{name}
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %files -f %{name}.lang
68 %defattr(644,root,root,755)
69 %attr(755,root,root) %{_bindir}/motd+shell
70 %attr(755,root,root) %{_bindir}/byobu-launcher
71 %attr(755,root,root) %{_bindir}/byobu-janitor
72 %attr(755,root,root) %{_bindir}/byobu
73 %attr(755,root,root) %{_bindir}/byobu-config
74 %attr(755,root,root) %{_bindir}/byobu-export
75 %attr(755,root,root) %{_bindir}/byobu-status
76 %attr(755,root,root) %{_bindir}/byobu-status-detail
77 %attr(755,root,root) %{_bindir}/byobu-select-profile
78 %{_libdir}/byobu
79 %{_datadir}/byobu
80 %{_sysconfdir}/byobu
81 %doc README doc/help.txt debian/changelog
82 %{_mandir}/man1/*
This page took 0.049826 seconds and 2 git commands to generate.