[11004] | 1 | %define major_ver 1.18 |
---|
| 2 | %define ver %{major_ver}.0 |
---|
| 3 | %define rel 1 |
---|
| 4 | |
---|
[5311] | 5 | Summary: Notification daemon for MATE |
---|
| 6 | Name: mate-notification-daemon |
---|
[11004] | 7 | Version: %{ver} |
---|
| 8 | Release: %{rel}%{?_dist_release} |
---|
[6172] | 9 | |
---|
[11004] | 10 | Source0: http://pub.mate-desktop.org/releases/%{major_ver}/%{name}-%{version}.tar.xz |
---|
[6172] | 11 | |
---|
[8623] | 12 | # vine theme (based on coco) and vine5 theme (old theme) |
---|
| 13 | # http://github.com/tatofoo/notification-daemon-engine-coco |
---|
| 14 | Source200: mate-notification-daemon-engine-vine.tar.xz |
---|
[6172] | 15 | |
---|
[8623] | 16 | # Vine patch |
---|
| 17 | # add vine and vine5 theme |
---|
| 18 | Patch1001: mate-notification-daemon-1.8.0-vine-theme.patch |
---|
| 19 | # change default to vine |
---|
[9797] | 20 | Patch1002: mate-notification-daemon-1.12.0-default-theme.patch |
---|
[8623] | 21 | |
---|
[5311] | 22 | License: GPLv2 |
---|
| 23 | Group: System Environment/Libraries |
---|
[6679] | 24 | URL: http://mate-desktop.org/ |
---|
[5311] | 25 | |
---|
| 26 | BuildRequires: mate-common |
---|
[10890] | 27 | BuildRequires: gtk3-devel |
---|
[5311] | 28 | BuildRequires: dbus-glib-devel |
---|
[10890] | 29 | BuildRequires: libcanberra-gtk3-devel |
---|
| 30 | BuildRequires: libwnck3-devel |
---|
[7697] | 31 | BuildRequires: libnotify-devel |
---|
[5311] | 32 | BuildRequires: gtk-doc |
---|
| 33 | BuildRequires: autoconf |
---|
| 34 | BuildRequires: automake |
---|
| 35 | |
---|
[7697] | 36 | Requires(posttrans,postun): glib2 |
---|
[10890] | 37 | Requires(post,postun): gtk3 |
---|
[5311] | 38 | Requires(post,postun): desktop-file-utils |
---|
| 39 | |
---|
| 40 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 41 | |
---|
| 42 | Vendor: Project Vine |
---|
| 43 | Distribution: Vine Linux |
---|
[10890] | 44 | Packager: Takemikaduchi, iwaim |
---|
[5311] | 45 | |
---|
| 46 | |
---|
| 47 | %description |
---|
[7697] | 48 | %{summary} |
---|
[5311] | 49 | |
---|
| 50 | |
---|
| 51 | %prep |
---|
[10890] | 52 | %setup -q |
---|
| 53 | #%setup -q -a 200 |
---|
| 54 | #%patch1001 -p1 |
---|
| 55 | #%patch1002 -p1 |
---|
[5311] | 56 | |
---|
| 57 | %build |
---|
[10890] | 58 | #autoreconf -if |
---|
[5311] | 59 | %configure \ |
---|
| 60 | --libexecdir=%{_libexecdir}/mate \ |
---|
[10890] | 61 | --disable-static |
---|
[5311] | 62 | |
---|
| 63 | %{__make} %{?_smp_mflags} |
---|
| 64 | |
---|
| 65 | |
---|
| 66 | %install |
---|
| 67 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 68 | |
---|
| 69 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
| 70 | |
---|
| 71 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
| 72 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 73 | |
---|
| 74 | %find_lang %{name} |
---|
| 75 | |
---|
| 76 | |
---|
| 77 | %clean |
---|
| 78 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 79 | |
---|
| 80 | %post |
---|
| 81 | /sbin/ldconfig |
---|
| 82 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 83 | touch --no-create %{_datadir}/icons/hicolor |
---|
[7697] | 84 | gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
[5311] | 85 | |
---|
| 86 | %postun |
---|
| 87 | /sbin/ldconfig |
---|
[7697] | 88 | if [ $1 -eq 0 ]; then |
---|
| 89 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 90 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 91 | gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
| 92 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
[5311] | 93 | fi |
---|
| 94 | |
---|
[7697] | 95 | %posttrans |
---|
| 96 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
[5311] | 97 | |
---|
| 98 | %files -f %{name}.lang |
---|
| 99 | %defattr(-,root,root,-) |
---|
| 100 | %doc COPYING ChangeLog NEWS README |
---|
| 101 | %{_bindir}/mate-notification-properties |
---|
[6679] | 102 | %{_libdir}/mate-notification-daemon/engines/libcoco.so |
---|
| 103 | %{_libdir}/mate-notification-daemon/engines/libnodoka.so |
---|
[5311] | 104 | %{_libdir}/mate-notification-daemon/engines/libslider.so |
---|
| 105 | %{_libdir}/mate-notification-daemon/engines/libstandard.so |
---|
[10890] | 106 | #%{_libdir}/mate-notification-daemon/engines/libvine.so |
---|
| 107 | #%{_libdir}/mate-notification-daemon/engines/libvine5.so |
---|
[5311] | 108 | %{_libexecdir}/mate/mate-notification-daemon |
---|
| 109 | %{_datadir}/applications/mate-notification-properties.desktop |
---|
| 110 | %{_datadir}/dbus-1/services/org.freedesktop.mate.Notifications.service |
---|
[7697] | 111 | %{_datadir}/glib-2.0/schemas/org.mate.NotificationDaemon.gschema.xml |
---|
[5311] | 112 | %{_datadir}/icons/hicolor/*/*/* |
---|
| 113 | %{_datadir}/mate-notification-daemon/mate-notification-properties.ui |
---|
[7979] | 114 | %{_mandir}/man1/mate-notification-properties.1.gz |
---|
[5311] | 115 | |
---|
| 116 | |
---|
| 117 | %changelog |
---|
[11004] | 118 | * Mon Apr 3 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.0-1 |
---|
| 119 | - update to 1.18.0 |
---|
| 120 | |
---|
[10961] | 121 | * Tue Jan 31 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.1-1 |
---|
| 122 | - update to 1.16.1 |
---|
| 123 | - drop fix-bold patch (Patch0): upstream merged |
---|
| 124 | |
---|
[10890] | 125 | * Sun Nov 27 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.0-1 |
---|
| 126 | - new upstream release |
---|
| 127 | - add fix-bold patch (Patch0) |
---|
| 128 | - update GTK+ version |
---|
| 129 | - BR: gtk3-devel, libwnck3-devel and libcanberra-gtk3-devel |
---|
| 130 | - drop BuildRequires: libsexy-devel |
---|
| 131 | - update Packager |
---|
| 132 | - stop applying Vine Linux themes |
---|
| 133 | |
---|
[10571] | 134 | * Sat Jul 09 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.1-1 |
---|
| 135 | - new upstream release |
---|
| 136 | |
---|
[10255] | 137 | * Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1 |
---|
| 138 | - new upstream release |
---|
| 139 | |
---|
[9842] | 140 | * Tue Dec 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1 |
---|
| 141 | - new upstream release |
---|
| 142 | |
---|
[9797] | 143 | * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1 |
---|
| 144 | - new upstream release |
---|
| 145 | - update Patch1002 (mate-notification-daemon-1.12.0-default-theme.patch) |
---|
| 146 | |
---|
[9760] | 147 | * Fri Oct 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1 |
---|
| 148 | - new upstream release |
---|
| 149 | |
---|
[9705] | 150 | * Sun Aug 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-1 |
---|
| 151 | - new upstream release |
---|
| 152 | |
---|
[9602] | 153 | * Sun Jun 14 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1 |
---|
| 154 | - new upstream release |
---|
| 155 | |
---|
[9432] | 156 | * Sun Mar 15 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.2-1 |
---|
| 157 | - new upstream release |
---|
| 158 | |
---|
[9120] | 159 | * Wed Nov 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1 |
---|
| 160 | - new upstream release |
---|
| 161 | |
---|
[8623] | 162 | * Sun Jun 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-2 |
---|
| 163 | - remove Patch0 (mate-notification-daemon-1.2.0-makefile.patch) |
---|
| 164 | - add Source200 (mate-notification-daemon-engine-vine.tar.xz) |
---|
| 165 | - add Patch1001 (mate-notification-daemon-1.8.0-vine-theme.patch) |
---|
| 166 | - add Patch1002 (mate-notification-daemon-1.8.0-default-theme.patch) |
---|
| 167 | - add BuildRequires: libsexy-devel |
---|
| 168 | |
---|
[8359] | 169 | * Mon Apr 14 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1 |
---|
| 170 | - new upstream release |
---|
| 171 | - change BuildRequires: libwnck-devel instead of libmatewnck-devel |
---|
| 172 | |
---|
[8068] | 173 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2 |
---|
| 174 | - rebuild with VineSeed environment |
---|
| 175 | |
---|
[7979] | 176 | * Sun Nov 10 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1 |
---|
| 177 | - new upstream release |
---|
| 178 | |
---|
[7697] | 179 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1 |
---|
| 180 | - new upstream release |
---|
| 181 | - remove BuildRequires: mate-conf-devel, libmatenotify-devel |
---|
| 182 | - add BuildRequires: libnotify-devel |
---|
| 183 | |
---|
[6679] | 184 | * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
| 185 | - new upstream release |
---|
| 186 | - change BuildRequires: libmatewnck-devel instead of libwnck-devel |
---|
| 187 | |
---|
[6172] | 188 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1 |
---|
| 189 | - new upstream release |
---|
| 190 | - add Patch0 (mate-notification-daemon-1.2.0-makefile.patch) |
---|
| 191 | |
---|
[5311] | 192 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
| 193 | - initial build for Vine Linux |
---|
| 194 | |
---|