]> git.pld-linux.org Git - packages/mate-notification-daemon.git/blob - mate-notification-daemon.spec
more specific url, package names in deps
[packages/mate-notification-daemon.git] / mate-notification-daemon.spec
1 # NOTE:
2 # - we could reuse gnome notification daemon if there is added xdg/autostart file with NotShowIn=GNOME:
3 #   http://git.gnome.org/browse/notification-daemon/commit/data?id=1ad20d22098bc7718614a8a87744a2c22d5438d0
4 Summary:        Notification daemon for MATE Desktop
5 Name:           mate-notification-daemon
6 Version:        1.5.0
7 Release:        0.2
8 License:        GPL v2+
9 Source0:        http://pub.mate-desktop.org/releases/1.5/%{name}-%{version}.tar.xz
10 # Source0-md5:  393a7832e71aa8cfd28793750f88de50
11 Group:          Applications/System
12 URL:            http://wiki.mate-desktop.org/mate-notification-daemon
13 BuildRequires:  dbus-glib-devel
14 BuildRequires:  desktop-file-utils
15 BuildRequires:  gsettings-desktop-schemas-devel
16 BuildRequires:  icon-naming-utils
17 BuildRequires:  libcanberra-devel
18 BuildRequires:  libmatenotify-devel
19 BuildRequires:  libmatewnck-devel
20 BuildRequires:  mate-common
21 BuildRequires:  mate-desktop-devel
22 BuildRequires:  mate-doc-utils
23 #BuildRequires: pkgconfig(MateCORBA-2.0)
24 BuildRequires:  tar >= 1:1.22
25 BuildRequires:  xz
26 Requires:       glib2 >= 1:2.26.0
27 Requires:       gsettings-desktop-schemas
28 Requires:       gtk-update-icon-cache
29 Requires:       hicolor-icon-theme
30 Provides:       dbus(org.freedesktop.Notifications)
31 Requires(post,postun):  /sbin/ldconfig
32 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34 # makefiles and this spec gets confused if %{_libdir} == %{_libexecdir}
35 # so we setup separate --libexecdir=%{_libdir}/mnd
36 %define         _libexecdir %{_libdir}/mnd
37
38 %description
39 Notification daemon for MATE Desktop.
40
41 %prep
42 %setup -q
43
44 %build
45 NOCONFIGURE=1 ./autogen.sh
46 %configure \
47         --disable-static
48
49 %{__make} \
50         V=1
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54 install -d $RPM_BUILD_ROOT%{_libdir}
55 %{__make} install \
56         LIBTOOL="%{_bindir}/libtool" \
57         DESTDIR=$RPM_BUILD_ROOT
58
59 %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/engines/lib*.la
60
61 desktop-file-install \
62         --remove-category="MATE" \
63         --add-category="X-Mate" \
64         --delete-original \
65         --dir=$RPM_BUILD_ROOT%{_desktopdir} \
66 $RPM_BUILD_ROOT%{_desktopdir}/mate-notification-properties.desktop
67
68 %find_lang %{name}
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %post
74 /sbin/ldconfig
75 %update_icon_cache hicolor
76 %glib_compile_schemas
77
78 %postun
79 /sbin/ldconfig
80 %update_icon_cache hicolor
81 %glib_compile_schemas
82
83 %files -f %{name}.lang
84 %defattr(644,root,root,755)
85 %doc AUTHORS COPYING README
86 %attr(755,root,root) %{_bindir}/mate-notification-properties
87 %{_desktopdir}/mate-notification-properties.desktop
88 %{_datadir}/dbus-1/services/org.freedesktop.mate.Notifications.service
89 %dir %{_datadir}/%{name}
90 %{_datadir}/%{name}/mate-notification-properties.ui
91 %dir %{_libexecdir}
92 %attr(755,root,root) %{_libexecdir}/mate-notification-daemon
93 %{_iconsdir}/hicolor/*/apps/mate-notification-properties.*
94 %{_datadir}/glib-2.0/schemas/org.mate.NotificationDaemon.gschema.xml
95 %dir %{_libdir}/%{name}
96 %dir %{_libdir}/%{name}/engines
97 %attr(755,root,root) %{_libdir}/%{name}/engines/libcoco.so
98 %attr(755,root,root) %{_libdir}/%{name}/engines/libnodoka.so
99 %attr(755,root,root) %{_libdir}/%{name}/engines/libslider.so
100 %attr(755,root,root) %{_libdir}/%{name}/engines/libstandard.so
This page took 0.063525 seconds and 4 git commands to generate.