source: projects/specs/trunk/m/mate-terminal/mate-terminal-vl.spec @ 6679

Revision 6679, 3.2 KB checked in by Takemikaduchi, 12 years ago (diff)

MATE-1.4.0

Line 
1Summary:        The MATE Terminal Emulator
2Name:           mate-terminal
3Version:        1.4.0
4Release:        1%{?_dist_release}
5
6Source0:        http://pub.mate-desktop.org/releases/1.4/%{name}-%{version}.tar.xz
7
8Patch0:         mate-terminal-1.4.0-ja.po.patch
9
10License:        GPLv2
11Group:          User Interface/Desktops
12URL:            http://mate-desktop.org/
13
14BuildRequires:  mate-common
15BuildRequires:  mate-doc-utils
16BuildRequires:  mate-conf-devel
17BuildRequires:  gtk2-devel
18BuildRequires:  vte-devel
19BuildRequires:  libSM-devel
20BuildRequires:  gtk-doc
21BuildRequires:  autoconf
22BuildRequires:  automake
23
24Requires(post,pre,preun):       mate-conf
25Requires(post,postun):  desktop-file-utils
26
27BuildRoot:      %{_tmppath}/%{name}-%{version}-root
28
29Vendor:         Project Vine
30Distribution:   Vine Linux
31Packager:       Takemikaduchi
32
33
34%description
35This is the MATE terminal emulator application.  mate-terminal is
36only the shell (menubar, prefs dialog); the terminal emulation ("stuff
37in the middle") comes from the VTE widget. Remember this when
38choosing 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
58export MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
59%{__make} install DESTDIR=${RPM_BUILD_ROOT}
60unset MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
61
62find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
63find $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
74export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source`
75
76SCHEMAS=" \
77  mate-terminal.schemas"
78for S in $SCHEMAS; do
79  echo %{_sysconfdir}/mateconf/schemas/$S; done \
80  | xargs mateconftool-2 --makefile-install-rule >& /dev/null ||:
81
82update-desktop-database %{_datadir}/applications >& /dev/null ||:
83
84%pre
85if [ "$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 ||:
93fi
94
95%preun
96if [ "$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 ||:
104fi
105
106%postun
107/sbin/ldconfig
108update-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
Note: See TracBrowser for help on using the repository browser.