1 Summary: GNotify - a notification-service for Desktop-Environments
2 Summary(pl.UTF-8): GNotify - usługa powiadamiania dla środowisk graficznych
8 Group: X11/Applications
9 Source0: http://dl.sourceforge.net/gnotify/%{name}-%{version}.tar.gz
10 # Source0-md5: 6e7a031a5b1e9b12ac04992ccbf71627
12 Patch0: %{name}-clean.patch
13 Patch1: %{name}-optflags.patch
14 URL: http://gnotify.sourceforge.net/
15 BuildRequires: autoconf
16 BuildRequires: automake
17 BuildRequires: gtk+2-devel >= 2:2.2.0
18 BuildRequires: libtool
19 BuildRequires: libxml2-devel >= 2.0
20 BuildRequires: pkgconfig
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 GNotify is a little daemon written in C using GTK. It provides (like
25 the KDE KNotify-system) a notification-service for
26 GNOME/Xfce/FVWM/Fluxbox/Enlightenment and other
27 Desktop-Environments/WindowManagers.
29 %description -l pl.UTF-8
30 GNotify to mały demon napisany w C z użyciem GTK. Dostarcza (podobnie
31 jak system KDE KNotify) usługę powiadamiania dla środowisk
32 GNOME/Xfce/FVWM/Fluxbox/Enlightenment i innych środowisk graficznych
39 rm -f {COPYING,INSTALL,mkinstalldirs}
49 CFLAGS="%{rpmcflags}" \
50 LDFLAGS="%{rpmldflags} -lpthread"
53 rm -rf $RPM_BUILD_ROOT
54 install -d $RPM_BUILD_ROOT{%{_mandir}/man1,%{_sysconfdir}}
56 gzip -dc gnotify.1.gz > $RPM_BUILD_ROOT%{_mandir}/man1/gnotify.1
57 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}
60 DESTDIR=$RPM_BUILD_ROOT
63 rm -r $RPM_BUILD_ROOT%{_includedir}/GNotify
66 rm -rf $RPM_BUILD_ROOT
69 %defattr(644,root,root,755)
70 %doc ChangeLog NEWS PROTOCOL README TODO
71 %attr(755,root,root) %{_bindir}/*
73 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gnotify.xml