1 | Summary: Library with common API for various MATE modules |
---|
2 | Name: mate-desktop |
---|
3 | Version: 1.8.0 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | Source0: http://pub.mate-desktop.org/releases/1.8/%{name}-%{version}.tar.xz |
---|
6 | License: GPLv2 |
---|
7 | Group: User Interface/Desktops |
---|
8 | URL: http://mate-desktop.org/ |
---|
9 | |
---|
10 | # patch for Vine |
---|
11 | Patch1001: mate-desktop-vine-settings.patch |
---|
12 | |
---|
13 | BuildRequires: mate-common |
---|
14 | BuildRequires: mate-doc-utils |
---|
15 | BuildRequires: gtk2-devel |
---|
16 | BuildRequires: dconf-devel |
---|
17 | BuildRequires: unique-devel |
---|
18 | BuildRequires: startup-notification-devel |
---|
19 | BuildRequires: gtk-doc |
---|
20 | BuildRequires: itstool |
---|
21 | BuildRequires: autoconf |
---|
22 | BuildRequires: automake |
---|
23 | |
---|
24 | Requires(posttrans,postun): glib2 |
---|
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 | mate-desktop contains the libmate-desktop library, the mate-about |
---|
36 | program as well as some desktop-wide documents. |
---|
37 | |
---|
38 | |
---|
39 | %package devel |
---|
40 | Summary: Development tools for mate-desktop |
---|
41 | Summary(ja): mate-desktop の開発環境 |
---|
42 | Group: Development/Libraries |
---|
43 | Requires: %{name} = %{version}-%{release} |
---|
44 | Requires: pkgconfig |
---|
45 | |
---|
46 | %description devel |
---|
47 | Header files and libraries for building a extension library for the |
---|
48 | mate-desktop. |
---|
49 | |
---|
50 | |
---|
51 | %package doc |
---|
52 | Summary: Documentation for mate-desktop |
---|
53 | Summary(ja): mate-desktop 用のドキュメント |
---|
54 | Group: Documentation |
---|
55 | Requires: %{name} = %{version}-%{release} |
---|
56 | BuildArch: noarch |
---|
57 | |
---|
58 | %description doc |
---|
59 | This package contains documentation for mate-desktop. |
---|
60 | |
---|
61 | |
---|
62 | %prep |
---|
63 | %setup -q |
---|
64 | %patch1001 -p1 -b .vine |
---|
65 | |
---|
66 | |
---|
67 | %build |
---|
68 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
---|
69 | %configure \ |
---|
70 | --disable-static \ |
---|
71 | --disable-scrollkeeper |
---|
72 | |
---|
73 | %{__make} %{?_smp_mflags} |
---|
74 | |
---|
75 | |
---|
76 | %install |
---|
77 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
78 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
79 | |
---|
80 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
81 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
82 | |
---|
83 | %{__rm} -rf ${RPM_BUILD_ROOT}%{_datadir}/omf |
---|
84 | |
---|
85 | %find_lang %{name} |
---|
86 | |
---|
87 | |
---|
88 | %clean |
---|
89 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
90 | |
---|
91 | %post |
---|
92 | /sbin/ldconfig |
---|
93 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
94 | |
---|
95 | %postun |
---|
96 | /sbin/ldconfig |
---|
97 | if [ $1 -eq 0 ]; then |
---|
98 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
99 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
100 | fi |
---|
101 | |
---|
102 | %posttrans |
---|
103 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
104 | |
---|
105 | |
---|
106 | %files -f %{name}.lang |
---|
107 | %defattr(-,root,root,-) |
---|
108 | %doc COPYING ChangeLog NEWS README |
---|
109 | %{_bindir}/mate-about |
---|
110 | %{_bindir}/mate-gsettings-toggle |
---|
111 | %{_libdir}/libmate-desktop-2.so.* |
---|
112 | %{_datadir}/MateConf/gsettings/mate-desktop.convert |
---|
113 | %{_datadir}/applications/mate-about.desktop |
---|
114 | %{_datadir}/applications/mate-user-guide.desktop |
---|
115 | %{_datadir}/glib-2.0/schemas/org.mate.accessibility-keyboard.gschema.xml |
---|
116 | %{_datadir}/glib-2.0/schemas/org.mate.accessibility-startup.gschema.xml |
---|
117 | %{_datadir}/glib-2.0/schemas/org.mate.applications-at-mobility.gschema.xml |
---|
118 | %{_datadir}/glib-2.0/schemas/org.mate.applications-at-visual.gschema.xml |
---|
119 | %{_datadir}/glib-2.0/schemas/org.mate.applications-browser.gschema.xml |
---|
120 | %{_datadir}/glib-2.0/schemas/org.mate.applications-office.gschema.xml |
---|
121 | %{_datadir}/glib-2.0/schemas/org.mate.applications-terminal.gschema.xml |
---|
122 | %{_datadir}/glib-2.0/schemas/org.mate.background.gschema.xml |
---|
123 | %{_datadir}/glib-2.0/schemas/org.mate.file-views.gschema.xml |
---|
124 | %{_datadir}/glib-2.0/schemas/org.mate.interface.gschema.xml |
---|
125 | %{_datadir}/glib-2.0/schemas/org.mate.lockdown.gschema.xml |
---|
126 | %{_datadir}/glib-2.0/schemas/org.mate.peripherals-keyboard.gschema.xml |
---|
127 | %{_datadir}/glib-2.0/schemas/org.mate.peripherals-mouse.gschema.xml |
---|
128 | %{_datadir}/glib-2.0/schemas/org.mate.sound.gschema.xml |
---|
129 | %{_datadir}/glib-2.0/schemas/org.mate.thumbnail-cache.gschema.xml |
---|
130 | %{_datadir}/glib-2.0/schemas/org.mate.thumbnailers.gschema.xml |
---|
131 | %{_datadir}/glib-2.0/schemas/org.mate.typing-break.gschema.xml |
---|
132 | %{_datadir}/libmate-desktop/pnp.ids |
---|
133 | %{_datadir}/mate-about/mate-version.xml |
---|
134 | %{_datadir}/help/* |
---|
135 | %{_mandir}/man1/mate-about.1.gz |
---|
136 | %{_mandir}/man1/mate-gsettings-toggle.1.gz |
---|
137 | %exclude %{_datadir}/help/*/*/index.docbook |
---|
138 | |
---|
139 | %files devel |
---|
140 | %defattr(-,root,root,-) |
---|
141 | %{_includedir}/mate-desktop-2.0 |
---|
142 | %{_libdir}/libmate-desktop-2.so |
---|
143 | %{_libdir}/pkgconfig/mate-desktop-2.0.pc |
---|
144 | |
---|
145 | %files doc |
---|
146 | %defattr(-,root,root,-) |
---|
147 | %{_datadir}/gtk-doc/html/mate-desktop |
---|
148 | |
---|
149 | |
---|
150 | %changelog |
---|
151 | * Mon Apr 14 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1 |
---|
152 | - new upstream release |
---|
153 | - add BuildRequires: dconf-devel, itstool |
---|
154 | |
---|
155 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2 |
---|
156 | - rebuild with VineSeed environment |
---|
157 | |
---|
158 | * Sun May 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1 |
---|
159 | - new upstream release |
---|
160 | - remove BuildRequires: mate-conf-devel |
---|
161 | - add Patch1001 (mate-desktop-vine-settings.patch) |
---|
162 | |
---|
163 | * Sat Nov 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.2-1 |
---|
164 | - new upstream release |
---|
165 | - add BuildRequires: startup-notification-devel |
---|
166 | |
---|
167 | * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.1-1 |
---|
168 | - new upstream release |
---|
169 | |
---|
170 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1 |
---|
171 | - new upstream release |
---|
172 | - add BuildRequires: unique-devel |
---|
173 | |
---|
174 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2 |
---|
175 | - change category |
---|
176 | |
---|
177 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
178 | - initial build for Vine Linux |
---|
179 | |
---|