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

Revision 7697, 3.8 KB checked in by Takemikaduchi, 11 years ago (diff)

Cinnamon 1.8.2 & MATE 1.6

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