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