avahi-vl.spec 27 KB

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