]>
Commit | Line | Data |
---|---|---|
3a9223e9 | 1 | Summary: MATE Terminal Emulator |
1c68d738 | 2 | Summary(pl.UTF-8): Emulator terminala dla środowiska MATE |
3a9223e9 | 3 | Name: mate-terminal |
5b3ba15a | 4 | Version: 1.18.1 |
edfaf243 | 5 | Release: 1 |
1c68d738 | 6 | License: GPL v3+ |
3a9223e9 | 7 | Group: X11/Applications |
75b78dc5 | 8 | Source0: http://pub.mate-desktop.org/releases/1.18/%{name}-%{version}.tar.xz |
5b3ba15a | 9 | # Source0-md5: a8a6f39769cb4a4d393220f31e7568cc |
e31a65d8 | 10 | Patch0: wordseps.patch |
3a9223e9 | 11 | URL: http://mate-desktop.org/ |
1c68d738 JB |
12 | BuildRequires: autoconf >= 2.53 |
13 | BuildRequires: automake >= 1:1.9 | |
3a9223e9 | 14 | BuildRequires: bison |
3a19af27 | 15 | BuildRequires: dconf-devel >= 0.13.4 |
3a9223e9 | 16 | BuildRequires: desktop-file-utils |
246e3904 | 17 | BuildRequires: docbook-dtd412-xml |
725464e1 | 18 | BuildRequires: gettext-tools >= 0.10.40 |
edfaf243 | 19 | BuildRequires: glib2-devel >= 1:2.36.0 |
8ace1b27 | 20 | BuildRequires: gtk+3-devel >= 3.14.0 |
8f88b447 | 21 | BuildRequires: intltool >= 0.50.1 |
1c68d738 | 22 | BuildRequires: libtool >= 1:1.4.3 |
3a9223e9 | 23 | BuildRequires: mate-common |
1c68d738 | 24 | BuildRequires: pkgconfig |
b2beb8ae | 25 | BuildRequires: rpmbuild(find_lang) >= 1.36 |
81ff77ea | 26 | BuildRequires: sed >= 4.0 |
8ace1b27 | 27 | BuildRequires: vte-devel >= 0.38 |
8f88b447 | 28 | BuildRequires: xorg-lib-libSM-devel >= 1.0.0 |
1c68d738 | 29 | BuildRequires: xorg-lib-libX11-devel |
02fd40ae | 30 | BuildRequires: yelp-tools |
3a19af27 | 31 | Requires: dconf >= 0.13.4 |
edfaf243 | 32 | Requires: glib2 >= 1:2.36.0 |
8ace1b27 JP |
33 | Requires: gtk+3 >= 3.14.0 |
34 | Requires: vte >= 0.38 | |
3a9223e9 JR |
35 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
36 | ||
37 | %description | |
38 | MATE Terminal Emulator. | |
39 | ||
1c68d738 JB |
40 | %description -l pl.UTF-8 |
41 | Emulator terminala dla środowiska MATE. | |
42 | ||
3a9223e9 JR |
43 | %prep |
44 | %setup -q | |
e31a65d8 | 45 | %patch0 -p1 |
3a9223e9 | 46 | |
81ff77ea JB |
47 | %{__sed} -i -e '1s,/usr/bin/env python,/usr/bin/python,' mate-terminal.wrapper |
48 | ||
3a9223e9 | 49 | %build |
1c68d738 | 50 | mate-doc-common --copy |
1c68d738 JB |
51 | %{__intltoolize} |
52 | %{__libtoolize} | |
53 | %{__aclocal} | |
54 | %{__autoconf} | |
55 | %{__autoheader} | |
56 | %{__automake} | |
3a9223e9 | 57 | %configure \ |
1c68d738 | 58 | --disable-schemas-compile \ |
8ace1b27 | 59 | --disable-silent-rules |
3a9223e9 JR |
60 | |
61 | %{__make} | |
62 | ||
63 | %install | |
64 | rm -rf $RPM_BUILD_ROOT | |
65 | %{__make} install \ | |
66 | DESTDIR=$RPM_BUILD_ROOT | |
67 | ||
7a457d6c ER |
68 | # not using alternatives in pld, drop |
69 | # https://github.com/mate-desktop/mate-terminal/issues/9 | |
70 | %{__rm} $RPM_BUILD_ROOT%{_bindir}/mate-terminal.wrapper | |
71 | ||
75b78dc5 | 72 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{frp,ku_IQ,jv,pms} |
32884c4c | 73 | |
3a9223e9 | 74 | desktop-file-install \ |
3a9223e9 JR |
75 | --add-category="X-Mate" \ |
76 | --delete-original \ | |
77 | --dir=$RPM_BUILD_ROOT%{_desktopdir} \ | |
78 | $RPM_BUILD_ROOT%{_desktopdir}/*.desktop | |
79 | ||
b3039eeb | 80 | %find_lang %{name} --with-mate |
3a9223e9 JR |
81 | |
82 | %clean | |
83 | rm -rf $RPM_BUILD_ROOT | |
84 | ||
85 | %post | |
86 | %glib_compile_schemas | |
87 | ||
88 | %postun | |
89 | %glib_compile_schemas | |
90 | ||
91 | %files -f %{name}.lang | |
92 | %defattr(644,root,root,755) | |
1c68d738 | 93 | %doc AUTHORS ChangeLog NEWS README |
3a9223e9 JR |
94 | %attr(755,root,root) %{_bindir}/mate-terminal |
95 | %{_mandir}/man1/mate-terminal.1* | |
96 | %{_desktopdir}/mate-terminal.desktop | |
edfaf243 | 97 | %{_datadir}/appdata/mate-terminal.appdata.xml |
3a9223e9 JR |
98 | %{_datadir}/glib-2.0/schemas/org.mate.terminal.gschema.xml |
99 | %{_datadir}/mate-terminal |