avahi-vl.spec 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812
  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.25
  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. Patch10: avahi-0.6.25-vine.patch
  14. # security fixes
  15. Patch110: avahi-0.6.2x-CVE-2010-2244.patch
  16. Patch120: avahi-0.6-CVE-2011-1002.patch
  17. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  18. BuildRequires: gtk2-devel, qt-devel, libglade2-devel, glib2-devel
  19. BuildRequires: qt4-devel
  20. BuildRequires: libdaemon-devel >= 0.12
  21. BuildRequires: libcap-devel, dbus-devel, expat-devel
  22. BuildRequires: python, dbus-python, gdbm-devel, pygtk2, libmng-devel
  23. BuildRequires: xorg-x11-devel, mesa-libGL-devel
  24. Requires: dbus, libdaemon, expat, python, dbus-python, libcap
  25. Requires(post): initscripts, chkconfig >= 1.3.34
  26. Obsoletes: howl, howl-libs
  27. Vendor: Project Vine
  28. Distribution: Vine Linux
  29. %description
  30. Avahi is a system which facilitates service discovery on
  31. a local network -- this means that you can plug your laptop or
  32. computer into a network and instantly be able to view other people who
  33. you can chat with, find printers to print to or find files being
  34. shared. This kind of technology is already found in MacOS X (branded
  35. 'Rendezvous', 'Bonjour' and sometimes 'ZeroConf') and is very
  36. convenient.
  37. %package tools
  38. Summary: Tools for mDNS browsing and publishing
  39. Group: System Environment/Base
  40. Requires: %{name} = %{version}, gtk2, pygtk2, libglade2, pygtk2-libglade, gdbm
  41. %description tools
  42. Tools that use avahi to browse and publish mDNS services and hosts.
  43. %package ui
  44. Summary: UI libraries for avahi
  45. Summary(ja): avahi 用 UI ライブラリ
  46. Group: System Environment/Libraries
  47. Requires: %{name} = %{version}
  48. Requires: gtk2
  49. %description ui
  50. Libraries for easy use of avahi from gtk applications.
  51. %package ui-devel
  52. Summary: Libraries and header files for avahi ui development
  53. Group: Development/Libraries
  54. Requires: %{name}-devel = %{version}
  55. Requires: %{name}-ui = %{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 glib
  61. Summary: Glib libraries for avahi
  62. Summary(ja): avahi 用 glib ライブラリ
  63. Group: System Environment/Libraries
  64. Requires: %{name} = %{version}
  65. Requires: glib2
  66. %description glib
  67. Libraries for easy use of avahi from glib applications.
  68. %package glib-devel
  69. Summary: Libraries and header files for avahi glib development
  70. Group: Development/Libraries
  71. Requires: %{name}-devel = %{version}
  72. Requires: %{name}-glib = %{version}
  73. Requires: glib2-devel
  74. %description glib-devel
  75. The avahi-glib-devel package contains the header files and libraries
  76. necessary for developing programs using avahi with glib.
  77. %package gobject
  78. Summary: GObject library for Avahi
  79. Summary(ja): Avahi 用 GObject ライブラリ
  80. Group: System Environment/Base
  81. Requires: glib2
  82. Requires: %{name}-glib = %{version}-%{release}
  83. %description gobject
  84. This library contains a GObject wrapper for the Avahi API
  85. %package gobject-devel
  86. Summary: Libraries and header files for Avahi GObject development
  87. Summary(ja): Avahi GObject 開発用ライブラリとヘッダファイル
  88. Group: Development/Libraries
  89. Requires: %{name}-gobject = %{version}-%{release}
  90. Requires: %{name}-devel = %{version}-%{release}
  91. Requires: %{name}-glib-devel = %{version}-%{release}
  92. %description gobject-devel
  93. The avahi-gobject-devel package contains the header files and libraries
  94. necessary for developing programs using avahi-gobject.
  95. %package qt3
  96. Summary: Qt3 libraries for avahi
  97. Summary(ja): avahi 用 Qt3 ライブラリ
  98. Group: System Environment/Libraries
  99. Requires: %{name} = %{version}
  100. Requires: qt
  101. %description qt3
  102. Libraries for easy use of avahi from Qt3 applications.
  103. %package qt3-devel
  104. Summary: Libraries and header files for avahi Qt3 development
  105. Group: Development/Libraries
  106. Requires: %{name}-devel = %{version}
  107. Requires: %{name}-qt3 = %{version}
  108. Requires: qt-devel
  109. %description qt3-devel
  110. The avahi-qt3-devel package contains the header files and libraries
  111. necessary for developing programs using avahi with Qt3.
  112. %package qt4
  113. Summary: Qt4 libraries for avahi
  114. Summary(ja): avahi 用 Qt4 ライブラリ
  115. Group: System Environment/Base
  116. Requires: %{name} = %{version}-%{release}
  117. %description qt4
  118. Libraries for easy use of avahi from Qt4 applications.
  119. %package qt4-devel
  120. Summary: Libraries and header files for avahi Qt4 development
  121. Group: Development/Libraries
  122. Requires: %{name}-devel = %{version}-%{release}
  123. Requires: %{name}-qt4 = %{version}-%{release}
  124. Requires: qt4-devel
  125. %description qt4-devel
  126. Th avahi-qt4-devel package contains the header files and libraries
  127. necessary for developing programs using avahi with Qt4.
  128. %package devel
  129. Summary: Libraries and header files for avahi development
  130. Group: Development/Libraries
  131. Requires: %{name} = %{version}
  132. Obsoletes: howl-devel
  133. %description devel
  134. The avahi-devel package contains the header files and libraries
  135. necessary for developing programs using avahi.
  136. # compat32
  137. %package -n compat32-%{name}
  138. Summary: Local network service discovery
  139. Summary(ja): ローカルネットワークサービス検出システム
  140. Group: System Environment/Base
  141. Requires: %{name} = %{version}-%{release}
  142. %description -n compat32-%{name}
  143. Avahi is a system which facilitates service discovery on
  144. a local network -- this means that you can plug your laptop or
  145. computer into a network and instantly be able to view other people who
  146. you can chat with, find printers to print to or find files being
  147. shared. This kind of technology is already found in MacOS X (branded
  148. 'Rendezvous', 'Bonjour' and sometimes 'ZeroConf') and is very
  149. convenient.
  150. %package -n compat32-%{name}-ui
  151. Summary: UI libraries for avahi
  152. Summary(ja): avahi 用 UI ライブラリ
  153. Group: System Environment/Libraries
  154. Requires: %{name}-ui = %{version}-%{release}
  155. Requires: compat32-%{name} = %{version}-%{release}
  156. Requires: compat32-gtk2
  157. %description -n compat32-%{name}-ui
  158. Libraries for easy use of avahi from gtk applications.
  159. %package -n compat32-%{name}-ui-devel
  160. Summary: Libraries and header files for avahi ui development
  161. Group: Development/Libraries
  162. Requires: %{name}-ui-devel = %{version}-%{release}
  163. Requires: compat32-%{name}-devel = %{version}-%{release}
  164. Requires: compat32-%{name}-ui = %{version}-%{release}
  165. Requires: compat32-gtk2-devel
  166. %description -n compat32-%{name}-ui-devel
  167. The avahi-ui-devel package contains the header files and libraries
  168. necessary for developing programs using avahi with gtk+.
  169. %package -n compat32-%{name}-glib
  170. Summary: Glib libraries for avahi
  171. Summary(ja): avahi 用 glib ライブラリ
  172. Group: System Environment/Libraries
  173. Requires: %{name}-glib = %{version}-%{release}
  174. Requires: compat32-%{name} = %{version}-%{release}
  175. Requires: compat32-glib2
  176. %description -n compat32-%{name}-glib
  177. Libraries for easy use of avahi from glib applications.
  178. %package -n compat32-%{name}-glib-devel
  179. Summary: Libraries and header files for avahi glib development
  180. Group: Development/Libraries
  181. Requires: %{name}-glib-devel = %{version}-%{release}
  182. Requires: compat32-%{name}-devel = %{version}-%{release}
  183. Requires: compat32-%{name}-glib = %{version}-%{release}
  184. Requires: compat32-glib2-devel
  185. %description -n compat32-%{name}-glib-devel
  186. The avahi-glib-devel package contains the header files and libraries
  187. necessary for developing programs using avahi with glib.
  188. %package -n compat32-%{name}-gobject
  189. Summary: GObject library for Avahi
  190. Summary(ja): Avahi 用 GObject ライブラリ
  191. Group: System Environment/Base
  192. Requires: %{name}-gobject = %{version}-%{release}
  193. Requires: compat32-glib2
  194. Requires: compat32-%{name}-glib = %{version}-%{release}
  195. %description -n compat32-%{name}-gobject
  196. This library contains a GObject wrapper for the Avahi API
  197. %package -n compat32-%{name}-gobject-devel
  198. Summary: Libraries and header files for Avahi GObject development
  199. Summary(ja): Avahi GObject 開発用ライブラリとヘッダファイル
  200. Group: Development/Libraries
  201. Requires: %{name}-gobject-devel = %{version}-%{release}
  202. Requires: compat32-%{name}-gobject = %{version}-%{release}
  203. Requires: compat32-%{name}-devel = %{version}-%{release}
  204. Requires: compat32-%{name}-glib-devel = %{version}-%{release}
  205. %description -n compat32-%{name}-gobject-devel
  206. The avahi-gobject-devel package contains the header files and libraries
  207. necessary for developing programs using avahi-gobject.
  208. %package -n compat32-%{name}-qt3
  209. Summary: Qt3 libraries for avahi
  210. Summary(ja): avahi 用 Qt3 ライブラリ
  211. Group: System Environment/Libraries
  212. Requires: %{name}-qt3 = %{version}-%{release}
  213. Requires: compat32-%{name} = %{version}-%{release}
  214. Requires: compat32-qt
  215. %description -n compat32-%{name}-qt3
  216. Libraries for easy use of avahi from Qt3 applications.
  217. %package -n compat32-%{name}-qt3-devel
  218. Summary: Libraries and header files for avahi Qt3 development
  219. Group: Development/Libraries
  220. Requires: %{name}-qt3-devel = %{version}-%{release}
  221. Requires: compat32-%{name}-devel = %{version}-%{release}
  222. Requires: compat32-%{name}-qt3 = %{version}-%{release}
  223. Requires: compat32-qt-devel
  224. %description -n compat32-%{name}-qt3-devel
  225. The avahi-qt3-devel package contains the header files and libraries
  226. necessary for developing programs using avahi with Qt3.
  227. %package -n compat32-%{name}-qt4
  228. Summary: Qt4 libraries for avahi
  229. Summary(ja): avahi 用 Qt4 ライブラリ
  230. Group: System Environment/Base
  231. Requires: %{name}-qt4 = %{version}-%{release}
  232. Requires: compat32-%{name} = %{version}-%{release}
  233. %description -n compat32-%{name}-qt4
  234. Libraries for easy use of avahi from Qt4 applications.
  235. %package -n compat32-%{name}-qt4-devel
  236. Summary: Libraries and header files for avahi Qt4 development
  237. Group: Development/Libraries
  238. Requires: %{name}-qt4-devel = %{version}-%{release}
  239. Requires: compat32-%{name}-devel = %{version}-%{release}
  240. Requires: compat32-%{name}-qt4 = %{version}-%{release}
  241. Requires: compat32-qt4-devel
  242. %description -n compat32-%{name}-qt4-devel
  243. Th avahi-qt4-devel package contains the header files and libraries
  244. necessary for developing programs using avahi with Qt4.
  245. %package -n compat32-%{name}-devel
  246. Summary: Libraries and header files for avahi development
  247. Group: Development/Libraries
  248. Requires: %{name}-devel = %{version}-%{release}
  249. Requires: compat32-%{name} = %{version}-%{release}
  250. %description -n compat32-%{name}-devel
  251. The avahi-devel package contains the header files and libraries
  252. necessary for developing programs using avahi.
  253. %define avahi_user_uid 70
  254. %prep
  255. %setup -q
  256. %patch10 -p1 -b .vine
  257. # security fixes
  258. %patch110 -p1 -b .CVE-2010-2244
  259. %patch120 -p1 -b .CVE-2011-1002
  260. %build
  261. autoreconf -i
  262. %configure --with-distro=vine \
  263. --disable-monodoc --without-python-twisted \
  264. --with-avahi-user=avahi --with-avahi-group=avahi \
  265. --enable-compat-howl --enable-compat-libdns_sd \
  266. --with-avahi-priv-access-group=avahi \
  267. --with-autoipd-user=avahi-autoipd \
  268. --with-autoipd-group=avahi-autoipd \
  269. --disable-mono
  270. %__make -C avahi-python clean
  271. %__make %{?_smp_mflags}
  272. %install
  273. rm -rf $RPM_BUILD_ROOT
  274. make install DESTDIR=$RPM_BUILD_ROOT
  275. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  276. rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
  277. # remove example
  278. rm -f $RPM_BUILD_ROOT%{_sysconfdir}/avahi/services/ssh.service
  279. # remove desktop file for avahi-discover
  280. rm -f $RPM_BUILD_ROOT%{_datadir}/applications/avahi-discover.desktop
  281. # create /var/run/avahi-daemon to ensure correct selinux policy for it:
  282. mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/run/avahi-daemon
  283. # remove the documentation directory - let \%doc handle it:
  284. rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}
  285. # remove avahi-bookmarks - unusable without python-twisted,
  286. # which has been judged dangerous and is removed from the
  287. # Fedora Core distribution:
  288. rm -f $RPM_BUILD_ROOT/%{_bindir}/avahi-bookmarks $RPM_BUILD_ROOT/%{_mandir}/man1/avahi-bookmarks*
  289. #
  290. # move initscripts into /etc/rc.d/init.d :
  291. mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/rc.d/init.d
  292. mv $RPM_BUILD_ROOT/%{_sysconfdir}/init.d/* $RPM_BUILD_ROOT/%{_sysconfdir}/rc.d/init.d
  293. rm -rf $RPM_BUILD_ROOT/%{_sysconfdir}/init.d/*
  294. #
  295. # Make /etc/avahi/etc/localtime owned by avahi:
  296. mkdir -p $RPM_BUILD_ROOT/etc/avahi/etc
  297. touch $RPM_BUILD_ROOT/etc/avahi/etc/localtime
  298. :;
  299. %clean
  300. rm -rf $RPM_BUILD_ROOT
  301. %pre
  302. # Add the "avahi" group
  303. /usr/sbin/groupadd -f -r avahi
  304. # Add the "avahi" user
  305. /usr/sbin/useradd -g avahi -c 'Avahi daemon' -u %{avahi_user_uid} \
  306. -s /sbin/nologin -r -d '/' avahi 2> /dev/null || :
  307. %post
  308. /sbin/ldconfig
  309. dbus-send --system --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig >/dev/null 2>&1 || :
  310. /sbin/chkconfig --add avahi-daemon >/dev/null 2>&1 ||:
  311. /sbin/chkconfig avahi-daemon resetpriorities >/dev/null 2>&1 ||:
  312. /sbin/chkconfig --add avahi-dnsconfd >/dev/null 2>&1 ||:
  313. /sbin/chkconfig avahi-dnsconfd resetpriorities >/dev/null 2>&1 ||:
  314. if [ "$1" -eq 1 ]; then
  315. if [ -s /etc/localtime ]; then
  316. cp -fp /etc/localtime /etc/avahi/etc/localtime || :;
  317. fi
  318. fi
  319. %postun
  320. /sbin/ldconfig
  321. if [ "$1" -ge "1" ]; then
  322. /sbin/service avahi-daemon condrestart >/dev/null 2>&1
  323. /sbin/service avahi-dnsconfd condrestart >/dev/null 2>&1
  324. fi
  325. %preun
  326. if [ "$1" -eq 0 ]; then
  327. /sbin/service avahi-daemon stop > /dev/null 2>&1
  328. /sbin/chkconfig --del avahi-daemon
  329. /sbin/service avahi-dnsconfd stop >/dev/null 2>&1
  330. /sbin/chkconfig --del avahi-dnsconfd
  331. fi
  332. %post ui -p /sbin/ldconfig
  333. %postun ui -p /sbin/ldconfig
  334. %post glib -p /sbin/ldconfig
  335. %postun glib -p /sbin/ldconfig
  336. %post qt3 -p /sbin/ldconfig
  337. %postun qt3 -p /sbin/ldconfig
  338. %post qt4 -p /sbin/ldconfig
  339. %postun qt4 -p /sbin/ldconfig
  340. %post gobject -p /sbin/ldconfig
  341. %postun gobject -p /sbin/ldconfig
  342. # compat32
  343. %post -n compat32-%{name} -p /sbin/ldconfig
  344. %postun -n compat32-%{name} -p /sbin/ldconfig
  345. %post -n compat32-%{name}-ui -p /sbin/ldconfig
  346. %postun -n compat32-%{name}-ui -p /sbin/ldconfig
  347. %post -n compat32-%{name}-glib -p /sbin/ldconfig
  348. %postun -n compat32-%{name}-glib -p /sbin/ldconfig
  349. %post -n compat32-%{name}-qt3 -p /sbin/ldconfig
  350. %postun -n compat32-%{name}-qt3 -p /sbin/ldconfig
  351. %post -n compat32-%{name}-qt4 -p /sbin/ldconfig
  352. %postun -n compat32-%{name}-qt4 -p /sbin/ldconfig
  353. %post -n compat32-%{name}-gobject -p /sbin/ldconfig
  354. %postun -n compat32-%{name}-gobject -p /sbin/ldconfig
  355. %files
  356. %defattr(0644,root,root,0755)
  357. %doc docs/* avahi-daemon/example.service avahi-daemon/ssh.service
  358. %attr(755,root,root) %{_sysconfdir}/rc.d/init.d/*
  359. %dir %{_sysconfdir}/avahi
  360. %dir %{_sysconfdir}/avahi/etc
  361. %ghost %{_sysconfdir}/avahi/etc/localtime
  362. %{_sysconfdir}/avahi/hosts
  363. %dir %{_sysconfdir}/avahi/services
  364. %dir %{_localstatedir}/run/avahi-daemon
  365. %config %{_sysconfdir}/avahi/avahi-autoipd.action
  366. %config %{_sysconfdir}/avahi/avahi-daemon.conf
  367. %config %{_sysconfdir}/avahi/avahi-dnsconfd.action
  368. %config %{_sysconfdir}/avahi/services/*
  369. %config %{_sysconfdir}/dbus-1/system.d/avahi-dbus.conf
  370. %attr(755,root,root) %{_sbindir}/*
  371. %attr(755,root,root) %{_libdir}/libavahi-common.so.*
  372. %attr(755,root,root) %{_libdir}/libavahi-core.so.*
  373. %attr(755,root,root) %{_libdir}/libavahi-client.so.*
  374. %attr(755,root,root) %{_libdir}/libhowl.so.*
  375. %attr(755,root,root) %{_libdir}/libdns_sd.so.*
  376. %attr(755,root,root) %{_datadir}/avahi
  377. %{_datadir}/locale/*
  378. %{_libdir}/avahi
  379. %exclude %{_datadir}/avahi/interfaces
  380. %{_mandir}/man5/*
  381. %{_mandir}/man8/*
  382. %files tools
  383. %defattr(0755, root, root, 0755)
  384. %{_bindir}/*
  385. %{pythonlib}/*
  386. %attr(0644,root,root) %{_mandir}/man1/*
  387. %{_datadir}/avahi/interfaces/
  388. %{_datadir}/applications/*
  389. %files devel
  390. %defattr(0644, root, root, 0755)
  391. %attr(755,root,root) %{_libdir}/libavahi-common.so
  392. %attr(755,root,root) %{_libdir}/libavahi-core.so
  393. %attr(755,root,root) %{_libdir}/libavahi-client.so
  394. %attr(755,root,root) %{_libdir}/libhowl.so
  395. %attr(755,root,root) %{_libdir}/libdns_sd.so
  396. %{_includedir}/avahi-client
  397. %{_includedir}/avahi-common
  398. %{_includedir}/avahi-core
  399. %{_includedir}/avahi-compat-howl
  400. %{_includedir}/avahi-compat-libdns_sd
  401. %{_libdir}/pkgconfig/avahi-core.pc
  402. %{_libdir}/pkgconfig/avahi-client.pc
  403. %{_libdir}/pkgconfig/avahi-compat-howl.pc
  404. %{_libdir}/pkgconfig/avahi-compat-libdns_sd.pc
  405. %files ui
  406. %defattr(0755, root, root, 0755)
  407. %{_libdir}/libavahi-ui.so.*
  408. %files ui-devel
  409. %defattr(0644, root, root, 0755)
  410. %attr(755,root,root) %{_libdir}/libavahi-ui.so
  411. %{_includedir}/avahi-ui
  412. %{_libdir}/pkgconfig/avahi-ui.pc
  413. %files glib
  414. %defattr(0755, root, root, 0755)
  415. %{_libdir}/libavahi-glib.so.*
  416. %files glib-devel
  417. %defattr(0644, root, root, 0755)
  418. %attr(755,root,root) %{_libdir}/libavahi-glib.so
  419. %{_includedir}/avahi-glib
  420. %{_libdir}/pkgconfig/avahi-glib.pc
  421. %files gobject
  422. %defattr(0755, root, root, 0755)
  423. %{_libdir}/libavahi-gobject.so.*
  424. %files gobject-devel
  425. %defattr(0644, root, root, 0755)
  426. %attr(755,root,root) %{_libdir}/libavahi-gobject.so
  427. %{_includedir}/avahi-gobject
  428. %{_libdir}/pkgconfig/avahi-gobject.pc
  429. %files qt3
  430. %defattr(0644, root, root, 0755)
  431. %attr(755,root,root) %{_libdir}/libavahi-qt3.so.*
  432. %files qt3-devel
  433. %defattr(0644, root, root, 0755)
  434. %attr(755,root,root) %{_libdir}/libavahi-qt3.so
  435. %{_includedir}/avahi-qt3
  436. %{_libdir}/pkgconfig/avahi-qt3.pc
  437. %files qt4
  438. %defattr(0644, root, root, 0755)
  439. %attr(755,root,root) %{_libdir}/libavahi-qt4.so.*
  440. %files qt4-devel
  441. %defattr(0644, root, root, 0755)
  442. %attr(755,root,root) %{_libdir}/libavahi-qt4.so
  443. %{_includedir}/avahi-qt4/
  444. %{_libdir}/pkgconfig/avahi-qt4.pc
  445. # compat32
  446. %if %{build_compat32}
  447. %files -n compat32-%{name}
  448. %defattr(0644,root,root,0755)
  449. %attr(755,root,root) %{_libdir}/libavahi-common.so.*
  450. %attr(755,root,root) %{_libdir}/libavahi-core.so.*
  451. %attr(755,root,root) %{_libdir}/libavahi-client.so.*
  452. %attr(755,root,root) %{_libdir}/libhowl.so.*
  453. %attr(755,root,root) %{_libdir}/libdns_sd.so.*
  454. %{_libdir}/avahi
  455. %files -n compat32-%{name}-devel
  456. %defattr(0644, root, root, 0755)
  457. %attr(755,root,root) %{_libdir}/libavahi-common.so
  458. %attr(755,root,root) %{_libdir}/libavahi-core.so
  459. %attr(755,root,root) %{_libdir}/libavahi-client.so
  460. %attr(755,root,root) %{_libdir}/libhowl.so
  461. %attr(755,root,root) %{_libdir}/libdns_sd.so
  462. %{_libdir}/pkgconfig/avahi-core.pc
  463. %{_libdir}/pkgconfig/avahi-client.pc
  464. %{_libdir}/pkgconfig/avahi-compat-howl.pc
  465. %{_libdir}/pkgconfig/avahi-compat-libdns_sd.pc
  466. %files -n compat32-%{name}-ui
  467. %defattr(0755, root, root, 0755)
  468. %{_libdir}/libavahi-ui.so.*
  469. %files -n compat32-%{name}-ui-devel
  470. %defattr(0644, root, root, 0755)
  471. %attr(755,root,root) %{_libdir}/libavahi-ui.so
  472. %{_libdir}/pkgconfig/avahi-ui.pc
  473. %files -n compat32-%{name}-glib
  474. %defattr(0755, root, root, 0755)
  475. %{_libdir}/libavahi-glib.so.*
  476. %files -n compat32-%{name}-glib-devel
  477. %defattr(0644, root, root, 0755)
  478. %attr(755,root,root) %{_libdir}/libavahi-glib.so
  479. %{_libdir}/pkgconfig/avahi-glib.pc
  480. %files -n compat32-%{name}-gobject
  481. %defattr(0755, root, root, 0755)
  482. %{_libdir}/libavahi-gobject.so.*
  483. %files -n compat32-%{name}-gobject-devel
  484. %defattr(0644, root, root, 0755)
  485. %attr(755,root,root) %{_libdir}/libavahi-gobject.so
  486. %{_libdir}/pkgconfig/avahi-gobject.pc
  487. %files -n compat32-%{name}-qt3
  488. %defattr(0644, root, root, 0755)
  489. %attr(755,root,root) %{_libdir}/libavahi-qt3.so.*
  490. %files -n compat32-%{name}-qt3-devel
  491. %defattr(0644, root, root, 0755)
  492. %attr(755,root,root) %{_libdir}/libavahi-qt3.so
  493. %{_libdir}/pkgconfig/avahi-qt3.pc
  494. %files -n compat32-%{name}-qt4
  495. %defattr(0644, root, root, 0755)
  496. %attr(755,root,root) %{_libdir}/libavahi-qt4.so.*
  497. %files -n compat32-%{name}-qt4-devel
  498. %defattr(0644, root, root, 0755)
  499. %attr(755,root,root) %{_libdir}/libavahi-qt4.so
  500. %{_libdir}/pkgconfig/avahi-qt4.pc
  501. %endif
  502. %changelog
  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