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