1 | %define major_ver 1.18 |
---|
2 | %define ver %{major_ver}.0 |
---|
3 | %define rel 1 |
---|
4 | |
---|
5 | Summary: Notification daemon for MATE |
---|
6 | Name: mate-notification-daemon |
---|
7 | Version: %{ver} |
---|
8 | Release: %{rel}%{?_dist_release} |
---|
9 | |
---|
10 | Source0: http://pub.mate-desktop.org/releases/%{major_ver}/%{name}-%{version}.tar.xz |
---|
11 | |
---|
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 |
---|
15 | |
---|
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 |
---|
20 | Patch1002: mate-notification-daemon-1.12.0-default-theme.patch |
---|
21 | |
---|
22 | License: GPLv2 |
---|
23 | Group: System Environment/Libraries |
---|
24 | URL: http://mate-desktop.org/ |
---|
25 | |
---|
26 | BuildRequires: mate-common |
---|
27 | BuildRequires: gtk3-devel |
---|
28 | BuildRequires: dbus-glib-devel |
---|
29 | BuildRequires: libcanberra-gtk3-devel |
---|
30 | BuildRequires: libwnck3-devel |
---|
31 | BuildRequires: libnotify-devel |
---|
32 | BuildRequires: gtk-doc |
---|
33 | BuildRequires: autoconf |
---|
34 | BuildRequires: automake |
---|
35 | |
---|
36 | Requires(posttrans,postun): glib2 |
---|
37 | Requires(post,postun): gtk3 |
---|
38 | Requires(post,postun): desktop-file-utils |
---|
39 | |
---|
40 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
41 | |
---|
42 | Vendor: Project Vine |
---|
43 | Distribution: Vine Linux |
---|
44 | Packager: Takemikaduchi, iwaim |
---|
45 | |
---|
46 | |
---|
47 | %description |
---|
48 | %{summary} |
---|
49 | |
---|
50 | |
---|
51 | %prep |
---|
52 | %setup -q |
---|
53 | #%setup -q -a 200 |
---|
54 | #%patch1001 -p1 |
---|
55 | #%patch1002 -p1 |
---|
56 | |
---|
57 | %build |
---|
58 | #autoreconf -if |
---|
59 | %configure \ |
---|
60 | --libexecdir=%{_libexecdir}/mate \ |
---|
61 | --disable-static |
---|
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 |
---|
84 | gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
85 | |
---|
86 | %postun |
---|
87 | /sbin/ldconfig |
---|
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 ||: |
---|
93 | fi |
---|
94 | |
---|
95 | %posttrans |
---|
96 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
97 | |
---|
98 | %files -f %{name}.lang |
---|
99 | %defattr(-,root,root,-) |
---|
100 | %doc COPYING ChangeLog NEWS README |
---|
101 | %{_bindir}/mate-notification-properties |
---|
102 | %{_libdir}/mate-notification-daemon/engines/libcoco.so |
---|
103 | %{_libdir}/mate-notification-daemon/engines/libnodoka.so |
---|
104 | %{_libdir}/mate-notification-daemon/engines/libslider.so |
---|
105 | %{_libdir}/mate-notification-daemon/engines/libstandard.so |
---|
106 | #%{_libdir}/mate-notification-daemon/engines/libvine.so |
---|
107 | #%{_libdir}/mate-notification-daemon/engines/libvine5.so |
---|
108 | %{_libexecdir}/mate/mate-notification-daemon |
---|
109 | %{_datadir}/applications/mate-notification-properties.desktop |
---|
110 | %{_datadir}/dbus-1/services/org.freedesktop.mate.Notifications.service |
---|
111 | %{_datadir}/glib-2.0/schemas/org.mate.NotificationDaemon.gschema.xml |
---|
112 | %{_datadir}/icons/hicolor/*/*/* |
---|
113 | %{_datadir}/mate-notification-daemon/mate-notification-properties.ui |
---|
114 | %{_mandir}/man1/mate-notification-properties.1.gz |
---|
115 | |
---|
116 | |
---|
117 | %changelog |
---|
118 | * Mon Apr 3 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.0-1 |
---|
119 | - update to 1.18.0 |
---|
120 | |
---|
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 | |
---|
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 | |
---|
134 | * Sat Jul 09 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.1-1 |
---|
135 | - new upstream release |
---|
136 | |
---|
137 | * Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1 |
---|
138 | - new upstream release |
---|
139 | |
---|
140 | * Tue Dec 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1 |
---|
141 | - new upstream release |
---|
142 | |
---|
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 | |
---|
147 | * Fri Oct 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1 |
---|
148 | - new upstream release |
---|
149 | |
---|
150 | * Sun Aug 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-1 |
---|
151 | - new upstream release |
---|
152 | |
---|
153 | * Sun Jun 14 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1 |
---|
154 | - new upstream release |
---|
155 | |
---|
156 | * Sun Mar 15 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.2-1 |
---|
157 | - new upstream release |
---|
158 | |
---|
159 | * Wed Nov 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1 |
---|
160 | - new upstream release |
---|
161 | |
---|
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 | |
---|
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 | |
---|
173 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2 |
---|
174 | - rebuild with VineSeed environment |
---|
175 | |
---|
176 | * Sun Nov 10 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1 |
---|
177 | - new upstream release |
---|
178 | |
---|
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 | |
---|
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 | |
---|
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 | |
---|
192 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
193 | - initial build for Vine Linux |
---|
194 | |
---|