]>
Commit | Line | Data |
---|---|---|
ceb2ab5c | 1 | Summary: Desktop notifications library |
6e31cc11 | 2 | Summary(pl.UTF-8): Biblioteka powiadomień dla pulpitu |
ceb2ab5c | 3 | Name: libnotify |
9401a358 | 4 | Version: 0.4.5 |
017389c5 | 5 | Release: 2 |
40d55def | 6 | License: LGPL v2.1+ (library), GPL v2+ (tools) |
3e688f5d | 7 | Group: Libraries |
68ee31d6 | 8 | Source0: http://www.galago-project.org/files/releases/source/libnotify/%{name}-%{version}.tar.bz2 |
9401a358 | 9 | # Source0-md5: 6a8388f93309dbe336bbe5fc0677de6b |
ceb2ab5c | 10 | URL: http://www.galago-project.org/ |
40d55def JB |
11 | BuildRequires: autoconf >= 2.50 |
12 | BuildRequires: automake | |
b2753f23 | 13 | BuildRequires: dbus-glib-devel >= 0.71 |
14 | BuildRequires: glib2-devel >= 1:2.12.1 | |
15 | BuildRequires: gtk+2-devel >= 2:2.10.1 | |
16 | BuildRequires: gtk-doc >= 1.7 | |
40d55def | 17 | BuildRequires: libtool |
8693f743 | 18 | BuildRequires: pkgconfig |
b2753f23 | 19 | Requires: dbus-glib >= 0.71 |
ceb2ab5c PZ |
20 | BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %description | |
610f45c1 JB |
23 | A library that sends desktop notifications to a notification daemon, |
24 | as defined in the Desktop Notifications spec. These notifications can | |
25 | be used to inform the user about an event or display some form of | |
ceb2ab5c PZ |
26 | information without getting in the user's way. |
27 | ||
0670ddd8 JR |
28 | %description -l pl.UTF-8 |
29 | Biblioteka wysyłająca powiadomienia dla pulpitu do demona powiadomień | |
30 | zgodnie ze specyfikacją Desktop Notifications. Powiadomienia te mogą | |
31 | być używane do informowania użytkownika o zdarzeniu lub wyświetlania | |
32 | jakiejś formy informacji bez wchodzenia użytkownikowi w drogę. | |
610f45c1 | 33 | |
505109e1 MB |
34 | %package apidocs |
35 | Summary: libnotify API documentation | |
6e31cc11 | 36 | Summary(pl.UTF-8): Dokumentacja API biblioteki libnotify |
505109e1 MB |
37 | Group: Documentation |
38 | Requires: gtk-doc-common | |
39 | ||
40 | %description apidocs | |
41 | libnotify API documentation. | |
42 | ||
0670ddd8 | 43 | %description apidocs -l pl.UTF-8 |
505109e1 MB |
44 | Dokumentacja API biblioteki libnotify. |
45 | ||
ceb2ab5c PZ |
46 | %package devel |
47 | Summary: libnotify header files | |
6e31cc11 | 48 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libnotify |
40d55def | 49 | License: LGPL v2.1+ |
ceb2ab5c | 50 | Group: Development/Libraries |
610f45c1 | 51 | Requires: %{name} = %{version}-%{release} |
b2753f23 | 52 | Requires: dbus-glib-devel >= 0.71 |
53 | Requires: glib2-devel >= 1:2.12.1 | |
54 | Requires: gtk+2-devel >= 2:2.10.1 | |
ceb2ab5c PZ |
55 | |
56 | %description devel | |
57 | Header files for libnotify-based programs development. | |
58 | ||
0670ddd8 JR |
59 | %description devel -l pl.UTF-8 |
60 | Pliki nagłówkowe do tworzenia programów opartych o libnotify. | |
610f45c1 JB |
61 | |
62 | %package static | |
63 | Summary: Static libnotify library | |
6e31cc11 | 64 | Summary(pl.UTF-8): Statyczna biblioteka libnotify |
40d55def | 65 | License: LGPL v2.1+ |
610f45c1 JB |
66 | Group: Development/Libraries |
67 | Requires: %{name}-devel = %{version}-%{release} | |
68 | ||
69 | %description static | |
70 | Static libnotify library. | |
71 | ||
0670ddd8 | 72 | %description static -l pl.UTF-8 |
610f45c1 JB |
73 | Statyczna biblioteka libnotify. |
74 | ||
ceb2ab5c PZ |
75 | %prep |
76 | %setup -q | |
77 | ||
78 | %build | |
40d55def JB |
79 | %{__libtoolize} |
80 | %{__aclocal} | |
81 | %{__autoconf} | |
82 | %{__autoheader} | |
83 | %{__automake} | |
3e688f5d | 84 | %configure \ |
85 | --enable-gtk-doc \ | |
86 | --with-html-dir=%{_gtkdocdir} | |
ceb2ab5c PZ |
87 | %{__make} |
88 | ||
89 | %install | |
90 | rm -rf $RPM_BUILD_ROOT | |
610f45c1 | 91 | |
ceb2ab5c PZ |
92 | %{__make} install \ |
93 | DESTDIR=$RPM_BUILD_ROOT | |
94 | ||
95 | %clean | |
96 | rm -rf $RPM_BUILD_ROOT | |
97 | ||
98 | %post -p /sbin/ldconfig | |
99 | %postun -p /sbin/ldconfig | |
100 | ||
101 | %files | |
102 | %defattr(644,root,root,755) | |
40d55def | 103 | %doc AUTHORS ChangeLog NEWS |
311eab1c | 104 | %attr(755,root,root) %{_bindir}/* |
ceb2ab5c | 105 | %attr(755,root,root) %{_libdir}/lib*.so.*.* |
9401a358 | 106 | %attr(755,root,root) %ghost %{_libdir}/lib*.so.1 |
ceb2ab5c | 107 | |
505109e1 MB |
108 | %files apidocs |
109 | %defattr(644,root,root,755) | |
110 | %{_gtkdocdir}/%{name} | |
111 | ||
ceb2ab5c PZ |
112 | %files devel |
113 | %defattr(644,root,root,755) | |
114 | %attr(755,root,root) %{_libdir}/lib*.so | |
ceb2ab5c | 115 | %{_libdir}/lib*.la |
610f45c1 | 116 | %{_pkgconfigdir}/* |
ceb2ab5c | 117 | %{_includedir}/* |
610f45c1 JB |
118 | |
119 | %files static | |
120 | %defattr(644,root,root,755) | |
121 | %{_libdir}/lib*.a |