From 6db643526a2077f540c4361b5d9f314a268becbf Mon Sep 17 00:00:00 2001 From: Jan Klepek Date: May 02 2010 19:09:56 +0000 Subject: initial import --- diff --git a/.cvsignore b/.cvsignore index e69de29..233396c 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +byobu_2.73.orig.tar.gz diff --git a/byobu.spec b/byobu.spec new file mode 100644 index 0000000..15054bd --- /dev/null +++ b/byobu.spec @@ -0,0 +1,94 @@ +Name: byobu +Version: 2.73 +Release: 1%{?dist} +Summary: Light-weight, configurable window manager built upon GNU screen + +Group: Applications/System +License: GPLv3 +URL: http://launchpad.net/byobu +Source0: http://code.launchpad.net/byobu/trunk/%{version}/+download/byobu_%{version}.orig.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch + +BuildRequires: gettext, desktop-file-utils +Requires: screen, python >= 2.5, newt, gettext + +%Description +Byobu is a Japanese term for decorative, multi-panel screens that serve +as folding room dividers. As an open source project, Byobu is an +elegant enhancement of the otherwise functional, plain, +practical GNU Screen. Byobu includes an enhanced profile +and configuration utilities for the GNU screen window manager, +such as toggle-able system status notifications. + +%prep +%setup -q + +# fix path +FILES="usr/share/man/man1/byobu-status.1 usr/share/byobu/tests/byobu-time-notifications usr/bin/byobu-status usr/bin/byobu-export usr/lib/byobu/updates_available" +for i in $FILES; do +sed -i "s#usr/lib#%{_libexecdir}#g" $i; +done +# remove categories +sed -i "s/GNOME;GTK;//g" usr/share/applications/byobu.desktop +# fix path for po files +sed -i "s#gettext.bindtextdomain(PKG, SHARE+'/po')#gettext.bindtextdomain(PKG, '%{_datadir}/locale')#g" usr/bin/byobu-config +# fix path for help file +sed -i "s#DOC='/usr/share/doc/'+PKG#DOC='/usr/share/doc/'+PKG+'-%{version}'#g" usr/bin/byobu-config + +%build + +%install +rm -rf %{buildroot} +mkdir -p %{buildroot}%{_libexecdir} +mkdir -p %{buildroot}%{_datadir} +mkdir -p %{buildroot}%{_bindir} +cp -par etc %{buildroot}/ +cp -par usr/bin/* %{buildroot}%{_bindir} +cp -par usr/share/* %{buildroot}%{_datadir} +cp -par usr/lib/* %{buildroot}%{_libexecdir}/ +rm -rf %{buildroot}%{_docdir} + +for po in po/*.po +do + lang=${po#po/} + lang=${lang%.po} + mkdir -p %{buildroot}%{_datadir}/locale/${lang}/LC_MESSAGES/ + msgfmt ${po} -o %{buildroot}%{_datadir}/locale/${lang}/LC_MESSAGES/%{name}.mo +done +desktop-file-install usr/share/applications/%{name}.desktop --dir %{buildroot}%{_datadir}/applications + +%find_lang %{name} + +%clean +rm -rf %{buildroot} + + +%files -f %{name}.lang +%defattr(-,root,root,-) +%doc README COPYING +%doc usr/share/doc/%{name}/help.txt +%dir %{_datadir}/%{name} +%dir %{_libexecdir}/%{name} +%dir %{_sysconfdir}/%{name} +%config(noreplace) %{_sysconfdir}/%{name}/* +%{_bindir}/%{name}* +%{_bindir}/motd+shell +%{_datadir}/applications/%{name}.desktop +%{_datadir}/%{name}/* +%{_mandir}/man1/%{name}*.1.gz +%{_mandir}/man1/motd+shell.1.gz +%{_libexecdir}/%{name}/* + +%changelog +* Sun May 2 2010 Jan Klepek - 2.73-1 +- new version released + +* Wed Apr 21 2010 Jan Klepek - 2.67-3 +- adjusted SHARE path + +* Tue Apr 20 2010 Jan Klepek - 2.67-2 +- adjusted path for looking for po files and removed duplicate file entry + +* Fri Apr 2 2010 Jan Klepek - 2.67-1 +- Initial fedora RPM release diff --git a/import.log b/import.log new file mode 100644 index 0000000..4d4aee4 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +byobu-2_73-1_fc11:F-12:byobu-2.73-1.fc11.src.rpm:1272827365 diff --git a/sources b/sources index e69de29..07f3812 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +cc985d606bd28cb5572ea6794fe7e960 byobu_2.73.orig.tar.gz