avahi-vl.spec 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796
  1. %bcond_with systemd
  2. %define avahi_user_uid 70
  3. %global unitfiles avahi-daemon.socket avahi-daemon.service avahi-dnsconfd.service
  4. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  5. Summary: Local network service discovery
  6. Summary(ja): ローカルネットワークサービス検出システム
  7. Name: avahi
  8. Version: 0.8
  9. Release: 2%{?_dist_release}%{?with_systemd:.systemd}
  10. Group: system
  11. Vendor: Project Vine
  12. Distribution: Vine Linux
  13. License: LGPL
  14. URL: http://avahi.org
  15. Source0: %{name}-%{version}.tar.gz
  16. ## upstream patches
  17. Patch6: 0006-avahi-dnsconfd.service-Drop-Also-avahi-daemon.socket.patch
  18. Patch7: 0007-man-add-missing-bshell.1-symlink.patch
  19. Patch8: 0008-Ship-avahi-discover-1-bssh-1-and-bvnc-1-also-for-GTK.patch
  20. Patch9: 0009-fix-requires-in-pc-file.patch
  21. Patch10: 0010-fix-bytestring-decoding-for-proper-display.patch
  22. Patch11: 0011-avahi_dns_packet_consume_uint32-fix-potential-undefi.patch
  23. Patch1000: avahi-0.6.31-vine.patch
  24. Patch2000: CVE-2021-3502.patch
  25. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  26. BuildRequires: dbus-devel, dbus-glib-devel
  27. BuildRequires: desktop-file-utils
  28. BuildRequires: expat-devel
  29. BuildRequires: glib2-devel
  30. BuildRequires: gobject-introspection-devel
  31. BuildRequires: gtk3-devel
  32. #BuildRequires: python, dbus-python, libxml2-python
  33. BuildRequires: gdbm-devel
  34. BuildRequires: intltool
  35. BuildRequires: libcap-devel
  36. BuildRequires: libdaemon-devel >= 0.12
  37. BuildRequires: libevent-devel
  38. BuildRequires: mesa-libGL-devel
  39. BuildRequires: xmltoman
  40. Requires: dbus
  41. Requires(post): dbus
  42. Requires(pre): shadow-utils
  43. Requires(pre): coreutils
  44. %if %{with systemd}
  45. BuildRequires: systemd
  46. %{?systemd_requires}
  47. %else
  48. Requires(post): initscripts, chkconfig >= 1.3.34
  49. %endif
  50. Obsoletes: howl, howl-libs
  51. %description
  52. Avahi is a system which facilitates service discovery on
  53. a local network -- this means that you can plug your laptop or
  54. computer into a network and instantly be able to view other people who
  55. you can chat with, find printers to print to or find files being
  56. shared. This kind of technology is already found in MacOS X (branded
  57. 'Rendezvous', 'Bonjour' and sometimes 'ZeroConf') and is very
  58. convenient.
  59. %package tools
  60. Summary: Tools for mDNS browsing and publishing
  61. Group: admin-tools
  62. Requires: %{name} = %{version}, gdbm
  63. %description tools
  64. Tools that use avahi to browse and publish mDNS services and hosts.
  65. %package ui-gtk3
  66. Summary: Gtk user interface library for Avahi (Gtk+ 3 version)
  67. Group: admin-tools
  68. Provides: avahi-ui = %{version}-%{release}
  69. Obsoletes: avahi-ui < %{version}-%{release}
  70. Requires: %{name} = %{version}-%{release}
  71. Requires: gtk3
  72. %description ui-gtk3
  73. This library contains a Gtk 3.x widget for browsing services.
  74. %package ui-gtk3-devel
  75. Summary: Libraries and header files for avahi ui development
  76. Group: programming
  77. Provides: avahi-ui-devel = %{version}-%{release}
  78. Obsoletes: avahi-ui-devel < %{version}-%{release}
  79. Requires: %{name}-devel = %{version}
  80. Requires: %{name}-ui-gtk3 = %{version}
  81. Requires: gtk3-devel
  82. %description ui-gtk3-devel
  83. The avahi-ui-devel package contains the header files and libraries
  84. necessary for developing programs using avahi with gtk+.
  85. %package glib
  86. Summary: Glib libraries for avahi
  87. Summary(ja): avahi 用 glib ライブラリ
  88. Group: system
  89. Requires: %{name} = %{version}
  90. Requires: glib2
  91. %description glib
  92. Libraries for easy use of avahi from glib applications.
  93. %package glib-devel
  94. Summary: Libraries and header files for avahi glib development
  95. Group: programming
  96. Requires: %{name}-devel = %{version}
  97. Requires: %{name}-glib = %{version}
  98. Requires: glib2-devel
  99. %description glib-devel
  100. The avahi-glib-devel package contains the header files and libraries
  101. necessary for developing programs using avahi with glib.
  102. %package gobject
  103. Summary: GObject library for Avahi
  104. Summary(ja): Avahi 用 GObject ライブラリ
  105. Group: system
  106. Requires: glib2
  107. Requires: %{name}-glib = %{version}-%{release}
  108. %description gobject
  109. This library contains a GObject wrapper for the Avahi API
  110. %package gobject-devel
  111. Summary: Libraries and header files for Avahi GObject development
  112. Summary(ja): Avahi GObject 開発用ライブラリとヘッダファイル
  113. Group: programming
  114. Requires: %{name}-gobject = %{version}-%{release}
  115. Requires: %{name}-devel = %{version}-%{release}
  116. Requires: %{name}-glib-devel = %{version}-%{release}
  117. %description gobject-devel
  118. The avahi-gobject-devel package contains the header files and libraries
  119. necessary for developing programs using avahi-gobject.
  120. %package devel
  121. Summary: Libraries and header files for avahi development
  122. Group: programming
  123. Requires: %{name} = %{version}
  124. Obsoletes: howl-devel
  125. %description devel
  126. The avahi-devel package contains the header files and libraries
  127. necessary for developing programs using avahi.
  128. # compat32
  129. %package -n compat32-%{name}
  130. Summary: Local network service discovery
  131. Summary(ja): ローカルネットワークサービス検出システム
  132. Group: system
  133. Requires: %{name} = %{version}-%{release}
  134. %description -n compat32-%{name}
  135. Avahi is a system which facilitates service discovery on
  136. a local network -- this means that you can plug your laptop or
  137. computer into a network and instantly be able to view other people who
  138. you can chat with, find printers to print to or find files being
  139. shared. This kind of technology is already found in MacOS X (branded
  140. 'Rendezvous', 'Bonjour' and sometimes 'ZeroConf') and is very
  141. convenient.
  142. %package -n compat32-%{name}-ui-gtk3
  143. Summary: Gtk user interface library for Avahi (Gtk+ 3 version)
  144. Group: admin-tools,legacy
  145. Provides: compat32-avahi-ui = %{version}-%{release}
  146. Obsoletes: compat32-avahi-ui < %{version}-%{release}
  147. Requires: %{name}-ui-gtk3 = %{version}-%{release}
  148. Requires: compat32-%{name} = %{version}-%{release}
  149. Requires: compat32-gtk3
  150. %description -n compat32-%{name}-ui-gtk3
  151. This library contains a Gtk 3.x widget for browsing services.
  152. %package -n compat32-%{name}-ui-gtk3-devel
  153. Summary: Libraries and header files for avahi ui development
  154. Group: programming,legacy
  155. Provides: compat32-avahi-ui-devel = %{version}-%{release}
  156. Obsoletes: compat32-avahi-ui-devel < %{version}-%{release}
  157. Requires: %{name}-ui-devel = %{version}-%{release}
  158. Requires: compat32-%{name}-devel = %{version}-%{release}
  159. Requires: compat32-%{name}-ui-gtk3 = %{version}-%{release}
  160. Requires: compat32-gtk3-devel
  161. %description -n compat32-%{name}-ui-gtk3-devel
  162. The avahi-ui-devel package contains the header files and libraries
  163. necessary for developing programs using avahi with gtk+.
  164. %package -n compat32-%{name}-glib
  165. Summary: Glib libraries for avahi
  166. Summary(ja): avahi 用 glib ライブラリ
  167. Group: system,legacy
  168. Requires: %{name}-glib = %{version}-%{release}
  169. Requires: compat32-%{name} = %{version}-%{release}
  170. Requires: compat32-glib2
  171. %description -n compat32-%{name}-glib
  172. Libraries for easy use of avahi from glib applications.
  173. %package -n compat32-%{name}-glib-devel
  174. Summary: Libraries and header files for avahi glib development
  175. Group: programming,legacy
  176. Requires: %{name}-glib-devel = %{version}-%{release}
  177. Requires: compat32-%{name}-devel = %{version}-%{release}
  178. Requires: compat32-%{name}-glib = %{version}-%{release}
  179. Requires: compat32-glib2-devel
  180. %description -n compat32-%{name}-glib-devel
  181. The avahi-glib-devel package contains the header files and libraries
  182. necessary for developing programs using avahi with glib.
  183. %package -n compat32-%{name}-gobject
  184. Summary: GObject library for Avahi
  185. Summary(ja): Avahi 用 GObject ライブラリ
  186. Group: system,legacy
  187. Requires: %{name}-gobject = %{version}-%{release}
  188. Requires: compat32-glib2
  189. Requires: compat32-%{name}-glib = %{version}-%{release}
  190. %description -n compat32-%{name}-gobject
  191. This library contains a GObject wrapper for the Avahi API
  192. %package -n compat32-%{name}-gobject-devel
  193. Summary: Libraries and header files for Avahi GObject development
  194. Summary(ja): Avahi GObject 開発用ライブラリとヘッダファイル
  195. Group: programming,legacy
  196. Requires: %{name}-gobject-devel = %{version}-%{release}
  197. Requires: compat32-%{name}-gobject = %{version}-%{release}
  198. Requires: compat32-%{name}-devel = %{version}-%{release}
  199. Requires: compat32-%{name}-glib-devel = %{version}-%{release}
  200. %description -n compat32-%{name}-gobject-devel
  201. The avahi-gobject-devel package contains the header files and libraries
  202. necessary for developing programs using avahi-gobject.
  203. %package -n compat32-%{name}-devel
  204. Summary: Libraries and header files for avahi development
  205. Group: programming,legacy
  206. Requires: %{name}-devel = %{version}-%{release}
  207. Requires: compat32-%{name} = %{version}-%{release}
  208. %description -n compat32-%{name}-devel
  209. The avahi-devel package contains the header files and libraries
  210. necessary for developing programs using avahi.
  211. %debug_package
  212. %prep
  213. %setup -q
  214. %autopatch -p1
  215. rm -fv docs/INSTALL
  216. %build
  217. autoreconf -ivf
  218. %configure --with-distro=vine \
  219. --disable-monodoc \
  220. --without-python-twisted \
  221. --disable-pygobject \
  222. --with-avahi-user=avahi --with-avahi-group=avahi \
  223. --enable-compat-howl --enable-compat-libdns_sd \
  224. --with-avahi-priv-access-group=avahi \
  225. --with-autoipd-user=avahi-autoipd \
  226. --with-autoipd-group=avahi-autoipd \
  227. --enable-gtk3 \
  228. --disable-gtk \
  229. --disable-qt3 \
  230. --disable-qt4 \
  231. --disable-qt5 \
  232. --disable-mono \
  233. --disable-python \
  234. --enable-shared=yes \
  235. --enable-static=no \
  236. --disable-silent-rules \
  237. %if %{with systemd}
  238. --with-systemdsystemunitdir=%{_unitdir} \
  239. %endif
  240. --enable-introspection=no
  241. %__make %{?_smp_mflags}
  242. %install
  243. rm -rf $RPM_BUILD_ROOT
  244. make install DESTDIR=$RPM_BUILD_ROOT
  245. # omit libtool .la files
  246. rm -fv %{buildroot}%{_libdir}/lib*.la
  247. # remove example
  248. rm -fv %{buildroot}%{_sysconfdir}/avahi/services/ssh.service
  249. rm -fv %{buildroot}%{_sysconfdir}/avahi/services/sftp-ssh.service
  250. # remove desktop file for avahi-discover
  251. rm -f $RPM_BUILD_ROOT%{_datadir}/applications/avahi-discover.desktop
  252. # create /var/run/avahi-daemon to ensure correct selinux policy for it:
  253. mkdir -p %{buildroot}%{_localstatedir}/run/avahi-daemon
  254. mkdir -p %{buildroot}%{_localstatedir}/lib/avahi-autoipd
  255. # remove the documentation directory - let % doc handle it:
  256. rm -rfv %{buildroot}%{_datadir}/%{name}-%{version}
  257. # remove avahi-bookmarks - unusable without python-twisted,
  258. # which has been judged dangerous and is removed from the
  259. # Fedora Core distribution:
  260. rm -f $RPM_BUILD_ROOT/%{_bindir}/avahi-bookmarks $RPM_BUILD_ROOT/%{_mandir}/man1/avahi-bookmarks*
  261. #
  262. %if %{with systemd}
  263. rm -fv %{buildroot}%{_sysconfdir}/init.d/avahi-daemon
  264. rm -fv %{buildroot}%{_sysconfdir}/init.d/avahi-dnsconfd
  265. %else
  266. # move initscripts into /etc/rc.d/init.d :
  267. mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/rc.d/init.d
  268. mv $RPM_BUILD_ROOT/%{_sysconfdir}/init.d/* $RPM_BUILD_ROOT/%{_sysconfdir}/rc.d/init.d
  269. rm -rf $RPM_BUILD_ROOT/%{_sysconfdir}/init.d/*
  270. %endif
  271. # Make /etc/avahi/etc/localtime owned by avahi:
  272. mkdir -p %{buildroot}/etc/avahi/etc
  273. touch %{buildroot}/etc/avahi/etc/localtime
  274. # fix bug 197414 - add missing symlinks for avahi-compat-howl and avahi-compat-dns-sd
  275. ln -s avahi-compat-howl.pc %{buildroot}/%{_libdir}/pkgconfig/howl.pc
  276. ln -s avahi-compat-libdns_sd.pc %{buildroot}/%{_libdir}/pkgconfig/libdns_sd.pc
  277. ln -s avahi-compat-libdns_sd/dns_sd.h %{buildroot}/%{_includedir}/
  278. # unpackaged files
  279. rm -fv %{buildroot}%{_datadir}/applications/{bssh,bvnc}.desktop
  280. rm -fv %{buildroot}%{_datadir}/avahi/interfaces/avahi-discover.ui
  281. %find_lang %{name}
  282. %clean
  283. rm -rf $RPM_BUILD_ROOT
  284. %pre
  285. # Add the "avahi" group
  286. getent group avahi >/dev/null || /usr/sbin/groupadd -f -r avahi
  287. # Add the "avahi" user
  288. if ! getent passwd avahi > /dev/null ; then
  289. if ! getent passwd %{avahi_user_uid} > /dev/null ; then
  290. useradd -r -l -u %{avahi_user_uid} -g avahi -d %{_localstatedir}/run/avahi-daemon -s /sbin/nologin -c "Avahi mDNS/DNS-SD Stack" avahi
  291. else
  292. useradd -r -l -g avahi -d %{_localstatedir}/run/avahi-daemon -s /sbin/nologin -c "Avahi mDNS/DNS-SD Stack" avahi
  293. fi
  294. fi
  295. getent group avahi-autoipd >/dev/null || groupadd -f -g 170 -r avahi-autoipd
  296. if ! getent passwd avahi-autoipd > /dev/null ; then
  297. if ! getent passwd 170 > /dev/null; then
  298. useradd -r -u 170 -l -g avahi-autoipd -d %{_localstatedir}/lib/avahi-autoipd -s /sbin/nologin -c "Avahi IPv4LL Stack" avahi-autoipd
  299. else
  300. useradd -r -l -g avahi-autoipd -d %{_localstatedir}/lib/avahi-autoipd -s /sbin/nologin -c "Avahi IPv4LL Stack" avahi-autoipd
  301. fi
  302. fi
  303. exit 0
  304. %post
  305. dbus-send --system --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig >/dev/null 2>&1 || :
  306. if [ "$1" -eq 1 ]; then
  307. if [ -s /etc/localtime ]; then
  308. cp -fp /etc/localtime /etc/avahi/etc/localtime || :;
  309. fi
  310. fi
  311. %if %{with systemd}
  312. %systemd_post %{unitfiles}
  313. %else
  314. /sbin/chkconfig --add avahi-daemon >/dev/null 2>&1 ||:
  315. /sbin/chkconfig avahi-daemon resetpriorities >/dev/null 2>&1 ||:
  316. /sbin/chkconfig --add avahi-dnsconfd >/dev/null 2>&1 ||:
  317. /sbin/chkconfig avahi-dnsconfd resetpriorities >/dev/null 2>&1 ||:
  318. %endif
  319. %preun
  320. %if %{with systemd}
  321. %systemd_preun %{unitfiles}
  322. %else
  323. if [ "$1" -eq "0" ]; then
  324. /sbin/service avahi-daemon stop > /dev/null 2>&1
  325. /sbin/chkconfig --del avahi-daemon
  326. /sbin/service avahi-dnsconfd stop >/dev/null 2>&1
  327. /sbin/chkconfig --del avahi-dnsconfd
  328. fi
  329. %endif
  330. %postun
  331. %if %{with systemd}
  332. %systemd_postun_with_restart %{unitfiles}
  333. %else
  334. if [ "$1" -eq "0" ]; then
  335. /sbin/service avahi-daemon condrestart >/dev/null 2>&1
  336. /sbin/service avahi-dnsconfd condrestart >/dev/null 2>&1
  337. fi
  338. %endif
  339. %files -f %{name}.lang
  340. %defattr(-,root,root)
  341. %doc docs/* avahi-daemon/example.service avahi-daemon/ssh.service
  342. %if %{with systemd}
  343. %{_unitdir}/*
  344. %{_datadir}/dbus-1/system-services/org.freedesktop.Avahi.service
  345. %else
  346. %attr(755,root,root) %{_sysconfdir}/rc.d/init.d/*
  347. %endif
  348. %dir %{_sysconfdir}/avahi
  349. %dir %{_sysconfdir}/avahi/etc
  350. %ghost %{_sysconfdir}/avahi/etc/localtime
  351. %{_sysconfdir}/avahi/hosts
  352. %dir %{_sysconfdir}/avahi/services
  353. %dir %{_localstatedir}/run/avahi-daemon
  354. %config %{_sysconfdir}/avahi/avahi-autoipd.action
  355. %config %{_sysconfdir}/avahi/avahi-daemon.conf
  356. %config %{_sysconfdir}/avahi/avahi-dnsconfd.action
  357. %config %{_sysconfdir}/dbus-1/system.d/avahi-dbus.conf
  358. %attr(755,root,root) %{_sbindir}/*
  359. %{_libdir}/libavahi-common.so.*
  360. %{_libdir}/libavahi-core.so.*
  361. %{_libdir}/libavahi-client.so.*
  362. %{_libdir}/libavahi-libevent.so.*
  363. %{_libdir}/libhowl.so.*
  364. %{_libdir}/libdns_sd.so.*
  365. %attr(755,root,root) %{_datadir}/avahi
  366. %{_datadir}/dbus-1/interfaces/*.xml
  367. %{_libdir}/avahi
  368. %exclude %{_datadir}/avahi/interfaces
  369. %{_mandir}/man5/*
  370. %{_mandir}/man8/*
  371. %files tools
  372. %defattr(-, root, root)
  373. %{_bindir}/*
  374. #%{python_sitelib}/*
  375. %{_mandir}/man1/*
  376. %{_datadir}/avahi/interfaces/
  377. #%{_datadir}/applications/*
  378. %files devel
  379. %defattr(-, root, root)
  380. %{_libdir}/libavahi-common.so
  381. %{_libdir}/libavahi-core.so
  382. %{_libdir}/libavahi-client.so
  383. %{_libdir}/libavahi-libevent.so
  384. %{_libdir}/libhowl.so
  385. %{_libdir}/libdns_sd.so
  386. %{_includedir}/avahi-client
  387. %{_includedir}/avahi-common
  388. %{_includedir}/avahi-core
  389. %{_includedir}/avahi-compat-howl
  390. %{_includedir}/avahi-compat-libdns_sd
  391. %{_includedir}/avahi-libevent
  392. %{_includedir}/dns_sd.h
  393. %{_libdir}/pkgconfig/avahi-core.pc
  394. %{_libdir}/pkgconfig/avahi-client.pc
  395. %{_libdir}/pkgconfig/avahi-compat-howl.pc
  396. %{_libdir}/pkgconfig/avahi-compat-libdns_sd.pc
  397. %{_libdir}/pkgconfig/avahi-libevent.pc
  398. %{_libdir}/pkgconfig/howl.pc
  399. %{_libdir}/pkgconfig/libdns_sd.pc
  400. %files ui-gtk3
  401. %defattr(-, root, root)
  402. %{_libdir}/libavahi-ui-gtk3.so.*
  403. %files ui-gtk3-devel
  404. %defattr(-, root, root)
  405. %{_libdir}/libavahi-ui-gtk3.so
  406. %{_includedir}/avahi-ui
  407. %{_libdir}/pkgconfig/avahi-ui-gtk3.pc
  408. %files glib
  409. %defattr(-, root, root)
  410. %{_libdir}/libavahi-glib.so.*
  411. %files glib-devel
  412. %defattr(-, root, root)
  413. %{_libdir}/libavahi-glib.so
  414. %{_includedir}/avahi-glib
  415. %{_libdir}/pkgconfig/avahi-glib.pc
  416. %files gobject
  417. %defattr(-, root, root)
  418. %{_libdir}/libavahi-gobject.so.*
  419. %files gobject-devel
  420. %defattr(-, root, root)
  421. %{_libdir}/libavahi-gobject.so
  422. %{_includedir}/avahi-gobject
  423. %{_libdir}/pkgconfig/avahi-gobject.pc
  424. # compat32
  425. %if %{build_compat32}
  426. %files -n compat32-%{name}
  427. %defattr(-, root, root)
  428. %{_libdir}/libavahi-common.so.*
  429. %{_libdir}/libavahi-core.so.*
  430. %{_libdir}/libavahi-client.so.*
  431. %{_libdir}/libhowl.so.*
  432. %{_libdir}/libdns_sd.so.*
  433. %{_libdir}/avahi
  434. %files -n compat32-%{name}-devel
  435. %defattr(-, root, root)
  436. %{_libdir}/libavahi-common.so
  437. %{_libdir}/libavahi-core.so
  438. %{_libdir}/libavahi-client.so
  439. %{_libdir}/libhowl.so
  440. %{_libdir}/libdns_sd.so
  441. %files -n compat32-%{name}-ui-gtk3
  442. %defattr(-, root, root)
  443. %{_libdir}/libavahi-ui-gtk3.so.*
  444. %files -n compat32-%{name}-ui-gtk3-devel
  445. %defattr(-, root, root)
  446. %{_libdir}/libavahi-ui-gtk3.so
  447. %files -n compat32-%{name}-glib
  448. %defattr(-, root, root)
  449. %{_libdir}/libavahi-glib.so.*
  450. %files -n compat32-%{name}-glib-devel
  451. %defattr(-, root, root)
  452. %{_libdir}/libavahi-glib.so
  453. %files -n compat32-%{name}-gobject
  454. %defattr(-, root, root)
  455. %{_libdir}/libavahi-gobject.so.*
  456. %files -n compat32-%{name}-gobject-devel
  457. %defattr(-, root, root)
  458. %{_libdir}/libavahi-gobject.so
  459. %endif
  460. %changelog
  461. * Fri Jun 04 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.8-2
  462. - imported Patch2000 from upstream PR to fix CVE-2021-3502.
  463. - dropped ldconfig scriptlets.
  464. * Sat Apr 25 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.8-1
  465. - new upstream release.
  466. - added systemd support (disabled as default).
  467. * Mon May 13 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.7-2
  468. - rebuilt with gdbm-1.18.1.
  469. - dropped GTK+2, Qt3 and Qt4 support.
  470. * Tue Feb 27 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.7-1
  471. - new upstream release.
  472. - fixed illegal %%attr.
  473. * Thu Jun 30 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.31-5
  474. - rebuild with gcc-5.4.0
  475. * Sat Jul 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.31-4
  476. - rebuild with VineSeed environment
  477. * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.31-3
  478. - rebuild with VineSeed environment
  479. - add Patch0 (avahi-0.6.31-no-deprecations.patch) from Fedora
  480. * Tue Aug 27 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.31-2
  481. - update Patch10 (avahi-0.6.31-vine.patch)
  482. * Sun Apr 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.31-1
  483. - new upstream release
  484. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.30-3
  485. - rebuild with python-2.7.2
  486. * Tue Aug 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.30-2
  487. - add -ui-gtk3 sub package
  488. - add BuildRequires: gtk3-devel
  489. * Sun Jul 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.30-1
  490. - new upstream release
  491. * Tue Apr 26 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.6.25-5
  492. - add patch120 for fix CVE-2011-1002 (incorrect fix CVE-2010-2244)
  493. - add patch110 for fix CVE-2010-2244 (DNS packets)
  494. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.25-4
  495. - rebuild with rpm-4.8.1 for pkg-config file
  496. * Fri Feb 12 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.6.25-3
  497. - rebuilt with gcc-4.4.3-3 on ppc
  498. * Wed Feb 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.6.25-2
  499. - rebuilt with python-2.6.4
  500. * Sat Sep 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.25-1
  501. - new upstream release
  502. - update vine patch
  503. - startup avahi-daemon earlier
  504. * Mon Jul 13 2009 NAKAMURA Kenta <kenta@vinelinux.org> 0.6.24-2
  505. - added qt4 subpackage
  506. - added compat32 package for x86_64 arch support
  507. * Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.24-1
  508. - new upstream release
  509. * Fri Jan 09 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.6.23-2
  510. - fixed %%pre: add the "avahi" user to the "avahi" group
  511. * Mon Sep 22 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.23-1
  512. - new upstream release
  513. * Thu Jul 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.22-1
  514. - new upstream release
  515. - add gobject, gobject-devel sub package
  516. - enable avahi-autoipd
  517. * Wed Jul 23 2008 Shu KONNO <owa@bg.wakwak.com> 0.6.20-1vl5
  518. - built with python-2.5.2
  519. - s/automake-1.9/automake/
  520. - fixed python library path
  521. - applied new versioning policy
  522. * Wed Feb 20 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.6.20-0vl2
  523. - rebuild with expat-2.0.1
  524. * Mon Jul 23 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.20-0vl1
  525. - new upstream release
  526. * Thu May 10 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.18-0vl2
  527. - rebuild with new environment/toolchain
  528. * Tue May 08 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.18-0vl1
  529. - new upstream release
  530. * Sat Apr 28 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.17-0vl2
  531. - require new chkconfig to reset initscript priorities
  532. * Thu Apr 26 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.17-0vl1
  533. - new upstream release
  534. * Fri Jan 12 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.6.13-0vl3
  535. - add patch110 for fix CVE-2006-6870
  536. - add Vendor/Distribution Tag
  537. * Wed Dec 27 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.13-0vl2
  538. - rebuilt for VineSeed
  539. * Thu Dec 07 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.6.13-0vl1.1
  540. - add patch100 for fix CVE-2006-5461
  541. - add BuildRequires: XOrg-gl-devel tag
  542. * Thu Sep 07 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.13-0vl1
  543. - new upstream release
  544. - refine %%post scripts
  545. - add condrestart daemon in %%postun
  546. * Mon May 08 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.10-0vl1
  547. - new upstream release
  548. * Thu Mar 23 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.9-0vl2
  549. - move /var/lib/run/avahi-daemon to /var/run
  550. * Sun Mar 12 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.9-0vl1
  551. - initial build for Vine Linux based on FC package
  552. - add Patch10 to support Vine Linux
  553. * Thu Feb 23 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.8-1
  554. - Upgrade to upstream version 0.6.8
  555. - fix bug 182462: +Requires(post): initscripts, chkconfig, ldconfig
  556. * Fri Feb 17 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.7-1
  557. - Upgrade to upstream version 0.6.7
  558. * Fri Feb 17 2006 Karsten Hopp <karsten@redhat.de> - 0.6.6-4
  559. - BuildRequires pygtk2
  560. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.6.6-3.1
  561. - bump again for double-long bug on ppc(64)
  562. * Fri Feb 10 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.6-3
  563. - rebuild for new gcc (again)
  564. - further fix for bug 178746: fix avahi-dnsconfd initscript
  565. * Tue Feb 07 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.6-2
  566. - rebuild for new gcc, glibc, glibc-kernheaders
  567. * Wed Feb 01 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.6-1
  568. - fix bug 179448: mis-alignment of input cmsghdr msg->msg_control buffer on ia64
  569. - Upgrade to 0.6.6
  570. * Thu Jan 26 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.5-1
  571. - Upgrade to upstream version 0.6.5
  572. - Make /etc/avahi/etc and /etc/avahi/etc/localtime owned by avahi
  573. package; copy system localtime into chroot in post
  574. * Mon Jan 23 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.4-4
  575. - fix bug 178689: copy localtime to chroot
  576. - fix bug 178784: fix avahi-dnsconfd initscript
  577. * Fri Jan 20 2006 Peter Jones <pjones@redhat.com> - 0.6.4-3
  578. - fix subsystem locking in the initscript
  579. * Thu Jan 19 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.4-2
  580. - fix bug 178127: fully localize the initscript
  581. * Mon Jan 16 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.4-1
  582. - Upgrade to upstream version 0.6.4
  583. * Thu Jan 12 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.3-2
  584. - fix bug 177610: Enable mono support with new avahi-sharp package
  585. - fix bug 177609: add gdbm / gdbm-devel Requires for avahi-browse
  586. * Mon Jan 09 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.3-1
  587. - Upgrade to upstream version 0.6.3
  588. - fix bug 177148: initscript start should not fail if avahi-daemon running
  589. * Thu Dec 22 2005 Jason Vas Dias <jvdias@redhat.com> - 0.6.1-3
  590. - move initscripts from /etc/init.d to /etc/rc.d/init.d
  591. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  592. - rebuilt
  593. * Fri Dec 09 2005 Jason Vas Dias<jvdias@redhat.com> - 0.6.1-2
  594. - fix bug 175352: Do not chkconfig --add avahi-daemon
  595. if user has already configured it
  596. * Wed Dec 07 2005 Jason Vas Dias<jvdias@redhat.com> - 0.6.1-1
  597. - Upgrade to 0.6.1
  598. * Mon Dec 05 2005 Jason Vas Dias<jvdias@redhat.com> - 0.6-6
  599. - fix bug 174799 - fix .spec file \%files permissions
  600. * Fri Dec 02 2005 Jason Vas Dias<jvdias@redhat.com> - 0.6-5
  601. - python-twisted has been removed from the FC-5 distribution - disable its use
  602. * Thu Dec 01 2005 Jason Vas Dias<jvdias@redhat.com> - 0.6-4
  603. - Rebuild for dbus-0.6 - remove use of DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT
  604. * Wed Nov 30 2005 Jason Vas Dias<jvdias@redhat.com> - 0.6-3
  605. - fix bug 172047 - tools should require python-twisted
  606. - fix bug 173985 - docs directory permissions
  607. * Mon Nov 21 2005 Jason Vas Dias<jvdias@redhat.com> - 0.6-1
  608. - Upgrade to upstream version 0.6 - now provides 'avahi-howl-compat'
  609. libraries / includes.
  610. * Mon Nov 14 2005 Jason Vas Dias<jvdias@redhat.com> - 0.5.2-7
  611. - fix bug 172034: fix ownership of /var/run/avahi-daemon/
  612. - fix bug 172772: .spec file improvements from matthias@rpmforge.net
  613. * Mon Oct 31 2005 Jason Vas Dias<jvdias@redhat.com> - 0.5.2-6
  614. - put back avahi-devel Obsoletes: howl-devel
  615. * Mon Oct 31 2005 Alexander Larsson <alexl@redhat.com> - 0.5.2-5
  616. - Obsoletes howl, howl-libs, as we want to get rid of them on updates
  617. - No provides yet, as the howl compat library is in Avahi 0.6.0.
  618. * Sun Oct 30 2005 Florian La Roche <laroche@redhat.com>
  619. - disable the Obsoletes: howl until the transition is complete
  620. * Fri Oct 28 2005 Jason Vas Dias<jvdias@redhat.com> - 0.5.2-3
  621. - change initscript to start avahi-daemon AFTER messagebus
  622. * Wed Oct 26 2005 Karsten Hopp <karsten@redhat.de> 0.5.2-2
  623. - add buildrequires dbus-python
  624. * Fri Oct 21 2005 Alexander Larsson <alexl@redhat.com> - 0.5.2-1
  625. - Initial package