source: projects/specs/trunk/m/mate-notification-daemon/mate-notification-daemon-vl.spec @ 9120

Revision 9120, 4.4 KB checked in by Takemikaduchi, 9 years ago (diff)

new upstream release

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