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