]>
Commit | Line | Data |
---|---|---|
4f1e4a56 | 1 | Summary: Library providing the gamin File Alteration Monitor API |
c88d4f40 | 2 | Summary(pl.UTF-8): Biblioteka dostarczająca File Alteration Monitor API gamina |
4f1e4a56 | 3 | Name: gamin |
79b551d0 | 4 | Version: 0.1.9 |
6d6ac033 | 5 | Release: 2 |
599e522d | 6 | License: LGPL v2.1 |
4f1e4a56 | 7 | Group: Networking/Daemons |
d9574712 | 8 | Source0: http://www.gnome.org/~veillard/gamin/sources/%{name}-%{version}.tar.gz |
79b551d0 | 9 | # Source0-md5: 2d3a6a70df090ed923238e381e6c2982 |
fb8433fe | 10 | Patch0: %{name}-inotify.patch |
17f682fb | 11 | URL: http://www.gnome.org/~veillard/gamin/ |
b6777469 | 12 | BuildRequires: autoconf >= 2.52 |
4f1e4a56 | 13 | BuildRequires: automake |
b6777469 | 14 | BuildRequires: glib2-devel |
4f1e4a56 | 15 | BuildRequires: libtool |
90d73033 | 16 | BuildRequires: pkgconfig |
a7c16693 | 17 | BuildRequires: python |
bfe17aa0 | 18 | BuildRequires: python-devel |
4f1e4a56 | 19 | Requires: %{name}-libs = %{version}-%{release} |
a0b8e791 | 20 | Obsoletes: gamin-inetd |
03ff620b | 21 | Provides: fam = %{name} |
4f1e4a56 AM |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
23 | ||
24 | %description | |
25 | This C library provides an API and ABI compatible file alteration | |
1a4e7673 JB |
26 | monitor mechanism compatible with gamin but not dependant on a system |
27 | wide daemon. | |
28 | ||
be640cc8 JR |
29 | %description -l pl.UTF-8 |
30 | Ta biblioteka C dostarcza mechanizm monitorowania zmian plików | |
31 | kompatybilny na poziomie API i ABI z gaminem, ale niezależny od | |
32 | ogólnosystemowego demona. | |
4f1e4a56 AM |
33 | |
34 | %package libs | |
35 | Summary: Libraries for gamin | |
c88d4f40 | 36 | Summary(pl.UTF-8): Biblioteki dla gamina |
4f1e4a56 | 37 | Group: Libraries |
03ff620b | 38 | Provides: fam-libs = %{name}-libs |
4f1e4a56 AM |
39 | |
40 | %description libs | |
41 | Libraries for gamin. | |
42 | ||
be640cc8 | 43 | %description libs -l pl.UTF-8 |
1a4e7673 JB |
44 | Biblioteki dla gamina. |
45 | ||
4f1e4a56 AM |
46 | %package devel |
47 | Summary: Includes to develop using gamin | |
c88d4f40 | 48 | Summary(pl.UTF-8): Pliki nagłówkowe do tworzenia programów z użyciem gamina |
4f1e4a56 AM |
49 | Group: Development/Libraries |
50 | Requires: %{name}-libs = %{version}-%{release} | |
7bf8e77d | 51 | Requires: glib2-devel |
03ff620b | 52 | Provides: fam-devel = %{name}-devel |
4f1e4a56 AM |
53 | |
54 | %description devel | |
55 | Includes to develop using gamin. | |
56 | ||
be640cc8 JR |
57 | %description devel -l pl.UTF-8 |
58 | Pliki nagłówkowe do tworzenia programów z użyciem gamina. | |
1a4e7673 | 59 | |
4f1e4a56 AM |
60 | %package static |
61 | Summary: gamin static libraries | |
c88d4f40 | 62 | Summary(pl.UTF-8): Statyczne biblioteki gamina |
4f1e4a56 AM |
63 | Group: Development/Libraries |
64 | Requires: %{name}-devel = %{version}-%{release} | |
03ff620b | 65 | Provides: fam-static = %{name}-static |
4f1e4a56 AM |
66 | |
67 | %description static | |
68 | gamin static libraries. | |
69 | ||
be640cc8 | 70 | %description static -l pl.UTF-8 |
1a4e7673 JB |
71 | Statyczne biblioteki gamina. |
72 | ||
bfe17aa0 | 73 | %package -n python-gamin |
74 | Summary: Python modules for gamin | |
c88d4f40 | 75 | Summary(pl.UTF-8): Moduły języka Python dla gamina |
bfe17aa0 | 76 | Group: Libraries/Python |
77 | Requires: %{name} = %{version}-%{release} | |
78 | %pyrequires_eq python-libs | |
79 | ||
80 | %description -n python-gamin | |
81 | Python modules for gamin. | |
82 | ||
be640cc8 JR |
83 | %description -n python-gamin -l pl.UTF-8 |
84 | Moduły języka Python dla gamina. | |
bfe17aa0 | 85 | |
4f1e4a56 AM |
86 | %prep |
87 | %setup -q | |
fb8433fe | 88 | %patch0 -p1 |
4f1e4a56 AM |
89 | |
90 | %build | |
91 | %{__libtoolize} | |
92 | %{__aclocal} | |
93 | %{__autoconf} | |
a0b8e791 | 94 | %{__autoheader} |
4f1e4a56 | 95 | %{__automake} |
fb8433fe AM |
96 | %configure \ |
97 | --%{?debug:en}%{!?debug:dis}able-debug | |
4f1e4a56 AM |
98 | %{__make} |
99 | ||
100 | %install | |
101 | rm -rf $RPM_BUILD_ROOT | |
4f1e4a56 AM |
102 | |
103 | %{__make} install \ | |
104 | DESTDIR=$RPM_BUILD_ROOT | |
105 | ||
bfe17aa0 | 106 | %py_ocomp $RPM_BUILD_ROOT%{py_sitedir} |
107 | %py_comp $RPM_BUILD_ROOT%{py_sitedir} | |
108 | ||
109 | rm -f $RPM_BUILD_ROOT%{py_sitedir}/*.{py,la,a} | |
110 | ||
4f1e4a56 AM |
111 | %clean |
112 | rm -rf $RPM_BUILD_ROOT | |
113 | ||
e2917e02 | 114 | %post libs -p /sbin/ldconfig |
115 | %postun libs -p /sbin/ldconfig | |
116 | ||
4f1e4a56 AM |
117 | %files |
118 | %defattr(644,root,root,755) | |
119 | %doc AUTHORS ChangeLog README TODO | |
e6e2ab7a | 120 | %attr(755,root,root) %{_libdir}/gam_server |
4f1e4a56 AM |
121 | |
122 | %files libs | |
123 | %defattr(644,root,root,755) | |
124 | %attr(755,root,root) %{_libdir}/lib*.so.*.* | |
125 | ||
126 | %files devel | |
127 | %defattr(644,root,root,755) | |
128 | %attr(755,root,root) %{_libdir}/lib*.so | |
129 | %{_libdir}/lib*.la | |
130 | %{_includedir}/*.h | |
131 | %{_pkgconfigdir}/*.pc | |
132 | ||
133 | %files static | |
134 | %defattr(644,root,root,755) | |
a0b8e791 | 135 | %{_libdir}/lib*.a |
bfe17aa0 | 136 | |
137 | %files -n python-gamin | |
138 | %defattr(644,root,root,755) | |
139 | %attr(755,root,root) %{py_sitedir}/*.so | |
140 | %{py_sitedir}/*.py[co] |