]>
Commit | Line | Data |
---|---|---|
5aa38709 | 1 | # |
cec64641 | 2 | # TODO: |
cc1675a4 JB |
3 | # - move SQL module to a separate package |
4 | # - relies on libs in /usr which is wrong | |
5 | # (well, for modules bringing additional functionality it's acceptable IMO --q) | |
6 | # - use external libivykis [>= 0.18+syslog-ng updates] | |
cec64641 | 7 | # |
8eca2e89 | 8 | # Conditional build: |
cc1675a4 | 9 | %bcond_with dynamic # link dynamically with glib, eventlog, pcre (modules are always linked dynamically) |
306cd2c9 | 10 | %if "%{pld_release}" == "ac" |
544d8db5 | 11 | %bcond_with sql # build with support for logging to SQL DB |
306cd2c9 | 12 | %else |
808ca97e | 13 | %bcond_without sql # build without support for logging to SQL DB |
306cd2c9 | 14 | %endif |
f3688193 | 15 | %bcond_without tests |
5461d50b | 16 | |
306cd2c9 ER |
17 | %if "%{pld_release}" == "ac" |
18 | %define glib2_ver 2.16.0 | |
19 | %else | |
5461d50b | 20 | %define glib2_ver 2.24.0 |
306cd2c9 | 21 | %endif |
80a87a81 | 22 | Summary: Syslog-ng - new generation of the system logger |
cc1675a4 | 23 | Summary(pl.UTF-8): Syslog-ng - systemowy demon logujący nowej generacji |
f7affeae | 24 | Summary(pt_BR.UTF-8): Daemon de log nova geração |
db55bc6c | 25 | Name: syslog-ng |
5fe1f11f | 26 | Version: 3.3.1 |
cc1675a4 | 27 | Release: 3 |
2cb1bc96 | 28 | License: GPL v2 |
db55bc6c | 29 | Group: Daemons |
5fe1f11f AM |
30 | Source0: http://www.balabit.com/downloads/files/syslog-ng/open-source-edition/%{version}/source/%{name}_%{version}.tar.gz |
31 | # Source0-md5: a3dfe8a49aa8ce1aeb7e1ed5b11af378 | |
70c1937a | 32 | Source1: %{name}.init |
33 | Source2: %{name}.conf | |
e0f9b227 | 34 | Source3: %{name}.logrotate |
5fe1f11f AM |
35 | Source4: http://www.balabit.com/support/documentation/syslog-ng-ose-v3.3-guide-admin-en.pdf |
36 | # Source4-md5: bb23e36a8f44956858f2d622f9d1826d | |
0872fe7c | 37 | Source5: %{name}-simple.conf |
c3d7f31f | 38 | Source6: %{name}.upstart |
35907845 | 39 | Patch0: %{name}-datadir.patch |
5fe1f11f | 40 | Patch1: cap_syslog-vserver-workaround.patch |
38883b2f | 41 | Patch2: %{name}-nolibs.patch |
34c905de | 42 | URL: http://www.balabit.com/products/syslog_ng/ |
96ef1ac7 | 43 | BuildRequires: autoconf >= 2.53 |
53500332 | 44 | BuildRequires: automake |
4a7ca8b7 | 45 | BuildRequires: bison >= 2.4 |
cc1675a4 | 46 | BuildRequires: eventlog-devel >= 0.2.12 |
ac9ca8e0 | 47 | BuildRequires: flex |
cc1675a4 JB |
48 | BuildRequires: glib2-devel >= 1:%{glib2_ver} |
49 | BuildRequires: json-c-devel >= 0.7 | |
50 | BuildRequires: libcap-devel | |
51 | %{?with_sql:BuildRequires: libdbi-devel >= 0.8.3-2} | |
52 | BuildRequires: libmongo-client-devel >= 0.1.0 | |
53 | BuildRequires: libnet-devel >= 1:1.1.2.1-3 | |
4a7ca8b7 | 54 | BuildRequires: libtool >= 2:2.0 |
cc1675a4 JB |
55 | BuildRequires: libwrap-devel |
56 | BuildRequires: openssl-devel >= 0.9.8 | |
57 | BuildRequires: pcre-devel >= 6.1 | |
bf8c4b27 | 58 | BuildRequires: pkgconfig |
306cd2c9 | 59 | BuildRequires: rpm >= 4.4.9-56 |
1337adb4 | 60 | BuildRequires: rpmbuild(macros) >= 1.561 |
24642adc | 61 | BuildRequires: which |
bc708ef6 | 62 | %if %{with tests} |
306cd2c9 | 63 | %{?with_sql:BuildRequires: libdbi-drivers-sqlite3} |
24642adc | 64 | BuildRequires: python |
65 | BuildRequires: python-modules | |
bc708ef6 AF |
66 | BuildRequires: tzdata |
67 | %endif | |
cc1675a4 | 68 | %if %{without dynamic} |
d132f512 | 69 | BuildRequires: eventlog-static >= 0.2.12 |
5461d50b | 70 | BuildRequires: glib2-static >= 1:%{glib2_ver} |
585ae33b | 71 | BuildRequires: pcre-static >= 6.1 |
808ca97e | 72 | BuildRequires: zlib-static |
8eca2e89 | 73 | %endif |
768882cc | 74 | Requires(post): fileutils |
cc4597b5 | 75 | Requires(post,preun): /sbin/chkconfig |
cc1675a4 JB |
76 | Requires: %{name}-libs = %{version}-%{release} |
77 | Requires: eventlog >= 0.2.12 | |
5461d50b | 78 | Requires: glib2 >= 1:%{glib2_ver} |
cc1675a4 | 79 | Requires: pcre >= 6.1 |
0471c4e3 | 80 | Requires: psmisc >= 20.1 |
622aa91c | 81 | Requires: rc-scripts >= 0.4.3.0 |
cc1675a4 | 82 | # for modules |
77ae5051 JB |
83 | Requires: json-c >= 0.7 |
84 | Requires: libdbi >= 0.8.3-2 | |
752e2969 | 85 | Requires: libmongo-client >= 0.1.0 |
77ae5051 JB |
86 | Requires: libnet >= 1:1.1.2.1-7 |
87 | Requires: openssl >= 0.9.8 | |
18a2d4ea | 88 | Provides: syslogdaemon |
5db3c127 | 89 | Conflicts: klogd |
1a409b7d | 90 | Conflicts: msyslog |
0baee825 | 91 | Conflicts: syslog |
8a78073d | 92 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
db55bc6c | 93 | |
35907845 AM |
94 | # syslog-ng has really crazy linking rules (see their bugzilla). |
95 | # Some rules, according to syslog-ng devs, are like this: | |
96 | # - libsyslog-ng.so has undefined symbols for third party libraries | |
97 | # and these symbols should go via main syslog-ng binary | |
98 | # - same applies for modules | |
cc1675a4 JB |
99 | # In dynamic case tests are forcily linked with dynamic modules, which doesn't work with as-needed. |
100 | %define filterout_ld -Wl,--as-needed -Wl,--no-copy-dt-needed-entries | |
bb38cad4 JR |
101 | %if %{without dynamic} |
102 | %define no_install_post_check_so 1 | |
103 | %define _sbindir /sbin | |
104 | %define _libdir /%{_lib} | |
105 | %endif | |
106 | ||
db55bc6c | 107 | %description |
a42dcc7c | 108 | syslog-ng is a syslogd replacement for Unix and Unix-like systems. It |
70c1937a | 109 | has been tested on Solaris, BSDi and Linux, and were found to run |
110 | reliably. syslog-ng gives you a much enhanced configuration scheme, | |
111 | which lets you filter messages based on not only priority/facility | |
112 | pairs, but also on message content. You can use regexps to direct log | |
113 | stream to different destinations. A destination can be anything from a | |
114 | simple file to a network connection. syslog-ng supports TCP | |
115 | logforwarding, together with hashing to prevent unauthorized | |
116 | modification on the line. | |
db55bc6c | 117 | |
6ab9000c JR |
118 | %description -l pl.UTF-8 |
119 | Syslog-ng jest zamiennikiem dla standardowo używanych programów typu | |
a42dcc7c | 120 | syslog. Działa w systemie SunOS, BSD, Linux. Daje znacznie większe |
6ab9000c | 121 | możliwości logowania i kontrolowania zbieranych informacji. |
db55bc6c | 122 | |
6ab9000c JR |
123 | %description -l pt_BR.UTF-8 |
124 | Syslog-ng é um substituto para o syslog tradicional, mas com diversas | |
02e7b20a | 125 | melhorias, como, por exemplo, a habilidade de filtrar mensagens de log |
6ab9000c | 126 | por seu conteúdo (usando expressões regulares) e não apenas pelo par |
02e7b20a | 127 | facility/prioridade como o syslog original. |
128 | ||
c3d7f31f JK |
129 | %package upstart |
130 | Summary: Upstart job description for syslog-ng | |
4a7ca8b7 | 131 | Summary(pl.UTF-8): Opis zadania Upstart dla demona syslog-ng |
c3d7f31f JK |
132 | Group: Daemons |
133 | Requires: %{name} = %{version}-%{release} | |
134 | Requires: upstart >= 0.6 | |
528e8fc2 JK |
135 | Conflicts: avahi-upstart < 0.6.30-2 |
136 | Conflicts: openssh-server-upstart < 2:5.8p2-2 | |
137 | Conflicts: postgresql-upstart < 9.0.4-2 | |
c3d7f31f JK |
138 | |
139 | %description upstart | |
140 | Upstart job description for syslog-ng. | |
141 | ||
142 | %description upstart -l pl.UTF-8 | |
4a7ca8b7 | 143 | Opis zadania Upstart dla demona syslog-ng. |
c3d7f31f | 144 | |
cc1675a4 JB |
145 | %package libs |
146 | Summary: Shared library for syslog-ng | |
147 | Summary(pl.UTF-8): Biblioteka współdzielona sysloga-ng | |
148 | Group: Libraries | |
149 | %if %{with dynamic} | |
150 | Requires: eventlog >= 0.2.12 | |
151 | Requires: glib2 >= 1:%{glib2_ver} | |
152 | Requires: pcre >= 6.1 | |
153 | %endif | |
154 | Conflicts: syslog-ng < 3.3.1-3 | |
155 | ||
156 | %description libs | |
157 | Shared library for syslog-ng. | |
158 | ||
159 | %description libs -l pl.UTF-8 | |
160 | Biblioteka współdzielona sysloga-ng. | |
161 | ||
162 | %package devel | |
163 | Summary: Header files for syslog-ng modules development | |
164 | Summary(pl.UTF-8): Pliki nagłówkowe do tworzenia modułów dla sysloga-ng | |
165 | Group: Development/Libraries | |
166 | Requires: %{name}-libs = %{version}-%{release} | |
167 | %if %{with dynamic} | |
168 | Requires: eventlog-devel >= 0.2.12 | |
169 | Requires: glib2-devel >= 1:%{glib2_ver} | |
170 | Requires: pcre-devel >= 6.1 | |
171 | %endif | |
172 | ||
173 | %description devel | |
174 | Header files for syslog-ng modules development. | |
175 | ||
176 | %description devel -l pl.UTF-8 | |
177 | Pliki nagłówkowe do tworzenia modułów dla sysloga-ng. | |
178 | ||
db55bc6c | 179 | %prep |
40b3220e | 180 | %setup -q |
489ceddf | 181 | %patch0 -p1 |
3b8a2194 | 182 | %patch1 -p1 |
38883b2f | 183 | %patch2 -p1 |
0872fe7c | 184 | cp -a %{SOURCE4} doc |
f83d4749 | 185 | cp -a %{SOURCE5} contrib/syslog-ng.conf.simple |
b6fee34c | 186 | |
cec64641 JR |
187 | %{__sed} -i -e 's|/usr/bin/awk|/bin/awk|' scl/syslogconf/convert-syslogconf.awk |
188 | ||
db55bc6c | 189 | %build |
5fe1f11f AM |
190 | for i in . lib/ivykis; do |
191 | cd $i | |
192 | %{__libtoolize} | |
193 | %{__aclocal} -I m4 | |
194 | %{__autoconf} | |
585ae33b | 195 | %{__autoheader} |
5fe1f11f AM |
196 | %{__automake} |
197 | cd - | |
198 | done | |
c67bc54f | 199 | %configure \ |
8eca2e89 | 200 | --sysconfdir=%{_sysconfdir}/syslog-ng \ |
303be384 | 201 | --datadir=%{_datadir}/syslog-ng \ |
752e2969 | 202 | --with-libmongo-client=system \ |
bb38cad4 | 203 | --with-module-dir=%{_libdir}/syslog-ng \ |
808ca97e | 204 | --with-pidfile-dir=/var/run \ |
4a7ca8b7 JB |
205 | --with-timezone-dir=%{_datadir}/zoneinfo \ |
206 | --disable-systemd \ | |
808ca97e | 207 | --enable-ipv6 \ |
808ca97e | 208 | --enable-linux-caps \ |
1fe2e76c | 209 | --enable-pacct \ |
4a7ca8b7 JB |
210 | --enable-pcre \ |
211 | --enable-spoof-source \ | |
212 | --enable-ssl \ | |
213 | --enable-tcp-wrapper \ | |
808ca97e JR |
214 | %if %{with sql} |
215 | --enable-sql \ | |
216 | %endif | |
8eca2e89 JB |
217 | %if %{with dynamic} |
218 | --enable-dynamic-linking | |
bb38cad4 JR |
219 | %else |
220 | --enable-mixed-linking | |
8eca2e89 | 221 | %endif |
4298f6c0 | 222 | |
84ad47e7 | 223 | %{__make} |
db55bc6c | 224 | |
cc1675a4 JB |
225 | %if %{with tests} |
226 | LD_LIBRARY_PATH=$PWD/lib/.libs \ | |
227 | %{__make} check | |
228 | %endif | |
f3688193 | 229 | |
db55bc6c | 230 | %install |
db55bc6c | 231 | rm -rf $RPM_BUILD_ROOT |
303be384 JR |
232 | install -d $RPM_BUILD_ROOT/etc/{init,sysconfig,logrotate.d,rc.d/init.d} \ |
233 | $RPM_BUILD_ROOT%{_sysconfdir}/syslog-ng/patterndb.d \ | |
cd6284ba | 234 | $RPM_BUILD_ROOT/var/{log,lib/%{name}/xsd} |
db55bc6c | 235 | |
1fe2e76c | 236 | %{__make} -j1 install \ |
4d7c194a | 237 | DESTDIR=$RPM_BUILD_ROOT |
db55bc6c | 238 | |
544d8db5 | 239 | %{__sed} -e 's|@@SBINDIR@@|%{_sbindir}|g' %{SOURCE1} > $RPM_BUILD_ROOT/etc/rc.d/init.d/syslog-ng |
306cd2c9 ER |
240 | cp -a %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/syslog-ng/syslog-ng.conf |
241 | cp -a %{SOURCE3} $RPM_BUILD_ROOT/etc/logrotate.d/syslog-ng | |
db55bc6c | 242 | |
306cd2c9 | 243 | for n in daemon debug iptables kernel lpr maillog messages secure spooler syslog user xferlog; do |
3fb60e3b JR |
244 | > $RPM_BUILD_ROOT/var/log/$n |
245 | done | |
2a14aff2 | 246 | touch $RPM_BUILD_ROOT/etc/sysconfig/%{name} |
db55bc6c | 247 | |
bb38cad4 | 248 | %{__rm} $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}/loggen* |
04316877 | 249 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la |
bb38cad4 | 250 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/syslog-ng/*.la |
f2972fae | 251 | |
306cd2c9 | 252 | %if "%{pld_release}" == "th" |
59aab0b4 | 253 | %{__sed} -e 's|@@SBINDIR@@|%{_sbindir}|g' %{SOURCE6} > $RPM_BUILD_ROOT/etc/init/%{name}.conf |
306cd2c9 | 254 | %endif |
c3d7f31f | 255 | |
80a87a81 JB |
256 | %clean |
257 | rm -rf $RPM_BUILD_ROOT | |
258 | ||
db55bc6c | 259 | %post |
1519c9ad ER |
260 | if [ "$1" = "1" ]; then |
261 | # disable /proc/kmsg from config on first install on vserver | |
262 | { | |
263 | while read f ctx; do | |
264 | [ "$f" = "VxID:" -o "$f" = "s_context:" ] && break | |
265 | done </proc/self/status | |
266 | } 2>/dev/null | |
267 | if [ -z "$ctx" -o "$ctx" = "0" ]; then | |
268 | VSERVER=no | |
269 | else | |
270 | VSERVER=yes | |
271 | fi | |
272 | if [ "$VSERVER" = "yes" ]; then | |
273 | %{__sed} -i -e '/\/proc\/kmsg/ s/^[^#]/#&/' %{_sysconfdir}/%{name}/%{name}.conf | |
274 | fi | |
275 | fi | |
276 | ||
0b833f9b | 277 | /sbin/chkconfig --add syslog-ng |
da4f5bde | 278 | %service syslog-ng restart "syslog-ng daemon" |
db55bc6c | 279 | |
280 | %preun | |
0b833f9b | 281 | if [ "$1" = "0" ]; then |
da4f5bde | 282 | %service syslog-ng stop |
0b833f9b | 283 | /sbin/chkconfig --del syslog-ng |
284 | fi | |
db55bc6c | 285 | |
31446e62 | 286 | %triggerun -- syslog-ng < 3.0 |
60bdc15a | 287 | sed -i -e 's#sync(\(.*\))#flush_lines(\1)#g' /etc/syslog-ng/syslog-ng.conf |
31446e62 AM |
288 | sed -i -e 's#pipe ("/proc/kmsg"#file ("/proc/kmsg"#g' /etc/syslog-ng/syslog-ng.conf |
289 | sed -i -e 's#log_prefix#program_override#g' /etc/syslog-ng/syslog-ng.conf | |
290 | sed -i -e 's#^destination #destination d_#g' /etc/syslog-ng/syslog-ng.conf | |
291 | sed -i -e 's#destination(#destination(d_#g' /etc/syslog-ng/syslog-ng.conf | |
01113c19 | 292 | sed -i -e 's,\bstats\b,stats_freq,' /etc/syslog-ng/syslog-ng.conf |
31446e62 AM |
293 | sed -i -e 's#match("IN\=\[A-Za-z0-9\]\* OUT=\[A-Za-z0-9\]\*");#match("IN=[A-Za-z0-9]* OUT=[A-Za-z0-9]*" value("MESSAGE"));#g' /etc/syslog-ng/syslog-ng.conf |
294 | sed -i -e "1 s#\(.*\)\$#@version: 3.0\n\1#g" /etc/syslog-ng/syslog-ng.conf | |
295 | rm -f %{_var}/lib/%{name}/syslog-ng.persist | |
e3a52627 | 296 | %service -q syslog-ng restart |
31446e62 AM |
297 | exit 0 |
298 | ||
cc1675a4 JB |
299 | %post upstart |
300 | %upstart_post %{name} | |
301 | ||
302 | %postun upstart | |
303 | %upstart_postun %{name} | |
304 | ||
305 | %triggerun upstart -- syslog-ng-upstart < 3.2.4-3 | |
306 | # use SERVICE_syslog=y in upstart job environment instead of SERVICE=syslog | |
307 | %{__sed} -i -e 's,SERVICE=syslog,SERVICE_syslog=y,' /etc/init/*.conf || : | |
308 | ||
309 | %post libs -p /sbin/ldconfig | |
310 | %postun libs -p /sbin/ldconfig | |
311 | ||
db55bc6c | 312 | %files |
a25388f3 | 313 | %defattr(644,root,root,755) |
0091ccbb | 314 | %doc AUTHORS ChangeLog NEWS debian/syslog-ng.conf* contrib/relogger.pl |
04316877 AM |
315 | %doc contrib/syslog-ng.conf.{doc,simple,RedHat} |
316 | %doc contrib/{apparmor,selinux,syslog2ng} doc/syslog-ng-ose-v3.3-guide-admin-en.pdf | |
2a14aff2 | 317 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name} |
a25388f3 | 318 | %attr(750,root,root) %dir %{_sysconfdir}/syslog-ng |
303be384 | 319 | %attr(750,root,root) %dir %{_sysconfdir}/syslog-ng/patterndb.d |
bb38cad4 JR |
320 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/syslog-ng/modules.conf |
321 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/syslog-ng/scl.conf | |
cc4597b5 ER |
322 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/syslog-ng/syslog-ng.conf |
323 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/syslog-ng | |
a25388f3 | 324 | %attr(754,root,root) /etc/rc.d/init.d/syslog-ng |
bb38cad4 JR |
325 | %dir %{_libdir}/syslog-ng |
326 | %attr(755,root,root) %{_libdir}/syslog-ng/lib*.so | |
302dff3f | 327 | %attr(755,root,root) %{_sbindir}/syslog-ng |
bb38cad4 | 328 | %attr(755,root,root) %{_sbindir}/syslog-ng-ctl |
303be384 JR |
329 | %attr(755,root,root) %{_bindir}/pdbtool |
330 | %attr(755,root,root) %{_bindir}/update-patterndb | |
a0237816 | 331 | |
a0237816 JR |
332 | %dir %{_datadir}/syslog-ng/include |
333 | %dir %{_datadir}/syslog-ng/include/scl | |
334 | %dir %{_datadir}/syslog-ng/include/scl/pacct | |
335 | %{_datadir}/syslog-ng/include/scl/pacct/plugin.conf | |
336 | %dir %{_datadir}/syslog-ng/include/scl/syslogconf | |
337 | %{_datadir}/syslog-ng/include/scl/syslogconf/README | |
338 | %attr(755,root,root) %{_datadir}/syslog-ng/include/scl/syslogconf/convert-syslogconf.awk | |
339 | %{_datadir}/syslog-ng/include/scl/syslogconf/plugin.conf | |
340 | %dir %{_datadir}/syslog-ng/include/scl/system | |
341 | %attr(755,root,root) %{_datadir}/syslog-ng/include/scl/system/generate-system-source.sh | |
342 | %{_datadir}/syslog-ng/include/scl/system/plugin.conf | |
343 | %dir %{_datadir}/syslog-ng/xsd | |
344 | %{_datadir}/syslog-ng/xsd/patterndb-*.xsd | |
345 | ||
4d910d4c | 346 | %dir %{_var}/lib/%{name} |
cd6284ba | 347 | %dir %{_var}/lib/%{name}/xsd |
303be384 | 348 | %{_mandir}/man1/pdbtool.1* |
bb38cad4 | 349 | %{_mandir}/man1/syslog-ng-ctl.1* |
81f47e04 JB |
350 | %{_mandir}/man5/syslog-ng.conf.5* |
351 | %{_mandir}/man8/syslog-ng.8* | |
822b8fbf | 352 | |
cc1675a4 JB |
353 | %attr(640,root,root) %ghost /var/log/daemon |
354 | %attr(640,root,root) %ghost /var/log/debug | |
355 | %attr(640,root,root) %ghost /var/log/iptables | |
356 | %attr(640,root,root) %ghost /var/log/kernel | |
357 | %attr(640,root,root) %ghost /var/log/lpr | |
358 | %attr(640,root,root) %ghost /var/log/maillog | |
359 | %attr(640,root,root) %ghost /var/log/messages | |
360 | %attr(640,root,root) %ghost /var/log/secure | |
361 | %attr(640,root,root) %ghost /var/log/spooler | |
362 | %attr(640,root,root) %ghost /var/log/syslog | |
363 | %attr(640,root,root) %ghost /var/log/user | |
364 | %attr(640,root,root) %ghost /var/log/xferlog | |
c3d7f31f | 365 | |
306cd2c9 | 366 | %if "%{pld_release}" == "th" |
c3d7f31f JK |
367 | %files upstart |
368 | %defattr(644,root,root,755) | |
369 | %config(noreplace) %verify(not md5 mtime size) /etc/init/%{name}.conf | |
306cd2c9 | 370 | %endif |
cc1675a4 JB |
371 | |
372 | %files libs | |
373 | %defattr(644,root,root,755) | |
374 | %attr(755,root,root) %{_libdir}/libsyslog-ng-%{version}.so | |
375 | %dir %{_datadir}/syslog-ng | |
376 | ||
377 | %files devel | |
378 | %defattr(644,root,root,755) | |
379 | %attr(755,root,root) %{_libdir}/libsyslog-ng.so | |
380 | %{_includedir}/syslog-ng | |
381 | %{_datadir}/syslog-ng/tools | |
382 | %{_pkgconfigdir}/syslog-ng.pc |