1 | Summary: The MATE Terminal Emulator |
---|
2 | Name: mate-terminal |
---|
3 | Version: 1.4.0 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | |
---|
6 | Source0: http://pub.mate-desktop.org/releases/1.4/%{name}-%{version}.tar.xz |
---|
7 | |
---|
8 | Patch0: mate-terminal-1.4.0-ja.po.patch |
---|
9 | |
---|
10 | License: GPLv2 |
---|
11 | Group: User Interface/Desktops |
---|
12 | URL: http://mate-desktop.org/ |
---|
13 | |
---|
14 | BuildRequires: mate-common |
---|
15 | BuildRequires: mate-doc-utils |
---|
16 | BuildRequires: mate-conf-devel |
---|
17 | BuildRequires: gtk2-devel |
---|
18 | BuildRequires: vte-devel |
---|
19 | BuildRequires: libSM-devel |
---|
20 | BuildRequires: gtk-doc |
---|
21 | BuildRequires: autoconf |
---|
22 | BuildRequires: automake |
---|
23 | |
---|
24 | Requires(post,pre,preun): mate-conf |
---|
25 | Requires(post,postun): desktop-file-utils |
---|
26 | |
---|
27 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
28 | |
---|
29 | Vendor: Project Vine |
---|
30 | Distribution: Vine Linux |
---|
31 | Packager: Takemikaduchi |
---|
32 | |
---|
33 | |
---|
34 | %description |
---|
35 | This is the MATE terminal emulator application. mate-terminal is |
---|
36 | only the shell (menubar, prefs dialog); the terminal emulation ("stuff |
---|
37 | in the middle") comes from the VTE widget. Remember this when |
---|
38 | choosing a bugzilla component. ;-) |
---|
39 | |
---|
40 | |
---|
41 | %prep |
---|
42 | %setup -q |
---|
43 | %patch0 -p1 |
---|
44 | |
---|
45 | |
---|
46 | %build |
---|
47 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
---|
48 | %configure \ |
---|
49 | --disable-static \ |
---|
50 | --disable-scrollkeeper |
---|
51 | |
---|
52 | %{__make} %{?_smp_mflags} |
---|
53 | |
---|
54 | |
---|
55 | %install |
---|
56 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
57 | |
---|
58 | export MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
---|
59 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
60 | unset MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
---|
61 | |
---|
62 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
63 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
64 | |
---|
65 | %find_lang %{name} |
---|
66 | |
---|
67 | |
---|
68 | %clean |
---|
69 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
70 | |
---|
71 | %post |
---|
72 | /sbin/ldconfig |
---|
73 | |
---|
74 | export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source` |
---|
75 | |
---|
76 | SCHEMAS=" \ |
---|
77 | mate-terminal.schemas" |
---|
78 | for S in $SCHEMAS; do |
---|
79 | echo %{_sysconfdir}/mateconf/schemas/$S; done \ |
---|
80 | | xargs mateconftool-2 --makefile-install-rule >& /dev/null ||: |
---|
81 | |
---|
82 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
83 | |
---|
84 | %pre |
---|
85 | if [ "$1" -gt 1 ]; then |
---|
86 | export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source` |
---|
87 | |
---|
88 | SCHEMAS=" \ |
---|
89 | mate-terminal.schemas" |
---|
90 | for S in $SCHEMAS; do |
---|
91 | echo %{_sysconfdir}/mateconf/schemas/$S; done \ |
---|
92 | | xargs mateconftool-2 --makefile-uninstall-rule >& /dev/null ||: |
---|
93 | fi |
---|
94 | |
---|
95 | %preun |
---|
96 | if [ "$1" -eq 0 ]; then |
---|
97 | export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source` |
---|
98 | |
---|
99 | SCHEMAS=" \ |
---|
100 | mate-terminal.schemas" |
---|
101 | for S in $SCHEMAS; do |
---|
102 | echo %{_sysconfdir}/mateconf/schemas/$S; done \ |
---|
103 | | xargs mateconftool-2 --makefile-uninstall-rule >& /dev/null ||: |
---|
104 | fi |
---|
105 | |
---|
106 | %postun |
---|
107 | /sbin/ldconfig |
---|
108 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
109 | |
---|
110 | |
---|
111 | %files -f %{name}.lang |
---|
112 | %defattr(-,root,root,-) |
---|
113 | %doc COPYING ChangeLog NEWS README |
---|
114 | %{_sysconfdir}/mateconf/schemas/mate-terminal.schemas |
---|
115 | %{_bindir}/mate-terminal |
---|
116 | %{_datadir}/applications/mate-terminal.desktop |
---|
117 | %{_datadir}/mate/help/%{name} |
---|
118 | %{_datadir}/%{name} |
---|
119 | %{_datadir}/omf/%{name} |
---|
120 | |
---|
121 | |
---|
122 | %changelog |
---|
123 | * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
124 | - new upstream release |
---|
125 | - add Patch0 (mate-terminal-1.4.0-ja.po.patch) |
---|
126 | |
---|
127 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1 |
---|
128 | - new upstream release |
---|
129 | |
---|
130 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2 |
---|
131 | - change category |
---|
132 | |
---|
133 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
134 | - initial build for Vine Linux |
---|
135 | |
---|