bringing back wordseps configurability
[packages/gnome-terminal.git] / gnome-terminal.spec
CommitLineData
8490ddb9
JB
1#
2# Conditional build:
3%bcond_without nautilus # Nautilus extension
d7796de8 4
5a403dc3 5Summary: GNOME Terminal
efc40c78 6Summary(pl.UTF-8): Terminal dla GNOME
36e1892e 7Name: gnome-terminal
10e348ad 8Version: 3.16.2
d7796de8 9Release: 2
8490ddb9 10License: GPL v3+
5a403dc3 11Group: X11/Applications
af2bc450 12Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-terminal/3.16/%{name}-%{version}.tar.xz
10e348ad 13# Source0-md5: 17d15e7d226826ca1853eee1c99645b0
74a4912b 14Patch0: %{name}-desktop.patch
d7796de8
ER
15Patch1: bug-730632.patch
16Patch2: wordseps.patch
36e1892e 17URL: http://www.gnome.org/
0b2a424c 18BuildRequires: GConf2-devel >= 2.32.0
7ab0ecc4 19BuildRequires: autoconf >= 2.53
98a016ef 20BuildRequires: automake >= 1:1.9
46a85323 21BuildRequires: dconf-devel >= 0.14
bbf66d5a 22BuildRequires: docbook-dtd412-xml
a84b1e96 23BuildRequires: gettext-tools
8732d324 24BuildRequires: glib2-devel >= 1:2.40.0
952cda75 25BuildRequires: gnome-common
73c43464 26BuildRequires: gnome-shell-devel >= 3.12.0
7c66af6c 27BuildRequires: gsettings-desktop-schemas-devel >= 0.1.0
8732d324
MB
28BuildRequires: gtk+3-devel >= 3.10.0
29BuildRequires: intltool >= 0.50.0
7f9c0d4a 30BuildRequires: libtool
46a85323 31BuildRequires: libuuid-devel
19bc7ba1 32BuildRequires: libxml2-progs
8490ddb9 33%{?with_nautilus:BuildRequires: nautilus-devel >= 3.0.0}
9c69e06f 34BuildRequires: pkgconfig >= 1:0.12.0
436e2987 35BuildRequires: rpmbuild(find_lang) >= 1.23
a19a64fd 36BuildRequires: rpmbuild(macros) >= 1.197
c63cf62d 37BuildRequires: tar >= 1:1.22
10e348ad 38BuildRequires: vte-devel >= 0.40.2
c63cf62d 39BuildRequires: xz
07b03922 40BuildRequires: yelp-tools
8490ddb9 41Requires(post,postun): glib2 >= 1:2.33.2
46a85323 42Requires: dconf >= 0.14
8732d324 43Requires: glib2 >= 1:2.40.0
7c66af6c 44Requires: gsettings-desktop-schemas >= 0.1.0
8732d324 45Requires: gtk+3 >= 3.10.0
ca41d96f 46Requires: terminfo
10e348ad 47Requires: vte >= 0.40.2
d557b31a 48# sr@Latn vs. sr@latin
49Conflicts: glibc-misc < 6:2.7
36e1892e
AF
50BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
51
36e1892e 52%description
5a403dc3 53This is a terminal thing that isn't finished at all.
36e1892e 54
41640346
JR
55%description -l pl.UTF-8
56To jest terminal, na razie całkowicie nie dokończony.
36e1892e 57
46a85323
MB
58%package -n nautilus-extension-terminal
59Summary: GNOME Terminal extension for Nautilus
8490ddb9 60Summary(pl.UTF-8): Rozszerzenie GNOME Terminal dla Nautilusa
46a85323
MB
61Group: X11/Applications
62Requires: %{name} = %{version}-%{release}
63Requires: nautilus >= 3.0.0
64Obsoletes: nautilus-open-terminal < 0.20-2
65
66%description -n nautilus-extension-terminal
67This package provides a Nautilus extension that adds the 'Open in
68Terminal' option to the right-click context menu in Nautilus.
69
8490ddb9
JB
70%description -n nautilus-extension-terminal -l pl.UTF-8
71Ten pakiet dostarcza rozszerzenie Nautilusa dodające opcję "Otwórz w
72terminalu" do menu kontekstowego uaktywnianego prawym klawiszem myszy
73w Nautilusie.
74
36e1892e 75%prep
0a626983 76%setup -q
74a4912b 77%patch0 -p1
70ff9e1d 78%patch1 -p1
d7796de8 79%patch2 -p1
436e2987 80
36e1892e 81%build
2df50a1b 82%{__intltoolize}
fecbfb8a 83%{__gnome_doc_common}
7f9c0d4a 84%{__libtoolize}
85%{__aclocal}
86%{__autoconf}
98a016ef 87%{__autoheader}
7f9c0d4a 88%{__automake}
fe6ba419 89%configure \
46a85323 90 --disable-silent-rules \
8490ddb9
JB
91 --disable-static \
92 %{?with_nautilus:--with-nautilus-extension}
46a85323 93
36e1892e
AF
94%{__make}
95
96%install
97rm -rf $RPM_BUILD_ROOT
36e1892e 98
2702513a
AF
99%{__make} install \
100 DESTDIR=$RPM_BUILD_ROOT \
88f1cbe7 101 localedir=%{_localedir}
36e1892e 102
8490ddb9
JB
103%if %{with nautilus}
104%{__rm} $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-3.0/libterminal-nautilus.la
105%endif
46a85323 106
952cda75 107%find_lang %{name} --with-gnome --all-name
36e1892e
AF
108
109%clean
110rm -rf $RPM_BUILD_ROOT
111
b9163d02 112%post
952cda75 113%glib_compile_schemas
3c681562 114
115%postun
952cda75
ŁK
116if [ "$1" = "0" ]; then
117 %glib_compile_schemas
118fi
2702513a 119
36e1892e
AF
120%files -f %{name}.lang
121%defattr(644,root,root,755)
952cda75 122%doc AUTHORS ChangeLog NEWS
98a016ef 123%attr(755,root,root) %{_bindir}/gnome-terminal
952cda75
ŁK
124%attr(755,root,root) %{_libdir}/gnome-terminal-migration
125%attr(755,root,root) %{_libdir}/gnome-terminal-server
8732d324 126%{_datadir}/appdata/gnome-terminal.appdata.xml
952cda75
ŁK
127%{_datadir}/dbus-1/services/org.gnome.Terminal.service
128%{_datadir}/glib-2.0/schemas/org.gnome.Terminal.gschema.xml
8732d324 129%{_datadir}/gnome-shell/search-providers/gnome-terminal-search-provider.ini
98a016ef 130%{_desktopdir}/gnome-terminal.desktop
46a85323 131
8490ddb9 132%if %{with nautilus}
46a85323
MB
133%files -n nautilus-extension-terminal
134%defattr(644,root,root,755)
8490ddb9
JB
135%attr(755,root,root) %{_libdir}/nautilus/extensions-3.0/libterminal-nautilus.so
136%endif
This page took 0.361743 seconds and 4 git commands to generate.