~gnome-terminator/terminator/gtk3

644 by Chris Jones
Remove some useless headers from our .desktop, drop in a slightly hacked and untested specfile from fedora. Closes LP #
1
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
2
3
Name:           terminator
775.1.187 by Chris Jones
Hand merge in from trunk
4
Version:        0.14
644 by Chris Jones
Remove some useless headers from our .desktop, drop in a slightly hacked and untested specfile from fedora. Closes LP #
5
Release:        3%{?dist}
6
Summary:        Store and run multiple GNOME terminals in one window
7
8
Group:          User Interface/Desktops
9
License:        GPLv2
10
URL:            http://www.tenshu.net/terminator
11
Source0:        http://code.launchpad.net/terminator/trunk/%{version}/+download/terminator_%{version}.tar.gz
12
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
13
14
BuildArch:      noarch
15
BuildRequires:  python-devel gettext desktop-file-utils
16
Requires:       vte gnome-python2-gconf GConf2 gtk2 desktop-file-utils
368.1.2 by Emmanuel Bretelle
Adding .spec file
17
18
%description
644 by Chris Jones
Remove some useless headers from our .desktop, drop in a slightly hacked and untested specfile from fedora. Closes LP #
19
Multiple GNOME terminals in one window.  This is a project to produce
20
an efficient way of filling a large area of screen space with
21
terminals. This is done by splitting the window into a resizeable
22
grid of terminals. As such, you can  produce a very flexible
23
arrangements of terminals for different tasks.
24
368.1.2 by Emmanuel Bretelle
Adding .spec file
25
26
%prep
644 by Chris Jones
Remove some useless headers from our .desktop, drop in a slightly hacked and untested specfile from fedora. Closes LP #
27
%setup -q
28
sed -i '/#! \?\/usr.*/d' terminatorlib/*.py
29
368.1.2 by Emmanuel Bretelle
Adding .spec file
30
31
%build
644 by Chris Jones
Remove some useless headers from our .desktop, drop in a slightly hacked and untested specfile from fedora. Closes LP #
32
%{__python} setup.py build
33
368.1.2 by Emmanuel Bretelle
Adding .spec file
34
35
%install
644 by Chris Jones
Remove some useless headers from our .desktop, drop in a slightly hacked and untested specfile from fedora. Closes LP #
36
rm -rf %{buildroot}
37
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
38
%find_lang %{name}
39
rm -f %{buildroot}/%{_datadir}/icons/hicolor/icon-theme.cache
40
rm -f %{buildroot}/%{_datadir}/applications/%{name}.desktop
770 by Chris Jones
Build fix for RPM from shingen. Closes LP #343644
41
desktop-file-install --dir=${RPM_BUILD_ROOT}%{_datadir}/applications data/%{name}.desktop --vendor=""
644 by Chris Jones
Remove some useless headers from our .desktop, drop in a slightly hacked and untested specfile from fedora. Closes LP #
42
368.1.2 by Emmanuel Bretelle
Adding .spec file
43
44
%clean
644 by Chris Jones
Remove some useless headers from our .desktop, drop in a slightly hacked and untested specfile from fedora. Closes LP #
45
rm -rf %{buildroot}
46
47
48
%files -f %{name}.lang
368.1.2 by Emmanuel Bretelle
Adding .spec file
49
%defattr(-,root,root)
50
%doc README COPYING ChangeLog
644 by Chris Jones
Remove some useless headers from our .desktop, drop in a slightly hacked and untested specfile from fedora. Closes LP #
51
%{_mandir}/man1/%{name}.*
52
%{_mandir}/man5/%{name}_config.*
53
%{_bindir}/%{name}
54
%{python_sitelib}/*
55
%{_datadir}/applications/%{name}.desktop
56
%{_datadir}/icons/hicolor/*/*/%{name}*.png
57
%{_datadir}/icons/hicolor/*/*/%{name}*.svg
58
%{_datadir}/pixmaps/%{name}.png
59
428 by Emmanuel Bretelle
fixes .spec
60
61
%post
644 by Chris Jones
Remove some useless headers from our .desktop, drop in a slightly hacked and untested specfile from fedora. Closes LP #
62
gtk-update-icon-cache -qf %{_datadir}/icons/hicolor &>/dev/null || :
63
428 by Emmanuel Bretelle
fixes .spec
64
65
%postun
644 by Chris Jones
Remove some useless headers from our .desktop, drop in a slightly hacked and untested specfile from fedora. Closes LP #
66
gtk-update-icon-cache -qf %{_datadir}/icons/hicolor &>/dev/null || :
67
368.1.2 by Emmanuel Bretelle
Adding .spec file
68
69
%changelog
644 by Chris Jones
Remove some useless headers from our .desktop, drop in a slightly hacked and untested specfile from fedora. Closes LP #
70
* Thu Jan 15 2009 Chris Jones <cmsj@tenshu.net> 0.12-1
71
- Remove patch application since this isn't a fedora build.
72
    Note that this specfile is untested.
73
74
* Mon Dec 08 2008 Ian Weller <ianweller@gmail.com> 0.11-3
75
- Patch version in terminatorlib/verison.py to the one we think it is
76
- Fix License tag
77
- Update post and postun scripts with one line
78
79
* Mon Dec 01 2008 Ian Weller <ianweller@gmail.com> 0.11-2
80
- Add BuildRequires: gettext
81
- Fix installation of .desktop file
82
- terminator-0.11-desktop.patch:
83
    Remove useless things
84
    Move to same category as gnome-terminal
85
- Uses spaces instead of tabs in the specfile because I can't stand tabs
86
87
* Mon Dec 01 2008 Ian Weller <ianweller@gmail.com> 0.11-1
88
- Update upstream
89
- Fix description to something useful
90
- Fix group
91
- Fix some specfile oddities
92
- Complete/restandardize file list
93
- Get rid of she-bangs in python_sitelib
94
95
* Sat Sep 13 2008 - Max Spevack <mspevack AT redhat DOT com> 0.10
96
- New upstream release.
97
- Tried to make sure the spec file matches guidelines on Fedora wiki.
98
428 by Emmanuel Bretelle
fixes .spec
99
* Fri Jul 08 2008 - chantra AatT rpm-based DdOoTt org 0.9.fc9.rb
406 by Emmanuel Bretelle
porting .spec to 0.9
100
- New upstream release
644 by Chris Jones
Remove some useless headers from our .desktop, drop in a slightly hacked and untested specfile from fedora. Closes LP #
101
368.1.2 by Emmanuel Bretelle
Adding .spec file
102
* Sat May 17 2008 - chantra AatT rpm-based DdOoTt org 0.8.1.fc9.rb
103
- Initial release for Fedora 9.