avahi-vl.spec 26 KB

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