]> git.pld-linux.org Git - packages/gamin.git/blob - gamin.spec
- pl
[packages/gamin.git] / gamin.spec
1 Summary:        Library providing the gamin File Alteration Monitor API
2 Summary(pl):    Biblioteka dostarczaj±ca File Alternation Monitor Api gamina
3 Name:           gamin
4 Version:        0.0.2
5 Release:        1
6 License:        LGPL
7 Group:          Networking/Daemons
8 Source0:        http://www.gnome.org/~veillard/gamin/sources/%{name}-%{version}.tar.gz
9 # Source0-md5:  17fda5a2e288b93944fd814254bad4c3
10 Source1:        %{name}.inetd
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  libtool
14 PreReq:         rc-inetd
15 Requires:       %{name}-libs = %{version}-%{release}
16 Requires:       inetdaemon
17 Requires:       portmap
18 Provides:       fam
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 This C library provides an API and ABI compatible file alteration
23 monitor mechanism compatible with gamin but not dependant on a system
24 wide daemon.
25
26 %description -l pl
27 Ta biblioteka C dostarcza mechanizm monitorowania zmian plików
28 kompatybilny na poziomie API i ABI z gaminem, ale niezale¿ny od
29 ogólnosystemowego demona.
30
31 %package libs
32 Summary:        Libraries for gamin
33 Summary(pl):    Biblioteki dla gamina
34 Group:          Libraries
35 Provides:       fam-libs
36 Obsoletes:      libfam0
37
38 %description libs
39 Libraries for gamin.
40
41 %description libs -l pl
42 Biblioteki dla gamina.
43
44 %package devel
45 Summary:        Includes to develop using gamin
46 Summary(pl):    Pliki nag³ówkowe do tworzenia programów z u¿yciem gamina
47 Group:          Development/Libraries
48 Requires:       %{name}-libs = %{version}-%{release}
49 Requires:       libstdc++-devel
50 Provides:       fam-devel
51 Obsoletes:      libfam0-devel
52
53 %description devel
54 Includes to develop using gamin.
55
56 %description devel -l pl
57 Pliki nag³ówkowe do tworzenia programów z u¿yciem gamina.
58
59 %package static
60 Summary:        gamin static libraries
61 Summary(pl):    Statyczne biblioteki gamina
62 Group:          Development/Libraries
63 Requires:       %{name}-devel = %{version}-%{release}
64 Provides:       fam-static
65
66 %description static
67 gamin static libraries.
68
69 %description static -l pl
70 Statyczne biblioteki gamina.
71
72 %prep
73 %setup -q
74
75 %build
76 %{__libtoolize}
77 %{__aclocal}
78 %{__autoconf}
79 %{__automake}
80 %configure
81 %{__make}
82
83 %install
84 rm -rf $RPM_BUILD_ROOT
85 install -d $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd
86
87 %{__make} install \
88         DESTDIR=$RPM_BUILD_ROOT
89
90 install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/gamin
91
92 %clean
93 rm -rf $RPM_BUILD_ROOT
94
95 %post
96 if [ -f /var/lock/subsys/rc-inetd ]; then
97         /etc/rc.d/init.d/rc-inetd reload 1>&2
98 else
99         echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet server" 1>&2
100 fi
101
102 %postun
103 if [ -f /var/lock/subsys/rc-inetd ]; then
104         /etc/rc.d/init.d/rc-inetd reload
105 fi
106
107 %post   libs -p /sbin/ldconfig
108 %postun libs -p /sbin/ldconfig
109
110 %files
111 %defattr(644,root,root,755)
112 %doc AUTHORS ChangeLog README TODO
113 %attr(755,root,root) %{_bindir}/*
114 %config %{_sysconfdir}/%{name}.conf
115 %attr(640,root,root) /etc/sysconfig/rc-inetd/gamin
116
117 %files libs
118 %defattr(644,root,root,755)
119 %attr(755,root,root) %{_libdir}/lib*.so.*.*
120
121 %files devel
122 %defattr(644,root,root,755)
123 %attr(755,root,root) %{_libdir}/lib*.so
124 %{_libdir}/lib*.la
125 %{_includedir}/*.h
126 %{_pkgconfigdir}/*.pc
127
128 %files static
129 %defattr(644,root,root,755)
130 %{_libdir}/*.a
This page took 0.399868 seconds and 3 git commands to generate.