]> git.pld-linux.org Git - packages/fam.git/blob - fam.spec
- added fam-rpcsvc.patch (fixes linking)
[packages/fam.git] / fam.spec
1 Summary:        Fam, the File Alteration Monitor
2 Summary(pl):    Monitor zmian w plikach
3 Name:           fam
4 Version:        2.6.7
5 Release:        1
6 License:        GPL/LGPL
7 Group:          Networking/Daemons
8 Source0:        ftp://oss.sgi.com/projects/fam/download/%{name}-%{version}.tar.gz
9 Patch0:         %{name}-dnotify.patch
10 Patch1:         %{name}-build.patch
11 Patch2:         %{name}-clean_files.patch
12 Patch3:         %{name}-libstdc++.patch
13 Patch4:         %{name}-rpcsvc.patch
14 URL:            http://oss.sgi.com/projects/fam/
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  libstdc++-devel
18 BuildRequires:  libtool
19 Prereq:         rc-inetd
20 Requires:       inetdaemon
21 Requires:       portmap
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 fam, the File Alteration Monitor, provides a daemon and an API which
26 applications can use to be notified when specific files or directories
27 are changed.
28
29 %description -l pl
30 fam dostarcza serwer i API pozwalaj±ce aplikacjom na uzyskiwanie
31 informacji o zmianach w okre¶lonych plikach lub katalogach.
32
33 %package libs
34 Summary:        Libraries for FAM
35 Summary(pl):    Biblioteki FAMa
36 Group:          Libraries
37 Obsoletes:      libfam0
38
39 %description libs
40 Libraries for FAM.
41
42 %description libs -l pl
43 Biblioteki FAMa.
44
45 %package devel
46 Summary:        Includes to develop using FAM
47 Summary(pl):    Pliki nag³ówkowe FAM
48 Group:          Development/Libraries
49 Requires:       %{name}-libs
50 Obsoletes:      libfam0-devel
51
52 %description devel
53 Includes to develop using FAM.
54
55 %description devel -l pl
56 Pliki nag³ówkowe FAM.
57
58 %package static
59 Summary:        FAM static libraries
60 Summary(pl):    Biblioteki statyczne FAM
61 Group:          Development/Libraries
62 Requires:       %{name}
63
64 %description static
65 FAM static libraries.
66
67 %description static -l pl
68 Biblioteki statyczne FAM.
69
70 %prep
71 %setup -q
72 %patch0 -p1
73 %patch1 -p1
74 %patch2 -p1
75 %patch3 -p1
76 %patch4 -p1
77
78 %build
79 rm -f missing
80 libtoolize --copy --force
81 aclocal
82 autoconf
83 automake -a -c -f
84 %configure
85 %{__make}
86
87 %install
88 rm -rf $RPM_BUILD_ROOT
89
90 %{__make} install \
91         DESTDIR=$RPM_BUILD_ROOT
92
93 gzip -9nf AUTHORS ChangeLog NEWS README TODO
94
95 %clean
96 rm -rf $RPM_BUILD_ROOT
97
98 %post   libs -p /sbin/ldconfig
99 %postun libs -p /sbin/ldconfig
100
101 %files
102 %defattr(644,root,root,755)
103 %doc *.gz
104 %attr(755,root,root) %{_bindir}/*
105 %config %{_sysconfdir}/%{name}.conf
106
107 %files libs
108 %defattr(644,root,root,755)
109 %attr(755,root,root) %{_libdir}/lib*.so.*.*
110
111 %files devel
112 %defattr(644,root,root,755)
113 %attr(755,root,root) %{_libdir}/lib*.so
114 %attr(755,root,root) %{_libdir}/lib*.la
115 %{_includedir}/*.h
116 %{_mandir}/man3/*
117
118 %files static
119 %defattr(644,root,root,755)
120 %{_libdir}/*.a
This page took 0.061375 seconds and 3 git commands to generate.