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