]> git.pld-linux.org Git - packages/byobu.git/blame - byobu.spec
up to 5.111
[packages/byobu.git] / byobu.spec
CommitLineData
2b3e186c
ZU
1Summary: A set of useful profiles and a profile-switcher for GNU screen
2Summary(hu.UTF-8): Hasznos profilok és profilváltó gyűjteménye a GNU screen-hez
2e06fbbb 3Summary(pl.UTF-8): Zestaw przydatnych profili oraz przełącznik profili dla GNU screena
2b3e186c 4Name: byobu
c6331c1b 5Version: 5.111
691ed72a 6Release: 1
f896fdc8 7License: GPL v3
2b3e186c 8Group: Applications/System
f896fdc8 9Source0: https://code.launchpad.net/byobu/trunk/%{version}/+download/%{name}_%{version}.orig.tar.gz
c6331c1b 10# Source0-md5: 286151043876bf9f7e884f95f706aa73
f896fdc8 11URL: https://launchpad.net/byobu
d420996e 12BuildRequires: gettext-tools
d3ce91ff 13BuildRequires: rpm-pythonprov
f896fdc8
ER
14BuildRequires: rpmbuild(macros) >= 1.596
15Requires: desktop-file-utils
2e06fbbb 16Requires: python >= 1:2.5
dcd70459 17Requires: python-snack
58a24a03 18Suggests: screen
f1b85bf3 19Suggests: tmux >= 1.5
2b3e186c
ZU
20BuildArch: noarch
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
a90e290a
ER
23%define _noautocompressdoc '*.txt'
24
f896fdc8
ER
25%define _libexecdir %{_prefix}/lib
26
2b3e186c
ZU
27%description
28Byobu is an elegant enhancement of the otherwise functional, plain,
29practical GNU Screen. Byobu includes an enhanced profile and
30configuration utilities for the GNU screen window manager, such as
31toggle-able system status notifications.
32
33%description -l hu.UTF-8
34Byobu egy elegáns kiterjesztése az amúgy használható, egyszerű,
35praktikus GNU screen-nek. A Byobu tartalmaz egy kiterjesztett profilt
36és konfigurációs eszközöket a GNU screen ablakkezelőhöz, pl. a
37ki/bekapcsolható rendszer státusz jelentéseket.
38
2e06fbbb
JB
39%description -l pl.UTF-8
40Byobu to eleganckie rozszerzenie dla funkcjonalnego, zwykłego,
41praktycznego GNU screena. Byobu zawiera rozszerzony profil oraz
42narzędzia konfiguracyjne dla zarządcy okien, jakim jest GNU screen
43- takie jak przełączane powiadomienia o stanie systemu.
44
2b3e186c 45%prep
f896fdc8 46%setup -q
2b3e186c 47
a90e290a
ER
48%{__sed} -i -e '
49 s#/share/doc/byobu#/share/doc/%{name}-%{version}#
50' usr/share/byobu/keybindings/*
51
52# cleanup backups after patching
53find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
54
2b3e186c 55%build
f896fdc8
ER
56%configure
57%{__make}
58
59for po in po/*.po; do
60 lang=${po#po/}
61 lang=${lang%.po}
62 mkdir -p locale/${lang}/LC_MESSAGES/
63 msgfmt ${po} -o locale/${lang}/LC_MESSAGES/%{name}.mo
64done
2b3e186c
ZU
65
66%install
67rm -rf $RPM_BUILD_ROOT
f896fdc8
ER
68%{__make} install \
69 INSTALL="install -p" \
70 CP="cp -p" \
f896fdc8
ER
71 DESTDIR=$RPM_BUILD_ROOT
72
bf09bee7
ER
73# some debian hackery, just use the "current" one for pld
74install -d $RPM_BUILD_ROOT%{_desktopdir}
75mv $RPM_BUILD_ROOT{%{_datadir}/%{name}/desktop,%{_desktopdir}}/%{name}.desktop
bf09bee7 76
f896fdc8 77%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
2b3e186c 78
f896fdc8
ER
79install -d $RPM_BUILD_ROOT%{_localedir}
80cp -a locale/* $RPM_BUILD_ROOT%{_localedir}
2b3e186c
ZU
81
82%find_lang %{name}
83
84%clean
85rm -rf $RPM_BUILD_ROOT
86
f896fdc8
ER
87%post
88%update_desktop_database
89
90%postun
91%update_desktop_database
92
2b3e186c
ZU
93%files -f %{name}.lang
94%defattr(644,root,root,755)
f896fdc8
ER
95%doc README
96%doc usr/share/doc/byobu/*.txt
97%dir %{_sysconfdir}/%{name}
98%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/backend
99%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/socketdir
2b3e186c
ZU
100%attr(755,root,root) %{_bindir}/byobu
101%attr(755,root,root) %{_bindir}/byobu-config
f896fdc8
ER
102%attr(755,root,root) %{_bindir}/byobu-ctrl-a
103%attr(755,root,root) %{_bindir}/byobu-disable
104%attr(755,root,root) %{_bindir}/byobu-disable-prompt
105%attr(755,root,root) %{_bindir}/byobu-enable
106%attr(755,root,root) %{_bindir}/byobu-enable-prompt
2b3e186c 107%attr(755,root,root) %{_bindir}/byobu-export
f896fdc8
ER
108%attr(755,root,root) %{_bindir}/byobu-janitor
109%attr(755,root,root) %{_bindir}/byobu-keybindings
110%attr(755,root,root) %{_bindir}/byobu-launch
111%attr(755,root,root) %{_bindir}/byobu-launcher
112%attr(755,root,root) %{_bindir}/byobu-launcher-install
113%attr(755,root,root) %{_bindir}/byobu-launcher-uninstall
114%attr(755,root,root) %{_bindir}/byobu-layout
115%attr(755,root,root) %{_bindir}/byobu-prompt
116%attr(755,root,root) %{_bindir}/byobu-quiet
117%attr(755,root,root) %{_bindir}/byobu-reconnect-sockets
118%attr(755,root,root) %{_bindir}/byobu-screen
119%attr(755,root,root) %{_bindir}/byobu-select-backend
120%attr(755,root,root) %{_bindir}/byobu-select-profile
121%attr(755,root,root) %{_bindir}/byobu-select-session
122%attr(755,root,root) %{_bindir}/byobu-shell
123%attr(755,root,root) %{_bindir}/byobu-silent
2b3e186c
ZU
124%attr(755,root,root) %{_bindir}/byobu-status
125%attr(755,root,root) %{_bindir}/byobu-status-detail
f896fdc8
ER
126%attr(755,root,root) %{_bindir}/byobu-tmux
127%attr(755,root,root) %{_bindir}/byobu-ugraph
128%attr(755,root,root) %{_bindir}/byobu-ulevel
129%attr(755,root,root) %{_bindir}/col1
130%attr(755,root,root) %{_bindir}/ctail
bf09bee7
ER
131%attr(755,root,root) %{_bindir}/manifest
132%attr(755,root,root) %{_bindir}/purge-old-kernels
f896fdc8
ER
133%attr(755,root,root) %{_bindir}/vigpg
134%attr(755,root,root) %{_bindir}/wifi-status
135%{_mandir}/man1/*.1*
bf09bee7
ER
136/etc/profile.d/Z97-byobu.sh
137%{_datadir}/dbus-1/services/us.kirkland.terminals.byobu.service
50e506b4
ER
138%{_desktopdir}/%{name}.desktop
139# preserve +x bits where needed
140%defattr(-,root,root,-)
f896fdc8
ER
141%{_libexecdir}/%{name}
142%{_datadir}/%{name}
This page took 0.259737 seconds and 4 git commands to generate.