1 Summary: FAM, the File Alteration Monitor
2 Summary(pl): Monitor zmian w plikach
3 Summary(pt_BR): FAM, um monitor de alterações em arquivos
9 Source0: ftp://oss.sgi.com/projects/fam/download/stable/%{name}-%{version}.tar.gz
10 # Source0-md5: 1bf3ae6c0c58d3201afc97c6a4834e39
11 Source1: %{name}.inetd
13 Source3: %{name}.sysconfig
14 Patch0: %{name}-dnotify.patch
15 Patch1: %{name}-cleanup.patch
16 Patch2: %{name}-gcc34.patch
17 Patch3: %{name}-paths.patch
18 Patch4: %{name}-gcc4.patch
19 URL: http://oss.sgi.com/projects/fam/
20 BuildRequires: autoconf
21 BuildRequires: automake
22 BuildRequires: libstdc++-devel
23 BuildRequires: libtool
24 BuildRequires: rpmbuild(macros) >= 1.268
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 FAM, the File Alteration Monitor, provides a daemon and an API which
29 applications can use to be notified when specific files or directories
33 FAM dostarcza serwer i API pozwalaj±ce aplikacjom na uzyskiwanie
34 informacji o zmianach w okre¶lonych plikach lub katalogach.
37 O FAM fornece um servidor e uma API que aplicações podem usar para
38 receber notificações sobre mudanças em arquivos ou diretórios
42 Summary: FAM, the File Alteration Monitor - common files
43 Summary(pl): Monitor zmian w plikach - wspólne pliki
45 Requires: %{name}-libs = %{version}-%{release}
47 Obsoletes: fam < 2.7.0
50 FAM, the File Alteration Monitor, provides a daemon and an API which
51 applications can use to be notified when specific files or directories
54 %description common -l pl
55 FAM dostarcza serwer i API pozwalaj±ce aplikacjom na uzyskiwanie
56 informacji o zmianach w okre¶lonych plikach lub katalogach.
58 %description common -l pt_BR
59 O FAM fornece um servidor e uma API que aplicações podem usar para
60 receber notificações sobre mudanças em arquivos ou diretórios
64 Summary: inetd configs for FAM
65 Summary(pl): Pliki konfiguracyjne do u¿ycia FAM poprzez inetd
67 Requires: %{name}-common = %{version}-%{release}
71 Provides: fam = %{version}-%{release}
72 Obsoletes: fam-standalone
74 # no RPC support in rc-inet script before
75 Conflicts: inetd < 0.17-12
76 # no working RPC and tcp/wait support before
77 Conflicts: rlinetd < 0.6-1
78 # PORT option was required before
79 Conflicts: xinetd < 2.3.14-2
82 FAM configs for running from inetd.
84 %description inetd -l pl
85 Pliki konfiguracyjna FAM do startowania demona poprzez inetd.
88 Summary: Standalone daemon configs for FAM
89 Summary(pl): Pliki konfiguracyjne do startowania FAM w trybie standalone
91 Requires(post,preun): /sbin/chkconfig
92 Requires: %{name}-common = %{version}-%{release}
93 Requires: /sbin/chkconfig
95 Provides: fam = %{version}-%{release}
99 %description standalone
100 FAM configs for running as a standalone daemon.
102 %description standalone -l pl
103 Pliki konfiguracyjne FAM do startowania demona w trybie standalone.
106 Summary: Libraries for FAM
107 Summary(pl): Biblioteki FAMa
108 Summary(pt_BR): FAM, um monitor de alteraçoes em arquivos
112 Conflicts: gamin-libs
117 %description libs -l pl
120 %description libs -l pt_BR
121 FAM, um monitor de alteraçoes em arquivos.
124 Summary: Includes to develop using FAM
125 Summary(pl): Pliki nag³ówkowe FAM
126 Summary(pt_BR): Arquivos para desenvolvimento com a libfam
128 Group: Development/Libraries
129 Requires: %{name}-libs = %{version}-%{release}
130 Requires: libstdc++-devel
131 Obsoletes: libfam0-devel
132 Conflicts: gamin-devel
135 Includes to develop using FAM.
137 %description devel -l pl
138 Pliki nag³ówkowe FAM.
140 %description devel -l pt_BR
141 Bibliotecas e arquivos de inclusão para desenvolvimento com a libfam.
144 Summary: FAM static libraries
145 Summary(pl): Biblioteki statyczne FAM
146 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com a libfam
148 Group: Development/Libraries
149 Requires: %{name}-devel = %{version}-%{release}
150 Conflicts: gamin-static
153 FAM static libraries.
155 %description static -l pl
156 Biblioteki statyczne FAM.
158 %description static -l pt_BR
159 Bibliotecas estáticas para desenvolvimento com a libfam.
175 CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions"
180 rm -rf $RPM_BUILD_ROOT
181 install -d $RPM_BUILD_ROOT/etc/{sysconfig/rc-inetd,rc.d/init.d}
184 DESTDIR=$RPM_BUILD_ROOT
186 install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/sgi_fam
187 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/famd
188 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/famd
190 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
191 install test/test.c++ $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
194 rm -rf $RPM_BUILD_ROOT
197 %service -q rc-inetd reload
200 if [ "$1" = 0 ]; then
201 %service -q rc-inetd reload
205 /sbin/chkconfig --add famd
206 %service famd restart "FAM daemon"
209 if [ "$1" = "0" ]; then
211 /sbin/chkconfig --del famd
214 %post libs -p /sbin/ldconfig
215 %postun libs -p /sbin/ldconfig
218 %defattr(644,root,root,755)
219 %doc AUTHORS ChangeLog NEWS README TODO
220 %attr(755,root,root) %{_sbindir}/*
221 %config %{_sysconfdir}/%{name}.conf
226 %defattr(644,root,root,755)
227 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/sgi_fam
230 %defattr(644,root,root,755)
231 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/famd
232 %attr(754,root,root) /etc/rc.d/init.d/famd
235 %defattr(644,root,root,755)
236 %attr(755,root,root) %{_libdir}/lib*.so.*.*
239 %defattr(644,root,root,755)
240 %attr(755,root,root) %{_libdir}/lib*.so
244 %{_examplesdir}/%{name}-%{version}
247 %defattr(644,root,root,755)