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

Revision 5316, 2.9 KB checked in by Takemikaduchi, 12 years ago (diff)

mate: change category
fontconfig: rebuild
others: new upstream release

Line 
1Summary:        The MATE Terminal Emulator
2Name:           mate-terminal
3Version:        1.1.0
4Release:        2%{?_dist_release}
5Source0:        %{name}-%{version}.tar.xz
6License:        GPLv2
7Group:          User Interface/Desktops
8URL:            https://matsusoft.com.ar/projects/mate/
9
10BuildRequires:  mate-common
11BuildRequires:  mate-doc-utils
12BuildRequires:  mate-conf-devel
13BuildRequires:  gtk2-devel
14BuildRequires:  vte-devel
15BuildRequires:  libSM-devel
16BuildRequires:  gtk-doc
17BuildRequires:  autoconf
18BuildRequires:  automake
19
20Requires(post,pre,preun):       mate-conf
21Requires(post,postun):  desktop-file-utils
22
23BuildRoot:      %{_tmppath}/%{name}-%{version}-root
24
25Vendor:         Project Vine
26Distribution:   Vine Linux
27Packager:       Takemikaduchi
28
29
30%description
31This is the MATE terminal emulator application.  mate-terminal is
32only the shell (menubar, prefs dialog); the terminal emulation ("stuff
33in the middle") comes from the VTE widget. Remember this when
34choosing 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
53export MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
54%{__make} install DESTDIR=${RPM_BUILD_ROOT}
55unset MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
56
57find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
58find $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
69export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source`
70
71SCHEMAS=" \
72  mate-terminal.schemas"
73for S in $SCHEMAS; do
74  echo %{_sysconfdir}/mateconf/schemas/$S; done \
75  | xargs mateconftool-2 --makefile-install-rule >& /dev/null ||:
76
77update-desktop-database %{_datadir}/applications >& /dev/null ||:
78
79%pre
80if [ "$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 ||:
88fi
89
90%preun
91if [ "$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 ||:
99fi
100
101%postun
102/sbin/ldconfig
103update-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
Note: See TracBrowser for help on using the repository browser.