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