]> git.pld-linux.org Git - SPECS.git/blob - gnotify.spec
SPECS updated Sun 1 Aug 20:13:02 CEST 2021
[SPECS.git] / gnotify.spec
1 Summary:        GNotify - a notification-service for Desktop-Environments
2 Summary(pl.UTF-8):      GNotify - usługa powiadamiania dla środowisk graficznych
3 Name:           gnotify
4 Version:        1.2
5 Release:        2
6 Epoch:          1
7 License:        GPL
8 Group:          X11/Applications
9 Source0:        http://dl.sourceforge.net/gnotify/%{name}-%{version}.tar.gz
10 # Source0-md5:  6e7a031a5b1e9b12ac04992ccbf71627
11 Source1:        %{name}.xml
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)
22
23 %description
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.
28
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
33 oraz zarządców okien.
34
35 %prep
36 %setup -q
37 %patch0 -p1
38 %patch1 -p1
39 rm -f {COPYING,INSTALL,mkinstalldirs}
40
41 %build
42 %{__libtoolize}
43 %{__aclocal}
44 %{__autoconf}
45 %{__autoheader}
46 %{__automake}
47 %configure
48 %{__make} \
49         CFLAGS="%{rpmcflags}" \
50         LDFLAGS="%{rpmldflags} -lpthread"
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54 install -d $RPM_BUILD_ROOT{%{_mandir}/man1,%{_sysconfdir}}
55
56 gzip -dc gnotify.1.gz > $RPM_BUILD_ROOT%{_mandir}/man1/gnotify.1
57 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}
58
59 %{__make} install \
60         DESTDIR=$RPM_BUILD_ROOT
61
62 # not neccessary?
63 rm -r $RPM_BUILD_ROOT%{_includedir}/GNotify
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %files
69 %defattr(644,root,root,755)
70 %doc ChangeLog NEWS PROTOCOL README TODO
71 %attr(755,root,root) %{_bindir}/*
72 %{_mandir}/man1/*
73 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gnotify.xml
This page took 0.09924 seconds and 3 git commands to generate.