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

Revision 8538, 3.2 KB checked in by Takemikaduchi, 10 years ago (diff)

fix desktop file

Line 
1Summary:        The MATE Terminal Emulator
2Name:           mate-terminal
3Version:        1.8.0
4Release:        2%{?_dist_release}
5
6Source0:        http://pub.mate-desktop.org/releases/1.8/%{name}-%{version}.tar.xz
7
8License:        GPLv2
9Group:          User Interface/Desktops
10URL:            http://mate-desktop.org/
11
12BuildRequires:  mate-common
13BuildRequires:  mate-doc-utils
14BuildRequires:  gtk2-devel
15BuildRequires:  dconf-devel
16BuildRequires:  vte-devel
17BuildRequires:  libSM-devel
18BuildRequires:  itstool
19BuildRequires:  gtk-doc
20BuildRequires:  autoconf
21BuildRequires:  automake
22BuildRequires:  desktop-file-utils
23
24Requires(posttrans,postun):     glib2
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
44
45%build
46(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
47%configure \
48        --disable-static
49
50%{__make} %{?_smp_mflags}
51
52
53%install
54%{__rm} -rf ${RPM_BUILD_ROOT}
55
56%{__make} install DESTDIR=${RPM_BUILD_ROOT}
57
58find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
59find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
60
61desktop-file-install --vendor ''                        \
62        --dir $RPM_BUILD_ROOT%{_datadir}/applications       \
63        --remove-category=System                            \
64        $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
65
66
67%find_lang %{name}
68
69
70%clean
71%{__rm} -rf ${RPM_BUILD_ROOT}
72
73%post
74/sbin/ldconfig
75update-desktop-database %{_datadir}/applications >& /dev/null ||:
76
77%postun
78/sbin/ldconfig
79if [ $1 -eq 0 ]; then
80  update-desktop-database %{_datadir}/applications >& /dev/null ||:
81  glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
82fi
83
84%posttrans
85glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
86
87
88%files -f %{name}.lang
89%defattr(-,root,root,-)
90%doc COPYING ChangeLog NEWS README
91%{_bindir}/%{name}
92%{_bindir}/%{name}.wrapper
93%{_datadir}/applications/%{name}.desktop
94%{_datadir}/glib-2.0/schemas/org.mate.terminal.gschema.xml
95%{_datadir}/help/*
96%{_datadir}/%{name}
97%{_mandir}/man1/%{name}.1.gz
98
99
100%changelog
101* Tue Jun 10 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-2
102- add BuildRequires: desktop-file-utils
103- remove Categories=System to mate-terminal.desktop
104
105* Wed Apr 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
106- new upstream release
107- remove Patch0 (mate-terminal-1.4.0-ja.po.patch)
108- add BuildRequires: itstool
109
110* Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2
111- rebuild with VineSeed environment
112
113* Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
114- new upstream release
115- remove BuildRequires: mate-conf-devel
116- add BuildRequires: dconf-devel
117
118* Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
119- new upstream release
120- add Patch0 (mate-terminal-1.4.0-ja.po.patch)
121
122* Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1
123- new upstream release
124
125* Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
126- change category
127
128* Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
129- initial build for Vine Linux
130
Note: See TracBrowser for help on using the repository browser.