1 | %define major_ver 1.18 |
---|
2 | %define ver %{major_ver}.2 |
---|
3 | %define rel 1 |
---|
4 | |
---|
5 | Summary: A window manager for MATE |
---|
6 | Name: marco |
---|
7 | Version: %{ver} |
---|
8 | Release: %{rel}%{?_dist_release} |
---|
9 | Source0: http://pub.mate-desktop.org/releases/%{major_ver}/%{name}-%{version}.tar.xz |
---|
10 | License: GPLv2 |
---|
11 | Group: User Interface/Desktops |
---|
12 | URL: http://mate-desktop.org/ |
---|
13 | |
---|
14 | # patch for Vine |
---|
15 | Patch1001: mate-window-manager-vine-settings.patch |
---|
16 | |
---|
17 | BuildRequires: mate-common |
---|
18 | BuildRequires: libSM-devel |
---|
19 | BuildRequires: gtk3-devel >= 3.14 |
---|
20 | BuildRequires: libcanberra-gtk3-devel |
---|
21 | BuildRequires: pango-devel >= 1.2.0 |
---|
22 | BuildRequires: libXcomposite-devel >= 0.3 |
---|
23 | BuildRequires: libgtop2-devel |
---|
24 | BuildRequires: zenity |
---|
25 | BuildRequires: startup-notification-devel >= 0.7 |
---|
26 | BuildRequires: gtk-doc |
---|
27 | BuildRequires: itstool |
---|
28 | BuildRequires: autoconf |
---|
29 | BuildRequires: automake |
---|
30 | |
---|
31 | Requires: zenity |
---|
32 | Requires(posttrans,postun): glib2 |
---|
33 | Requires(post,postun): desktop-file-utils |
---|
34 | |
---|
35 | Obsoletes: mate-window-manager < 1.8.0 |
---|
36 | Provides: mate-window-manager = %{version}-%{release} |
---|
37 | |
---|
38 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
39 | |
---|
40 | Vendor: Project Vine |
---|
41 | Distribution: Vine Linux |
---|
42 | Packager: Takemikaduchi, iwaim |
---|
43 | |
---|
44 | |
---|
45 | %description |
---|
46 | Marco is not a meta-City as in an urban center, but rather |
---|
47 | Meta-ness as in the state of being meta. i.e. marco : meta as |
---|
48 | opacity : opaque. Also it may have something to do with the Meta key |
---|
49 | on UNIX keyboards. |
---|
50 | |
---|
51 | |
---|
52 | %package devel |
---|
53 | Summary: Development tools for %{name} |
---|
54 | Summary(ja): %{name} の開発環境 |
---|
55 | Group: Development/Libraries |
---|
56 | Requires: %{name} = %{version}-%{release} |
---|
57 | Requires: pkgconfig |
---|
58 | Obsoletes: mate-window-manager-devel < 1.8.0 |
---|
59 | Provides: mate-window-manager-devel = %{version}-%{release} |
---|
60 | |
---|
61 | %description devel |
---|
62 | Header files and libraries for building a extension library for the |
---|
63 | %{name}. |
---|
64 | |
---|
65 | |
---|
66 | %prep |
---|
67 | %setup -q |
---|
68 | %patch1001 -p1 -b .vine |
---|
69 | |
---|
70 | |
---|
71 | %build |
---|
72 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
---|
73 | %configure \ |
---|
74 | --disable-static |
---|
75 | |
---|
76 | %{__make} %{?_smp_mflags} |
---|
77 | |
---|
78 | |
---|
79 | %install |
---|
80 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
81 | |
---|
82 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
83 | |
---|
84 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
85 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
86 | |
---|
87 | %find_lang %{name} |
---|
88 | |
---|
89 | |
---|
90 | %clean |
---|
91 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
92 | |
---|
93 | |
---|
94 | %post |
---|
95 | /sbin/ldconfig |
---|
96 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
97 | |
---|
98 | %postun |
---|
99 | /sbin/ldconfig |
---|
100 | if [ $1 -eq 0 ]; then |
---|
101 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
102 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
103 | fi |
---|
104 | |
---|
105 | %posttrans |
---|
106 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
107 | |
---|
108 | |
---|
109 | %files -f %{name}.lang |
---|
110 | %defattr(-,root,root,-) |
---|
111 | %doc COPYING ChangeLog NEWS README |
---|
112 | %{_bindir}/%{name} |
---|
113 | %{_bindir}/marco-message |
---|
114 | %{_bindir}/marco-theme-viewer |
---|
115 | %{_bindir}/marco-window-demo |
---|
116 | %{_libdir}/libmarco-private.so.* |
---|
117 | %{_datadir}/applications/%{name}.desktop |
---|
118 | %{_datadir}/glib-2.0/schemas/org.mate.marco.gschema.xml |
---|
119 | %{_datadir}/help/* |
---|
120 | %{_datadir}/mate/wm-properties/marco-wm.desktop |
---|
121 | %{_datadir}/mate-control-center/keybindings/*.xml |
---|
122 | %{_datadir}/%{name}/icons/marco-window-demo.png |
---|
123 | %{_datadir}/themes |
---|
124 | %{_mandir}/man1/*.1.gz |
---|
125 | |
---|
126 | %files devel |
---|
127 | %defattr(-,root,root,-) |
---|
128 | %{_includedir}/marco-1 |
---|
129 | %{_libdir}/libmarco-private.so |
---|
130 | %{_libdir}/pkgconfig/libmarco-private.pc |
---|
131 | |
---|
132 | |
---|
133 | %changelog |
---|
134 | * Wed Jan 17 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.2-1 |
---|
135 | - update to 1.18.2 |
---|
136 | |
---|
137 | * Sat Nov 18 2017 Munehiro Yamamoto <munepi@vinelinux.org> 1.18.1-2 |
---|
138 | - added BuildRequires: libSM-devel |
---|
139 | |
---|
140 | * Thu May 25 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.1-1 |
---|
141 | - update to 1.18.1 |
---|
142 | |
---|
143 | * Sun Apr 2 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.0-1 |
---|
144 | - update to 1.18.0 |
---|
145 | - move to GTK3+ |
---|
146 | - update BuildRequires |
---|
147 | - drop gtk2-devel |
---|
148 | - add gtk3-devel |
---|
149 | - drop libcanberra-devel |
---|
150 | - add libcanberra-gtk3-devel |
---|
151 | - drop libSM-devel |
---|
152 | - add pango-devel |
---|
153 | - add libXcomposite-devel |
---|
154 | - add libgtop2-devel |
---|
155 | |
---|
156 | * Thu Nov 24 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.0-1 |
---|
157 | - new upstream release |
---|
158 | - drop BuildRequires: mate-doc-utils |
---|
159 | - update Packager |
---|
160 | |
---|
161 | * Sun May 22 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.2-1 |
---|
162 | - new upstream release |
---|
163 | |
---|
164 | * Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.1-1 |
---|
165 | - new upstream release |
---|
166 | |
---|
167 | * Tue Dec 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1 |
---|
168 | - new upstream release |
---|
169 | |
---|
170 | * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1 |
---|
171 | - new upstream release |
---|
172 | |
---|
173 | * Sun Aug 30 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1 |
---|
174 | - new upstream release |
---|
175 | |
---|
176 | * Sat Jun 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-1 |
---|
177 | - new upstream release |
---|
178 | |
---|
179 | * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1 |
---|
180 | - new upstream release |
---|
181 | |
---|
182 | * Sun Mar 15 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.3-1 |
---|
183 | - new upstream release |
---|
184 | - add BuildRequires: zenity |
---|
185 | - remove BuildRequires: mate-dialog |
---|
186 | |
---|
187 | * Wed Nov 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.2-1 |
---|
188 | - new upstream release |
---|
189 | |
---|
190 | * Sun Jun 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1 |
---|
191 | - new upstream release |
---|
192 | |
---|
193 | * Wed Apr 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1 |
---|
194 | - new upstream release |
---|
195 | - add BuildRequires: itstool |
---|
196 | |
---|
197 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-2 |
---|
198 | - rebuild with VineSeed environment |
---|
199 | |
---|
200 | * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-1 |
---|
201 | - new upstream release |
---|
202 | |
---|
203 | * Sat May 25 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1 |
---|
204 | - new upstream release |
---|
205 | - remove BuildRequires: mate-conf-devel |
---|
206 | - add Patch1001 (mate-window-manager-vine-settings.patch) |
---|
207 | |
---|
208 | * Sat Nov 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.1-1 |
---|
209 | - new upstream release |
---|
210 | |
---|
211 | * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
212 | - new upstream release |
---|
213 | |
---|
214 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1 |
---|
215 | - new upstream release |
---|
216 | |
---|
217 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2 |
---|
218 | - change category |
---|
219 | |
---|
220 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
221 | - initial build for Vine Linux |
---|
222 | |
---|