avahi-vl.spec 27 KB

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