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

Revision 11661, 5.8 KB checked in by iwaim, 6 years ago (diff)

mate-notification-daemon 1.20.0-1

RevLine 
[11661]1%define major_ver 1.20
2%define ver %{major_ver}.0
[11004]3%define rel 1
4
[5311]5Summary:        Notification daemon for MATE
6Name:           mate-notification-daemon
[11004]7Version:        %{ver}
8Release:        %{rel}%{?_dist_release}
[6172]9
[11004]10Source0:        http://pub.mate-desktop.org/releases/%{major_ver}/%{name}-%{version}.tar.xz
[6172]11
[8623]12# vine theme (based on coco) and vine5 theme (old theme)
13# http://github.com/tatofoo/notification-daemon-engine-coco
14Source200: mate-notification-daemon-engine-vine.tar.xz
[6172]15
[8623]16# Vine patch
17# add vine and vine5 theme
18Patch1001: mate-notification-daemon-1.8.0-vine-theme.patch
19# change default to vine
[9797]20Patch1002: mate-notification-daemon-1.12.0-default-theme.patch
[8623]21
[5311]22License:        GPLv2
23Group:          System Environment/Libraries
[6679]24URL:            http://mate-desktop.org/
[5311]25
26BuildRequires:  mate-common
[10890]27BuildRequires:  gtk3-devel
[5311]28BuildRequires:  dbus-glib-devel
[10890]29BuildRequires:  libcanberra-gtk3-devel
30BuildRequires:  libwnck3-devel
[7697]31BuildRequires:  libnotify-devel
[5311]32BuildRequires:  gtk-doc
33BuildRequires:  autoconf
34BuildRequires:  automake
35
[7697]36Requires(posttrans,postun):     glib2
[10890]37Requires(post,postun):  gtk3
[5311]38Requires(post,postun):  desktop-file-utils
39
40BuildRoot:      %{_tmppath}/%{name}-%{version}-root
41
42Vendor:         Project Vine
43Distribution:   Vine Linux
[10890]44Packager:       Takemikaduchi, iwaim
[5311]45
46
47%description
[7697]48%{summary}
[5311]49
50
51%prep
[10890]52%setup -q
53#%setup -q -a 200
54#%patch1001 -p1
55#%patch1002 -p1
[5311]56
57%build
[10890]58#autoreconf -if
[5311]59%configure \
60        --libexecdir=%{_libexecdir}/mate \
[10890]61        --disable-static
[5311]62
63%{__make} %{?_smp_mflags}
64
65
66%install
67%{__rm} -rf ${RPM_BUILD_ROOT}
68
69%{__make} install DESTDIR=${RPM_BUILD_ROOT}
70
71find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
72find $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
82update-desktop-database %{_datadir}/applications >& /dev/null ||:
83touch --no-create %{_datadir}/icons/hicolor
[7697]84gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
[5311]85
86%postun
87/sbin/ldconfig
[7697]88if [ $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 ||:
[5311]93fi
94
[7697]95%posttrans
96glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
[5311]97
98%files -f %{name}.lang
99%defattr(-,root,root,-)
100%doc COPYING ChangeLog NEWS README
101%{_bindir}/mate-notification-properties
[6679]102%{_libdir}/mate-notification-daemon/engines/libcoco.so
103%{_libdir}/mate-notification-daemon/engines/libnodoka.so
[5311]104%{_libdir}/mate-notification-daemon/engines/libslider.so
105%{_libdir}/mate-notification-daemon/engines/libstandard.so
[10890]106#%{_libdir}/mate-notification-daemon/engines/libvine.so
107#%{_libdir}/mate-notification-daemon/engines/libvine5.so
[5311]108%{_libexecdir}/mate/mate-notification-daemon
109%{_datadir}/applications/mate-notification-properties.desktop
110%{_datadir}/dbus-1/services/org.freedesktop.mate.Notifications.service
[7697]111%{_datadir}/glib-2.0/schemas/org.mate.NotificationDaemon.gschema.xml
[5311]112%{_datadir}/icons/hicolor/*/*/*
113%{_datadir}/mate-notification-daemon/mate-notification-properties.ui
[7979]114%{_mandir}/man1/mate-notification-properties.1.gz
[5311]115
116
117%changelog
[11661]118* Sun May 20 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.20.0-1
119- update to 1.20.0
120
[11427]121* Tue Jan 23 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.1-1
122- update to 1.18.1
123
[11004]124* Mon Apr  3 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.0-1
125- update to 1.18.0
126
[10961]127* Tue Jan 31 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.1-1
128- update to 1.16.1
129- drop fix-bold patch (Patch0): upstream merged
130
[10890]131* Sun Nov 27 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.0-1
132- new upstream release
133- add fix-bold patch (Patch0)
134- update GTK+ version
135 - BR: gtk3-devel, libwnck3-devel and libcanberra-gtk3-devel
136- drop BuildRequires: libsexy-devel
137- update Packager
138- stop applying Vine Linux themes
139
[10571]140* Sat Jul 09 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.1-1
141- new upstream release
142
[10255]143* Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1
144- new upstream release
145
[9842]146* Tue Dec 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1
147- new upstream release
148
[9797]149* Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1
150- new upstream release
151- update Patch1002 (mate-notification-daemon-1.12.0-default-theme.patch)
152
[9760]153* Fri Oct 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1
154- new upstream release
155
[9705]156* Sun Aug 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-1
157- new upstream release
158
[9602]159* Sun Jun 14 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1
160- new upstream release
161
[9432]162* Sun Mar 15 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.2-1
163- new upstream release
164
[9120]165* Wed Nov 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1
166- new upstream release
167
[8623]168* Sun Jun 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-2
169- remove Patch0 (mate-notification-daemon-1.2.0-makefile.patch)
170- add Source200 (mate-notification-daemon-engine-vine.tar.xz)
171- add Patch1001 (mate-notification-daemon-1.8.0-vine-theme.patch)
172- add Patch1002 (mate-notification-daemon-1.8.0-default-theme.patch)
173- add BuildRequires: libsexy-devel
174
[8359]175* Mon Apr 14 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
176- new upstream release
177- change BuildRequires: libwnck-devel instead of libmatewnck-devel
178
[8068]179* Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2
180- rebuild with VineSeed environment
181
[7979]182* Sun Nov 10 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
183- new upstream release
184
[7697]185* Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
186- new upstream release
187- remove BuildRequires: mate-conf-devel, libmatenotify-devel
188- add BuildRequires: libnotify-devel
189
[6679]190* Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
191- new upstream release
192- change BuildRequires: libmatewnck-devel instead of libwnck-devel
193
[6172]194* Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
195- new upstream release
196- add Patch0 (mate-notification-daemon-1.2.0-makefile.patch)
197
[5311]198* Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
199- initial build for Vine Linux
200
Note: See TracBrowser for help on using the repository browser.