avahi-vl.spec 28 KB

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