avahi-vl.spec 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801
  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: 1%{?_dist_release}%{?with_systemd:.systemd}
  10. Group: System Environment/Base
  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. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  25. BuildRequires: dbus-devel, dbus-glib-devel
  26. BuildRequires: desktop-file-utils
  27. BuildRequires: expat-devel
  28. BuildRequires: glib2-devel
  29. BuildRequires: gobject-introspection-devel
  30. BuildRequires: gtk3-devel
  31. #BuildRequires: python, dbus-python, libxml2-python
  32. BuildRequires: gdbm-devel
  33. BuildRequires: intltool
  34. BuildRequires: libcap-devel
  35. BuildRequires: libdaemon-devel >= 0.12
  36. BuildRequires: libevent-devel
  37. BuildRequires: mesa-libGL-devel
  38. BuildRequires: xmltoman
  39. BuildRequires: xorg-x11-devel
  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: System Environment/Base
  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: System Environment/Base
  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: Development/Libraries
  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 Environment/Libraries
  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: Development/Libraries
  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 Environment/Base
  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: Development/Libraries
  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: Development/Libraries
  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 Environment/Base
  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: System Environment/Base
  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: Development/Libraries
  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 Environment/Libraries
  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: Development/Libraries
  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 Environment/Base
  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: Development/Libraries
  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: Development/Libraries
  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. %prep
  212. %setup -q
  213. %autopatch -p1
  214. rm -fv docs/INSTALL
  215. %build
  216. autoreconf -ivf
  217. %configure --with-distro=vine \
  218. --disable-monodoc \
  219. --without-python-twisted \
  220. --disable-pygobject \
  221. --with-avahi-user=avahi --with-avahi-group=avahi \
  222. --enable-compat-howl --enable-compat-libdns_sd \
  223. --with-avahi-priv-access-group=avahi \
  224. --with-autoipd-user=avahi-autoipd \
  225. --with-autoipd-group=avahi-autoipd \
  226. --enable-gtk3 \
  227. --disable-gtk \
  228. --disable-qt3 \
  229. --disable-qt4 \
  230. --disable-qt5 \
  231. --disable-mono \
  232. --disable-python \
  233. --enable-shared=yes \
  234. --enable-static=no \
  235. --disable-silent-rules \
  236. %if %{with systemd}
  237. --with-systemdsystemunitdir=%{_unitdir} \
  238. %endif
  239. --enable-introspection=no
  240. %__make %{?_smp_mflags}
  241. %install
  242. rm -rf $RPM_BUILD_ROOT
  243. make install DESTDIR=$RPM_BUILD_ROOT
  244. # omit libtool .la files
  245. rm -fv %{buildroot}%{_libdir}/lib*.la
  246. # remove example
  247. rm -fv %{buildroot}%{_sysconfdir}/avahi/services/ssh.service
  248. rm -fv %{buildroot}%{_sysconfdir}/avahi/services/sftp-ssh.service
  249. # remove desktop file for avahi-discover
  250. rm -f $RPM_BUILD_ROOT%{_datadir}/applications/avahi-discover.desktop
  251. # create /var/run/avahi-daemon to ensure correct selinux policy for it:
  252. mkdir -p %{buildroot}%{_localstatedir}/run/avahi-daemon
  253. mkdir -p %{buildroot}%{_localstatedir}/lib/avahi-autoipd
  254. # remove the documentation directory - let % doc handle it:
  255. rm -rfv %{buildroot}%{_datadir}/%{name}-%{version}
  256. # remove avahi-bookmarks - unusable without python-twisted,
  257. # which has been judged dangerous and is removed from the
  258. # Fedora Core distribution:
  259. rm -f $RPM_BUILD_ROOT/%{_bindir}/avahi-bookmarks $RPM_BUILD_ROOT/%{_mandir}/man1/avahi-bookmarks*
  260. #
  261. %if %{with systemd}
  262. rm -fv %{buildroot}%{_sysconfdir}/init.d/avahi-daemon
  263. rm -fv %{buildroot}%{_sysconfdir}/init.d/avahi-dnsconfd
  264. %else
  265. # move initscripts into /etc/rc.d/init.d :
  266. mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/rc.d/init.d
  267. mv $RPM_BUILD_ROOT/%{_sysconfdir}/init.d/* $RPM_BUILD_ROOT/%{_sysconfdir}/rc.d/init.d
  268. rm -rf $RPM_BUILD_ROOT/%{_sysconfdir}/init.d/*
  269. %endif
  270. # Make /etc/avahi/etc/localtime owned by avahi:
  271. mkdir -p %{buildroot}/etc/avahi/etc
  272. touch %{buildroot}/etc/avahi/etc/localtime
  273. # fix bug 197414 - add missing symlinks for avahi-compat-howl and avahi-compat-dns-sd
  274. ln -s avahi-compat-howl.pc %{buildroot}/%{_libdir}/pkgconfig/howl.pc
  275. ln -s avahi-compat-libdns_sd.pc %{buildroot}/%{_libdir}/pkgconfig/libdns_sd.pc
  276. ln -s avahi-compat-libdns_sd/dns_sd.h %{buildroot}/%{_includedir}/
  277. # unpackaged files
  278. rm -fv %{buildroot}%{_datadir}/applications/{bssh,bvnc}.desktop
  279. rm -fv %{buildroot}%{_datadir}/avahi/interfaces/avahi-discover.ui
  280. %find_lang %{name}
  281. %clean
  282. rm -rf $RPM_BUILD_ROOT
  283. %pre
  284. # Add the "avahi" group
  285. getent group avahi >/dev/null || /usr/sbin/groupadd -f -r avahi
  286. # Add the "avahi" user
  287. if ! getent passwd avahi > /dev/null ; then
  288. if ! getent passwd %{avahi_user_uid} > /dev/null ; then
  289. useradd -r -l -u %{avahi_user_uid} -g avahi -d %{_localstatedir}/run/avahi-daemon -s /sbin/nologin -c "Avahi mDNS/DNS-SD Stack" avahi
  290. else
  291. useradd -r -l -g avahi -d %{_localstatedir}/run/avahi-daemon -s /sbin/nologin -c "Avahi mDNS/DNS-SD Stack" avahi
  292. fi
  293. fi
  294. getent group avahi-autoipd >/dev/null || groupadd -f -g 170 -r avahi-autoipd
  295. if ! getent passwd avahi-autoipd > /dev/null ; then
  296. if ! getent passwd 170 > /dev/null; then
  297. useradd -r -u 170 -l -g avahi-autoipd -d %{_localstatedir}/lib/avahi-autoipd -s /sbin/nologin -c "Avahi IPv4LL Stack" avahi-autoipd
  298. else
  299. useradd -r -l -g avahi-autoipd -d %{_localstatedir}/lib/avahi-autoipd -s /sbin/nologin -c "Avahi IPv4LL Stack" avahi-autoipd
  300. fi
  301. fi
  302. exit 0
  303. %post
  304. /sbin/ldconfig
  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. /sbin/ldconfig
  332. %if %{with systemd}
  333. %systemd_postun_with_restart %{unitfiles}
  334. %else
  335. if [ "$1" -eq "0" ]; then
  336. /sbin/service avahi-daemon condrestart >/dev/null 2>&1
  337. /sbin/service avahi-dnsconfd condrestart >/dev/null 2>&1
  338. fi
  339. %endif
  340. %post ui-gtk3 -p /sbin/ldconfig
  341. %postun ui-gtk3 -p /sbin/ldconfig
  342. %post glib -p /sbin/ldconfig
  343. %postun glib -p /sbin/ldconfig
  344. %post gobject -p /sbin/ldconfig
  345. %postun gobject -p /sbin/ldconfig
  346. %post -n compat32-%{name} -p /sbin/ldconfig
  347. %postun -n compat32-%{name} -p /sbin/ldconfig
  348. %post -n compat32-%{name}-ui-gtk3 -p /sbin/ldconfig
  349. %postun -n compat32-%{name}-ui-gtk3 -p /sbin/ldconfig
  350. %post -n compat32-%{name}-glib -p /sbin/ldconfig
  351. %postun -n compat32-%{name}-glib -p /sbin/ldconfig
  352. %post -n compat32-%{name}-gobject -p /sbin/ldconfig
  353. %postun -n compat32-%{name}-gobject -p /sbin/ldconfig
  354. %files -f %{name}.lang
  355. %defattr(-,root,root)
  356. %doc docs/* avahi-daemon/example.service avahi-daemon/ssh.service
  357. %if %{with systemd}
  358. %{_unitdir}/*
  359. %{_datadir}/dbus-1/system-services/org.freedesktop.Avahi.service
  360. %else
  361. %attr(755,root,root) %{_sysconfdir}/rc.d/init.d/*
  362. %endif
  363. %dir %{_sysconfdir}/avahi
  364. %dir %{_sysconfdir}/avahi/etc
  365. %ghost %{_sysconfdir}/avahi/etc/localtime
  366. %{_sysconfdir}/avahi/hosts
  367. %dir %{_sysconfdir}/avahi/services
  368. %dir %{_localstatedir}/run/avahi-daemon
  369. %config %{_sysconfdir}/avahi/avahi-autoipd.action
  370. %config %{_sysconfdir}/avahi/avahi-daemon.conf
  371. %config %{_sysconfdir}/avahi/avahi-dnsconfd.action
  372. %config %{_sysconfdir}/dbus-1/system.d/avahi-dbus.conf
  373. %attr(755,root,root) %{_sbindir}/*
  374. %{_libdir}/libavahi-common.so.*
  375. %{_libdir}/libavahi-core.so.*
  376. %{_libdir}/libavahi-client.so.*
  377. %{_libdir}/libavahi-libevent.so.*
  378. %{_libdir}/libhowl.so.*
  379. %{_libdir}/libdns_sd.so.*
  380. %attr(755,root,root) %{_datadir}/avahi
  381. %{_datadir}/dbus-1/interfaces/*.xml
  382. %{_libdir}/avahi
  383. %exclude %{_datadir}/avahi/interfaces
  384. %{_mandir}/man5/*
  385. %{_mandir}/man8/*
  386. %files tools
  387. %defattr(-, root, root)
  388. %{_bindir}/*
  389. #%{python_sitelib}/*
  390. %{_mandir}/man1/*
  391. %{_datadir}/avahi/interfaces/
  392. #%{_datadir}/applications/*
  393. %files devel
  394. %defattr(-, root, root)
  395. %{_libdir}/libavahi-common.so
  396. %{_libdir}/libavahi-core.so
  397. %{_libdir}/libavahi-client.so
  398. %{_libdir}/libavahi-libevent.so
  399. %{_libdir}/libhowl.so
  400. %{_libdir}/libdns_sd.so
  401. %{_includedir}/avahi-client
  402. %{_includedir}/avahi-common
  403. %{_includedir}/avahi-core
  404. %{_includedir}/avahi-compat-howl
  405. %{_includedir}/avahi-compat-libdns_sd
  406. %{_includedir}/avahi-libevent
  407. %{_includedir}/dns_sd.h
  408. %{_libdir}/pkgconfig/avahi-core.pc
  409. %{_libdir}/pkgconfig/avahi-client.pc
  410. %{_libdir}/pkgconfig/avahi-compat-howl.pc
  411. %{_libdir}/pkgconfig/avahi-compat-libdns_sd.pc
  412. %{_libdir}/pkgconfig/avahi-libevent.pc
  413. %{_libdir}/pkgconfig/howl.pc
  414. %{_libdir}/pkgconfig/libdns_sd.pc
  415. %files ui-gtk3
  416. %defattr(-, root, root)
  417. %{_libdir}/libavahi-ui-gtk3.so.*
  418. %files ui-gtk3-devel
  419. %defattr(-, root, root)
  420. %{_libdir}/libavahi-ui-gtk3.so
  421. %{_includedir}/avahi-ui
  422. %{_libdir}/pkgconfig/avahi-ui-gtk3.pc
  423. %files glib
  424. %defattr(-, root, root)
  425. %{_libdir}/libavahi-glib.so.*
  426. %files glib-devel
  427. %defattr(-, root, root)
  428. %{_libdir}/libavahi-glib.so
  429. %{_includedir}/avahi-glib
  430. %{_libdir}/pkgconfig/avahi-glib.pc
  431. %files gobject
  432. %defattr(-, root, root)
  433. %{_libdir}/libavahi-gobject.so.*
  434. %files gobject-devel
  435. %defattr(-, root, root)
  436. %{_libdir}/libavahi-gobject.so
  437. %{_includedir}/avahi-gobject
  438. %{_libdir}/pkgconfig/avahi-gobject.pc
  439. # compat32
  440. %if %{build_compat32}
  441. %files -n compat32-%{name}
  442. %defattr(-, root, root)
  443. %{_libdir}/libavahi-common.so.*
  444. %{_libdir}/libavahi-core.so.*
  445. %{_libdir}/libavahi-client.so.*
  446. %{_libdir}/libhowl.so.*
  447. %{_libdir}/libdns_sd.so.*
  448. %{_libdir}/avahi
  449. %files -n compat32-%{name}-devel
  450. %defattr(-, root, root)
  451. %{_libdir}/libavahi-common.so
  452. %{_libdir}/libavahi-core.so
  453. %{_libdir}/libavahi-client.so
  454. %{_libdir}/libhowl.so
  455. %{_libdir}/libdns_sd.so
  456. %files -n compat32-%{name}-ui-gtk3
  457. %defattr(-, root, root)
  458. %{_libdir}/libavahi-ui-gtk3.so.*
  459. %files -n compat32-%{name}-ui-gtk3-devel
  460. %defattr(-, root, root)
  461. %{_libdir}/libavahi-ui-gtk3.so
  462. %files -n compat32-%{name}-glib
  463. %defattr(-, root, root)
  464. %{_libdir}/libavahi-glib.so.*
  465. %files -n compat32-%{name}-glib-devel
  466. %defattr(-, root, root)
  467. %{_libdir}/libavahi-glib.so
  468. %files -n compat32-%{name}-gobject
  469. %defattr(-, root, root)
  470. %{_libdir}/libavahi-gobject.so.*
  471. %files -n compat32-%{name}-gobject-devel
  472. %defattr(-, root, root)
  473. %{_libdir}/libavahi-gobject.so
  474. %endif
  475. %changelog
  476. * Sat Apr 25 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.8-1
  477. - new upstream release.
  478. - added systemd support (disabled as default).
  479. * Mon May 13 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.7-2
  480. - rebuilt with gdbm-1.18.1.
  481. - dropped GTK+2, Qt3 and Qt4 support.
  482. * Tue Feb 27 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.7-1
  483. - new upstream release.
  484. - fixed illegal %%attr.
  485. * Thu Jun 30 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.31-5
  486. - rebuild with gcc-5.4.0
  487. * Sat Jul 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.31-4
  488. - rebuild with VineSeed environment
  489. * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.31-3
  490. - rebuild with VineSeed environment
  491. - add Patch0 (avahi-0.6.31-no-deprecations.patch) from Fedora
  492. * Tue Aug 27 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.31-2
  493. - update Patch10 (avahi-0.6.31-vine.patch)
  494. * Sun Apr 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.31-1
  495. - new upstream release
  496. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.30-3
  497. - rebuild with python-2.7.2
  498. * Tue Aug 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.30-2
  499. - add -ui-gtk3 sub package
  500. - add BuildRequires: gtk3-devel
  501. * Sun Jul 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.30-1
  502. - new upstream release
  503. * Tue Apr 26 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.6.25-5
  504. - add patch120 for fix CVE-2011-1002 (incorrect fix CVE-2010-2244)
  505. - add patch110 for fix CVE-2010-2244 (DNS packets)
  506. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.25-4
  507. - rebuild with rpm-4.8.1 for pkg-config file
  508. * Fri Feb 12 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.6.25-3
  509. - rebuilt with gcc-4.4.3-3 on ppc
  510. * Wed Feb 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.6.25-2
  511. - rebuilt with python-2.6.4
  512. * Sat Sep 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.25-1
  513. - new upstream release
  514. - update vine patch
  515. - startup avahi-daemon earlier
  516. * Mon Jul 13 2009 NAKAMURA Kenta <kenta@vinelinux.org> 0.6.24-2
  517. - added qt4 subpackage
  518. - added compat32 package for x86_64 arch support
  519. * Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.24-1
  520. - new upstream release
  521. * Fri Jan 09 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.6.23-2
  522. - fixed %%pre: add the "avahi" user to the "avahi" group
  523. * Mon Sep 22 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.23-1
  524. - new upstream release
  525. * Thu Jul 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.22-1
  526. - new upstream release
  527. - add gobject, gobject-devel sub package
  528. - enable avahi-autoipd
  529. * Wed Jul 23 2008 Shu KONNO <owa@bg.wakwak.com> 0.6.20-1vl5
  530. - built with python-2.5.2
  531. - s/automake-1.9/automake/
  532. - fixed python library path
  533. - applied new versioning policy
  534. * Wed Feb 20 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.6.20-0vl2
  535. - rebuild with expat-2.0.1
  536. * Mon Jul 23 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.20-0vl1
  537. - new upstream release
  538. * Thu May 10 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.18-0vl2
  539. - rebuild with new environment/toolchain
  540. * Tue May 08 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.18-0vl1
  541. - new upstream release
  542. * Sat Apr 28 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.17-0vl2
  543. - require new chkconfig to reset initscript priorities
  544. * Thu Apr 26 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.17-0vl1
  545. - new upstream release
  546. * Fri Jan 12 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.6.13-0vl3
  547. - add patch110 for fix CVE-2006-6870
  548. - add Vendor/Distribution Tag
  549. * Wed Dec 27 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.13-0vl2
  550. - rebuilt for VineSeed
  551. * Thu Dec 07 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.6.13-0vl1.1
  552. - add patch100 for fix CVE-2006-5461
  553. - add BuildRequires: XOrg-gl-devel tag
  554. * Thu Sep 07 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.13-0vl1
  555. - new upstream release
  556. - refine %%post scripts
  557. - add condrestart daemon in %%postun
  558. * Mon May 08 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.10-0vl1
  559. - new upstream release
  560. * Thu Mar 23 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.9-0vl2
  561. - move /var/lib/run/avahi-daemon to /var/run
  562. * Sun Mar 12 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.9-0vl1
  563. - initial build for Vine Linux based on FC package
  564. - add Patch10 to support Vine Linux
  565. * Thu Feb 23 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.8-1
  566. - Upgrade to upstream version 0.6.8
  567. - fix bug 182462: +Requires(post): initscripts, chkconfig, ldconfig
  568. * Fri Feb 17 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.7-1
  569. - Upgrade to upstream version 0.6.7
  570. * Fri Feb 17 2006 Karsten Hopp <karsten@redhat.de> - 0.6.6-4
  571. - BuildRequires pygtk2
  572. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.6.6-3.1
  573. - bump again for double-long bug on ppc(64)
  574. * Fri Feb 10 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.6-3
  575. - rebuild for new gcc (again)
  576. - further fix for bug 178746: fix avahi-dnsconfd initscript
  577. * Tue Feb 07 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.6-2
  578. - rebuild for new gcc, glibc, glibc-kernheaders
  579. * Wed Feb 01 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.6-1
  580. - fix bug 179448: mis-alignment of input cmsghdr msg->msg_control buffer on ia64
  581. - Upgrade to 0.6.6
  582. * Thu Jan 26 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.5-1
  583. - Upgrade to upstream version 0.6.5
  584. - Make /etc/avahi/etc and /etc/avahi/etc/localtime owned by avahi
  585. package; copy system localtime into chroot in post
  586. * Mon Jan 23 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.4-4
  587. - fix bug 178689: copy localtime to chroot
  588. - fix bug 178784: fix avahi-dnsconfd initscript
  589. * Fri Jan 20 2006 Peter Jones <pjones@redhat.com> - 0.6.4-3
  590. - fix subsystem locking in the initscript
  591. * Thu Jan 19 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.4-2
  592. - fix bug 178127: fully localize the initscript
  593. * Mon Jan 16 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.4-1
  594. - Upgrade to upstream version 0.6.4
  595. * Thu Jan 12 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.3-2
  596. - fix bug 177610: Enable mono support with new avahi-sharp package
  597. - fix bug 177609: add gdbm / gdbm-devel Requires for avahi-browse
  598. * Mon Jan 09 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.3-1
  599. - Upgrade to upstream version 0.6.3
  600. - fix bug 177148: initscript start should not fail if avahi-daemon running
  601. * Thu Dec 22 2005 Jason Vas Dias <jvdias@redhat.com> - 0.6.1-3
  602. - move initscripts from /etc/init.d to /etc/rc.d/init.d
  603. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  604. - rebuilt
  605. * Fri Dec 09 2005 Jason Vas Dias<jvdias@redhat.com> - 0.6.1-2
  606. - fix bug 175352: Do not chkconfig --add avahi-daemon
  607. if user has already configured it
  608. * Wed Dec 07 2005 Jason Vas Dias<jvdias@redhat.com> - 0.6.1-1
  609. - Upgrade to 0.6.1
  610. * Mon Dec 05 2005 Jason Vas Dias<jvdias@redhat.com> - 0.6-6
  611. - fix bug 174799 - fix .spec file \%files permissions
  612. * Fri Dec 02 2005 Jason Vas Dias<jvdias@redhat.com> - 0.6-5
  613. - python-twisted has been removed from the FC-5 distribution - disable its use
  614. * Thu Dec 01 2005 Jason Vas Dias<jvdias@redhat.com> - 0.6-4
  615. - Rebuild for dbus-0.6 - remove use of DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT
  616. * Wed Nov 30 2005 Jason Vas Dias<jvdias@redhat.com> - 0.6-3
  617. - fix bug 172047 - tools should require python-twisted
  618. - fix bug 173985 - docs directory permissions
  619. * Mon Nov 21 2005 Jason Vas Dias<jvdias@redhat.com> - 0.6-1
  620. - Upgrade to upstream version 0.6 - now provides 'avahi-howl-compat'
  621. libraries / includes.
  622. * Mon Nov 14 2005 Jason Vas Dias<jvdias@redhat.com> - 0.5.2-7
  623. - fix bug 172034: fix ownership of /var/run/avahi-daemon/
  624. - fix bug 172772: .spec file improvements from matthias@rpmforge.net
  625. * Mon Oct 31 2005 Jason Vas Dias<jvdias@redhat.com> - 0.5.2-6
  626. - put back avahi-devel Obsoletes: howl-devel
  627. * Mon Oct 31 2005 Alexander Larsson <alexl@redhat.com> - 0.5.2-5
  628. - Obsoletes howl, howl-libs, as we want to get rid of them on updates
  629. - No provides yet, as the howl compat library is in Avahi 0.6.0.
  630. * Sun Oct 30 2005 Florian La Roche <laroche@redhat.com>
  631. - disable the Obsoletes: howl until the transition is complete
  632. * Fri Oct 28 2005 Jason Vas Dias<jvdias@redhat.com> - 0.5.2-3
  633. - change initscript to start avahi-daemon AFTER messagebus
  634. * Wed Oct 26 2005 Karsten Hopp <karsten@redhat.de> 0.5.2-2
  635. - add buildrequires dbus-python
  636. * Fri Oct 21 2005 Alexander Larsson <alexl@redhat.com> - 0.5.2-1
  637. - Initial package