Remove some useless headers from our .desktop, drop in a slightly hacked and untested specfile from fedora. Closes LP #
This commit is contained in:
parent
29d5eacbc9
commit
e5b3827428
|
@ -10,11 +10,6 @@ TryExec=terminator
|
||||||
Exec=terminator
|
Exec=terminator
|
||||||
Icon=terminator
|
Icon=terminator
|
||||||
Type=Application
|
Type=Application
|
||||||
X-GNOME-DocPath=
|
Categories=GNOME;GTK;Utility;TerminalEmulator;System;
|
||||||
X-GNOME-Bugzilla-Bugzilla=
|
|
||||||
X-GNOME-Bugzilla-Product=
|
|
||||||
X-GNOME-Bugzilla-Component=
|
|
||||||
X-GNOME-Bugzilla-Version=
|
|
||||||
Categories=GNOME;GTK;Utility;TerminalEmulator;
|
|
||||||
StartupNotify=true
|
StartupNotify=true
|
||||||
X-Ubuntu-Gettext-Domain=terminator
|
X-Ubuntu-Gettext-Domain=terminator
|
||||||
|
|
111
terminator.spec
111
terminator.spec
|
@ -1,58 +1,103 @@
|
||||||
Summary: Terminator, The robot future of terminals
|
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
Name: terminator
|
|
||||||
Version: 0.9
|
Name: terminator
|
||||||
Release: 1.fc9.rb
|
Version: 0.12
|
||||||
License: GPLv2+
|
Release: 3%{?dist}
|
||||||
Group: Terminals
|
Summary: Store and run multiple GNOME terminals in one window
|
||||||
URL: http://www.tenshu.net/terminator/
|
|
||||||
|
Group: User Interface/Desktops
|
||||||
|
License: GPLv2
|
||||||
|
URL: http://www.tenshu.net/terminator
|
||||||
|
Source0: http://code.launchpad.net/terminator/trunk/%{version}/+download/terminator_%{version}.tar.gz
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
Source: http://code.launchpad.net/terminator/trunk/%{version}/+download/terminator_%{version}.tar.gz
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel gettext desktop-file-utils
|
||||||
Requires: vte, gnome-python2-gconf, GConf2
|
Requires: vte gnome-python2-gconf GConf2 gtk2 desktop-file-utils
|
||||||
Packager: Emmanuel Bretelle <chantra AatT rpm-based DdOoTt org>
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Multiple GNOME terminals in one window
|
Multiple GNOME terminals in one window. This is a project to produce
|
||||||
This is a project to produce an efficient way of filling a
|
an efficient way of filling a large area of screen space with
|
||||||
large area of screen space with terminals. This is done by
|
terminals. This is done by splitting the window into a resizeable
|
||||||
splitting the window into a resizeable grid of terminals. As
|
grid of terminals. As such, you can produce a very flexible
|
||||||
such, you can produce a very flexible arrangements of terminals
|
arrangements of terminals for different tasks.
|
||||||
for different tasks.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q
|
||||||
|
sed -i '/#! \?\/usr.*/d' terminatorlib/*.py
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%__python setup.py build
|
%{__python} setup.py build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%__rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
%__python setup.py install --root=%{buildroot} --record=FILELIST.tmp
|
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
|
||||||
grep -v man/man FILELIST.tmp > FILELIST
|
%find_lang %{name}
|
||||||
|
rm -f %{buildroot}/%{_datadir}/icons/hicolor/icon-theme.cache
|
||||||
|
rm -f %{buildroot}/%{_datadir}/applications/%{name}.desktop
|
||||||
|
desktop-file-install --dir=${RPM_BUILD_ROOT}%{_datadir}/applications data/%{name}.desktop
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
%__rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%files -f FILELIST
|
|
||||||
|
%files -f %{name}.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc README COPYING ChangeLog
|
%doc README COPYING ChangeLog
|
||||||
%doc %{_mandir}/man1/terminator.*
|
%{_mandir}/man1/%{name}.*
|
||||||
%doc %{_mandir}/man5/terminator_config.*
|
%{_mandir}/man5/%{name}_config.*
|
||||||
|
%{_bindir}/%{name}
|
||||||
|
%{python_sitelib}/*
|
||||||
|
%{_datadir}/applications/%{name}.desktop
|
||||||
|
%{_datadir}/icons/hicolor/*/*/%{name}*.png
|
||||||
|
%{_datadir}/icons/hicolor/*/*/%{name}*.svg
|
||||||
|
%{_datadir}/pixmaps/%{name}.png
|
||||||
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
touch --no-create %{_datadir}/icons/hicolor ||:
|
gtk-update-icon-cache -qf %{_datadir}/icons/hicolor &>/dev/null || :
|
||||||
gtk-update-icon-cache -q %{_datadir}/icons/hicolor &> /dev/null ||:
|
|
||||||
update-desktop-database &> /dev/null ||:
|
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
touch --no-create %{_datadir}/icons/hicolor ||:
|
gtk-update-icon-cache -qf %{_datadir}/icons/hicolor &>/dev/null || :
|
||||||
gtk-update-icon-cache -q %{_datadir}/icons/hicolor &> /dev/null ||:
|
|
||||||
update-desktop-database &> /dev/null ||:
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 15 2009 Chris Jones <cmsj@tenshu.net> 0.12-1
|
||||||
|
- Remove patch application since this isn't a fedora build.
|
||||||
|
Note that this specfile is untested.
|
||||||
|
|
||||||
|
* Mon Dec 08 2008 Ian Weller <ianweller@gmail.com> 0.11-3
|
||||||
|
- Patch version in terminatorlib/verison.py to the one we think it is
|
||||||
|
- Fix License tag
|
||||||
|
- Update post and postun scripts with one line
|
||||||
|
|
||||||
|
* Mon Dec 01 2008 Ian Weller <ianweller@gmail.com> 0.11-2
|
||||||
|
- Add BuildRequires: gettext
|
||||||
|
- Fix installation of .desktop file
|
||||||
|
- terminator-0.11-desktop.patch:
|
||||||
|
Remove useless things
|
||||||
|
Move to same category as gnome-terminal
|
||||||
|
- Uses spaces instead of tabs in the specfile because I can't stand tabs
|
||||||
|
|
||||||
|
* Mon Dec 01 2008 Ian Weller <ianweller@gmail.com> 0.11-1
|
||||||
|
- Update upstream
|
||||||
|
- Fix description to something useful
|
||||||
|
- Fix group
|
||||||
|
- Fix some specfile oddities
|
||||||
|
- Complete/restandardize file list
|
||||||
|
- Get rid of she-bangs in python_sitelib
|
||||||
|
|
||||||
|
* Sat Sep 13 2008 - Max Spevack <mspevack AT redhat DOT com> 0.10
|
||||||
|
- New upstream release.
|
||||||
|
- Tried to make sure the spec file matches guidelines on Fedora wiki.
|
||||||
|
|
||||||
* Fri Jul 08 2008 - chantra AatT rpm-based DdOoTt org 0.9.fc9.rb
|
* Fri Jul 08 2008 - chantra AatT rpm-based DdOoTt org 0.9.fc9.rb
|
||||||
- New upstream release
|
- New upstream release
|
||||||
|
|
||||||
* Sat May 17 2008 - chantra AatT rpm-based DdOoTt org 0.8.1.fc9.rb
|
* Sat May 17 2008 - chantra AatT rpm-based DdOoTt org 0.8.1.fc9.rb
|
||||||
- Initial release for Fedora 9.
|
- Initial release for Fedora 9.
|
||||||
|
|
Loading…
Reference in New Issue