]> git.pld-linux.org Git - packages/gamin.git/blob - gamin.spec
- rel. 2 for new Python
[packages/gamin.git] / gamin.spec
1 Summary:        Library providing the gamin File Alteration Monitor API
2 Summary(pl.UTF-8):      Biblioteka dostarczająca File Alteration Monitor API gamina
3 Name:           gamin
4 Version:        0.1.9
5 Release:        2
6 License:        LGPL v2.1
7 Group:          Networking/Daemons
8 Source0:        http://www.gnome.org/~veillard/gamin/sources/%{name}-%{version}.tar.gz
9 # Source0-md5:  2d3a6a70df090ed923238e381e6c2982
10 Patch0:         %{name}-inotify.patch
11 URL:            http://www.gnome.org/~veillard/gamin/
12 BuildRequires:  autoconf >= 2.52
13 BuildRequires:  automake
14 BuildRequires:  glib2-devel
15 BuildRequires:  libtool
16 BuildRequires:  pkgconfig
17 BuildRequires:  python
18 BuildRequires:  python-devel
19 Requires:       %{name}-libs = %{version}-%{release}
20 Obsoletes:      gamin-inetd
21 Provides:       fam = %{name}
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 This C library provides an API and ABI compatible file alteration
26 monitor mechanism compatible with gamin but not dependant on a system
27 wide daemon.
28
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.
33
34 %package libs
35 Summary:        Libraries for gamin
36 Summary(pl.UTF-8):      Biblioteki dla gamina
37 Group:          Libraries
38 Provides:       fam-libs = %{name}-libs
39
40 %description libs
41 Libraries for gamin.
42
43 %description libs -l pl.UTF-8
44 Biblioteki dla gamina.
45
46 %package devel
47 Summary:        Includes to develop using gamin
48 Summary(pl.UTF-8):      Pliki nagłówkowe do tworzenia programów z użyciem gamina
49 Group:          Development/Libraries
50 Requires:       %{name}-libs = %{version}-%{release}
51 Requires:       glib2-devel
52 Provides:       fam-devel = %{name}-devel
53
54 %description devel
55 Includes to develop using gamin.
56
57 %description devel -l pl.UTF-8
58 Pliki nagłówkowe do tworzenia programów z użyciem gamina.
59
60 %package static
61 Summary:        gamin static libraries
62 Summary(pl.UTF-8):      Statyczne biblioteki gamina
63 Group:          Development/Libraries
64 Requires:       %{name}-devel = %{version}-%{release}
65 Provides:       fam-static = %{name}-static
66
67 %description static
68 gamin static libraries.
69
70 %description static -l pl.UTF-8
71 Statyczne biblioteki gamina.
72
73 %package -n python-gamin
74 Summary:        Python modules for gamin
75 Summary(pl.UTF-8):      Moduły języka Python dla gamina
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
83 %description -n python-gamin -l pl.UTF-8
84 Moduły języka Python dla gamina.
85
86 %prep
87 %setup -q
88 %patch0 -p1
89
90 %build
91 %{__libtoolize}
92 %{__aclocal}
93 %{__autoconf}
94 %{__autoheader}
95 %{__automake}
96 %configure \
97         --%{?debug:en}%{!?debug:dis}able-debug
98 %{__make}
99
100 %install
101 rm -rf $RPM_BUILD_ROOT
102
103 %{__make} install \
104         DESTDIR=$RPM_BUILD_ROOT
105
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
111 %clean
112 rm -rf $RPM_BUILD_ROOT
113
114 %post   libs -p /sbin/ldconfig
115 %postun libs -p /sbin/ldconfig
116
117 %files
118 %defattr(644,root,root,755)
119 %doc AUTHORS ChangeLog README TODO
120 %attr(755,root,root) %{_libdir}/gam_server
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)
135 %{_libdir}/lib*.a
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]
This page took 0.077851 seconds and 3 git commands to generate.