Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > b7e8e1f7e14ad8504e8c40d7e8937ff3 > files > 1

byobu-2.67-1mdv2010.1.src.rpm

%define name	byobu
%define version 2.67
%define release %mkrel 1

Summary: 	Profiles for the GNU screen manager
Name: 	 	%{name}
Version: 	%{version}
Release: 	%{release}
Source0: 	http://launchpad.net/byobu/trunk/%{version}/+download/%{name}_%{version}.orig.tar.gz
License: 	GPLv3+
Group:		Terminals
Url:		https://launchpad.net/byobu
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildArch:	noarch
BuildRequires:	gettext
Requires:	screen, python >= 2.5, newt, gettext

%description
byobu includes a set of profiles for the GNU screen window
manager. These profiles are quite useful on server machines which are
not running a graphical desktop. The 'screen' command provides a
number of advanced features are not necessarily exposed in the default
profile. These profiles provide features such as status bars, clocks,
notifiers (reboot-required, updates-available), etc. The
profile-switcher allows users to quickly switch their .screenrc to any
of the available profiles.

%prep
%setup -q

%install
%__rm -rf %{buildroot}

mkdir -p %{buildroot}
cp -ar etc %{buildroot}
cp -ar usr %{buildroot}
rm -rf %{buildroot}/usr/share/doc

for po in po/*.po
do
    lang=${po#po/}
    lang=${lang%.po}
    mkdir -p ${RPM_BUILD_ROOT}/usr/share/locale/${lang}/LC_MESSAGES/
    msgfmt ${po} -o ${RPM_BUILD_ROOT}/usr/share/locale/${lang}/LC_MESSAGES/%{name}.mo
done

%clean
%__rm -rf %{buildroot}

%files 
%defattr(-,root,root)
%doc README COPYING 
%doc usr/share/doc/%{name}/help.txt
%dir %{_datadir}/%{name}
%dir %{_prefix}/lib/%{name}
%dir %{_sysconfdir}/%{name}
%config %{_sysconfdir}/%{name}/*
%{_bindir}/%{name}*
%{_bindir}/motd+shell
%{_datadir}/applications/%{name}.desktop
%{_datadir}/%{name}/*
%{_datadir}/locale/*/LC_MESSAGES/%{name}.mo
%{_mandir}/man1/%{name}*.1.*
%{_mandir}/man1/motd+shell.1.*
%{_prefix}/lib/%{name}/*


%changelog
* Thu Apr 01 2010 Lev Givon <lev@mandriva.org> 2.67-1mdv2010.1
+ Revision: 530557
- Update to 2.67.

* Mon Mar 15 2010 Lev Givon <lev@mandriva.org> 2.64-1mdv2010.1
+ Revision: 519113
- Update to 2.64.

* Tue Dec 15 2009 Lev Givon <lev@mandriva.org> 2.40-1mdv2010.1
+ Revision: 478768
- Update to 2.40.

* Wed Oct 14 2009 Frederic Crozat <fcrozat@mandriva.com> 2.38-2mdv2010.0
+ Revision: 457257
- use find_lang macro
- fix missing common keybinding files
- clean up specfile

* Tue Oct 13 2009 Frederic Crozat <fcrozat@mandriva.com> 2.38-1mdv2010.0
+ Revision: 457112
- Release 2.38

  + Lev Givon <lev@mandriva.org>
    - Update to 2.37.

* Mon Aug 31 2009 Lev Givon <lev@mandriva.org> 2.29-1mdv2010.0
+ Revision: 423027
- Update to 2.29.

* Thu Aug 13 2009 Lev Givon <lev@mandriva.org> 2.25-1mdv2010.0
+ Revision: 416056
- Update to 2.25.

* Thu Jul 23 2009 Lev Givon <lev@mandriva.org> 2.23-1mdv2010.0
+ Revision: 399051
- Update to 2.23.

* Mon Jul 13 2009 Lev Givon <lev@mandriva.org> 2.20-1mdv2010.0
+ Revision: 395521
- Update to 2.20.

* Tue Jun 23 2009 Lev Givon <lev@mandriva.org> 2.15-1mdv2010.0
+ Revision: 388678
- Update to 2.15.

* Wed Jun 03 2009 Lev Givon <lev@mandriva.org> 2.8-1mdv2010.0
+ Revision: 382533
- imported package byobu