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