brasero-vl.spec 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343
  1. Summary: Gnome CD/DVD burning application
  2. Summary(ja): Gnome CD/DVD 書き込みアプリケーション
  3. Name: brasero
  4. Version: 2.28.3
  5. Release: 1%{?_dist_release}
  6. Group: Applications/Multimedia
  7. License: GPLv2+
  8. URL: http://www.gnome.org/projects/brasero/
  9. Source0: http://ftp.gnome.org/pub/GNOME/sources/brasero/2.28/%{name}-%{version}.tar.bz2
  10. # http://bugzilla.gnome.org/show_bug.cgi?id=573789
  11. # http://bugzilla.gnome.org/show_bug.cgi?id=573790
  12. # http://bugzilla.gnome.org/show_bug.cgi?id=573791
  13. Source1: nautilus-cd-burner.desktop
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  15. BuildRequires: glib2-devel >= 2.16.0
  16. BuildRequires: gettext intltool gtk-doc
  17. BuildRequires: desktop-file-utils
  18. BuildRequires: GConf2-devel >= 2.0.0
  19. BuildRequires: hal-devel >= 0.5
  20. BuildRequires: libgnomeui-devel >= 2.24.1
  21. BuildRequires: gstreamer-devel >= 0.10.15
  22. BuildRequires: gstreamer-plugins-base-devel >= 0.10.0
  23. BuildRequires: totem-pl-parser-devel >= 2.22.0
  24. BuildRequires: libnotify-devel >= 0.3.0
  25. BuildRequires: libxml2-devel >= 2.6.0
  26. BuildRequires: dbus-glib-devel >= 0.7.2
  27. BuildRequires: gnome-doc-utils >= 0.3.2
  28. BuildRequires: scrollkeeper
  29. BuildRequires: libxslt
  30. BuildRequires: libburn-devel >= 0.4.0
  31. BuildRequires: libisofs-devel >= 0.6.4
  32. BuildRequires: nautilus-devel >= 2.26.0
  33. BuildRequires: eel2-devel >= 2.13.3
  34. BuildRequires: libSM-devel
  35. Requires: dvd+rw-tools
  36. Requires: cdrecord
  37. Requires: mkisofs
  38. Requires: cdda2wav
  39. Requires: cdrdao
  40. Requires(post): shared-mime-info
  41. Requires(postun): shared-mime-info
  42. Requires(pre): GConf2
  43. Requires(post): GConf2
  44. Requires(preun): GConf2
  45. %description
  46. Simple and easy to use CD/DVD burning application for the Gnome
  47. desktop.
  48. %package libs
  49. Summary: Libraries for %{name}
  50. Summary(ja): %{name} の共有ライブラリ
  51. Group: System Environment/Libraries
  52. %description libs
  53. The %{name}-libs package contains the runtime shared libraries for
  54. %{name}.
  55. %package nautilus
  56. Summary: Nautilus extension for %{name}
  57. Summary(ja): %{name} の Nautilus 拡張
  58. Group: User Interface/Desktops
  59. %description nautilus
  60. The %{name}-nautilus package contains the brasero nautilus extension.
  61. %package devel
  62. Summary: Headers for developing programs that will use %{name}
  63. Summary(ja): %{name} を用いるプログラムを開発に必要なファイル集
  64. Group: Development/Libraries
  65. Requires: %{name} = %{version}-%{release}
  66. Requires: pkgconfig
  67. %description devel
  68. This package contains the static libraries and header files needed for
  69. developing brasero applications.
  70. %prep
  71. %setup -q
  72. %build
  73. %configure \
  74. --enable-nautilus \
  75. --enable-libburnia \
  76. --enable-search \
  77. --enable-playlist \
  78. --enable-preview \
  79. --enable-inotify \
  80. --disable-caches \
  81. --disable-static \
  82. --disable-schemas-install
  83. sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
  84. make %{?_smp_mflags}
  85. %install
  86. rm -rf $RPM_BUILD_ROOT
  87. export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  88. make install DESTDIR=$RPM_BUILD_ROOT
  89. find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
  90. %find_lang %{name}
  91. sed -i 's/cd:x/cd;x/' $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
  92. desktop-file-install --vendor "" \
  93. --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  94. $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
  95. # See comment for source1
  96. cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/applications/%{name}-ncb.desktop
  97. desktop-file-install --vendor "" \
  98. --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  99. $RPM_BUILD_ROOT%{_datadir}/applications/%{name}-ncb.desktop
  100. %clean
  101. rm -rf $RPM_BUILD_ROOT
  102. %post
  103. umask 022
  104. update-mime-database %{_datadir}/mime &> /dev/null || :
  105. touch --no-create %{_datadir}/icons/hicolor || :
  106. if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  107. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  108. fi
  109. update-desktop-database &> /dev/null ||:
  110. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  111. gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
  112. killall -HUP gconfd-2 &>/dev/null || :
  113. %post libs -p /sbin/ldconfig
  114. %postun
  115. umask 022
  116. update-mime-database %{_datadir}/mime &> /dev/null || :
  117. touch --no-create %{_datadir}/icons/hicolor || :
  118. if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  119. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  120. fi
  121. update-desktop-database &> /dev/null ||:
  122. if [ "$1" -gt 1 ]; then
  123. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  124. gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/%{name}.schemas >/dev/null || :
  125. killall -HUP gconfd-2 &>/dev/null || :
  126. fi
  127. %postun libs -p /sbin/ldconfig
  128. %preun
  129. if [ "$1" -eq 0 ]; then
  130. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  131. gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
  132. killall -HUP gconfd-2 &>/dev/null || :
  133. fi
  134. %files -f %{name}.lang
  135. %defattr(-,root,root,-)
  136. %doc AUTHORS COPYING ChangeLog NEWS README
  137. %{_mandir}/man1/%{name}.*
  138. %{_bindir}/*
  139. %{_libdir}/%{name}
  140. %{_datadir}/%{name}
  141. %{_datadir}/applications/%{name}.desktop
  142. #{_datadir}/applications/%{name}-open-*.desktop
  143. %{_datadir}/applications/%{name}-copy-*.desktop
  144. %{_datadir}/applications/%{name}-ncb.desktop
  145. %{_datadir}/gnome/help/%{name}
  146. %{_datadir}/omf/%{name}
  147. %{_datadir}/icons/hicolor/*/apps/*
  148. %{_datadir}/mime/packages/*
  149. %config %{_sysconfdir}/gconf/schemas/%{name}.schemas
  150. %files libs
  151. %defattr(-,root,root,-)
  152. %{_libdir}/*.so.*
  153. %files nautilus
  154. %defattr(-,root,root,-)
  155. %{_libdir}/nautilus/extensions-2.0/*.so
  156. %{_datadir}/applications/brasero-nautilus.desktop
  157. %files devel
  158. %defattr(-,root,root,-)
  159. %doc %{_datadir}/gtk-doc/html/libbrasero-burn
  160. %doc %{_datadir}/gtk-doc/html/libbrasero-media
  161. %{_includedir}/brasero
  162. %{_libdir}/*.so
  163. %{_libdir}/pkgconfig/*.pc
  164. %changelog
  165. * Sat Jan 30 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.28.3-1
  166. - new upstream release
  167. * Sun Nov 1 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.2-1
  168. - new upstream release
  169. * Sat Jul 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.3-1
  170. - new upstream release
  171. * Thu May 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2-1
  172. - new upstream release
  173. * Sat Apr 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-1
  174. - new upstream release
  175. * Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
  176. - initial build for Vine Linux
  177. * Mon Mar 02 2009 - Bastien Nocera <bnocera@redhat.com> - 2.25.91.2-3
  178. - Fix icon and Bugzilla component
  179. * Mon Mar 02 2009 - Bastien Nocera <bnocera@redhat.com> - 2.25.91.2-2
  180. - Fix regressions in burn:/// and blank media handling
  181. * Tue Feb 24 2009 Denis Leroy <denis@poolshark.org> - 2.25.91.2-1
  182. - Update to upstream 2.25.91.2
  183. - Dvdcss patch upstreamed
  184. - Split nautilus extension into subpackage (#485918)
  185. * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.25.90-3
  186. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  187. * Sat Feb 7 2009 Denis Leroy <denis@poolshark.org> - 2.25.90-2
  188. - Added patch to fix dynamic load of libdvdcss (#484413)
  189. * Tue Feb 3 2009 Denis Leroy <denis@poolshark.org> - 2.25.90-1
  190. - Update to upstream 2.25.90
  191. - Split media library into separate RPM (#483754)
  192. - Added patch to validate desktop files
  193. * Tue Jan 20 2009 Denis Leroy <denis@poolshark.org> - 0.9.1-1
  194. - Update to upstream 0.9.1
  195. - Added development package
  196. * Tue Dec 16 2008 Denis Leroy <denis@poolshark.org> - 0.8.3-1
  197. - Update to upstream 0.8.4
  198. - Enabled nautilus extension
  199. * Mon Sep 15 2008 Denis Leroy <denis@poolshark.org> - 0.8.2-1
  200. - Update to upstream 0.8.2
  201. * Wed Aug 27 2008 Denis Leroy <denis@poolshark.org> - 0.8.1-1
  202. - Update to upstream 0.8.1
  203. - Desktop patch upstreamed
  204. * Sun Jul 6 2008 Denis Leroy <denis@poolshark.org> - 0.7.91-1
  205. - Update to unstable 0.7.91
  206. - open flags patch upstreamed
  207. * Wed Jun 11 2008 Denis Leroy <denis@poolshark.org> - 0.7.90-1
  208. - Update to unstable 0.7.90
  209. - Added patch to validate desktop file
  210. - BRs updated
  211. * Fri May 16 2008 Denis Leroy <denis@poolshark.org> - 0.7.1-4
  212. - Rebuild for new totem-pl-parser
  213. * Sat Feb 23 2008 Denis Leroy <denis@poolshark.org> - 0.7.1-3
  214. - Fixed desktop mime field
  215. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.7.1-2
  216. - Autorebuild for GCC 4.3
  217. * Tue Jan 29 2008 Denis Leroy <denis@poolshark.org> - 0.7.1-1
  218. - Update to 0.7.1 upstream, bugfix release
  219. * Sun Dec 30 2007 Denis Leroy <denis@poolshark.org> - 0.7.0-1
  220. - Update to upstream 0.7.0, updated BRs
  221. - Forward-ported open() permission patch
  222. * Mon Dec 10 2007 Denis Leroy <denis@poolshark.org> - 0.6.1-4
  223. - Changed totem-devel req to totem-pl-parser-devel
  224. * Sun Dec 9 2007 Denis Leroy <denis@poolshark.org> - 0.6.1-3
  225. - Rebuild with new libbeagle
  226. * Fri Nov 9 2007 Denis Leroy <denis@poolshark.org> - 0.6.1-2
  227. - Rebuild to pick up new totem version (#361361)
  228. * Sat Aug 25 2007 Denis Leroy <denis@poolshark.org> - 0.6.1-1
  229. - Update to upstream version 0.6.1
  230. - Filter UI patch is now upstream
  231. * Fri Aug 17 2007 Denis Leroy <denis@poolshark.org> - 0.6.0-2
  232. - Updated License tag
  233. - Fixed open() O_CREAT problem
  234. * Fri Aug 10 2007 Denis Leroy <denis@poolshark.org> - 0.6.0-1
  235. - Update to 0.6.0
  236. - Removed libburn support until it compiles against libisofs 0.2.8
  237. - Fixed project URL
  238. - Added patch to port to new Gtk+ tooltip interface
  239. - Added patch to fix filter dialog crash
  240. * Sun Jun 3 2007 Denis Leroy <denis@poolshark.org> - 0.5.2-4
  241. - Removed beagle support for ppc64
  242. * Tue May 22 2007 Denis Leroy <denis@poolshark.org> - 0.5.2-3
  243. - Added umask 022 to scriptlets (#230781)
  244. * Mon May 21 2007 Denis Leroy <denis@poolshark.org> - 0.5.2-2
  245. - Rebuild to pick up new totem library
  246. * Mon Feb 26 2007 Denis Leroy <denis@poolshark.org> - 0.5.2-1
  247. - Update to 0.5.2
  248. - Removed libisofs patch, now upstream
  249. * Wed Jan 17 2007 Denis Leroy <denis@poolshark.org> - 0.5.1-2
  250. - Added patch to support libisofs.so.4 and libburn.so.6
  251. * Thu Nov 16 2006 Denis Leroy <denis@poolshark.org> - 0.5.1-1
  252. - Update to 0.5.1
  253. * Sun Oct 29 2006 Denis Leroy <denis@poolshark.org> - 0.5.0-1
  254. - Update to 0.5.0
  255. - Updated icon paths
  256. - Added gconf schemas sections
  257. * Tue Oct 3 2006 Denis Leroy <denis@poolshark.org> - 0.4.4-3
  258. - fixed homepage URL
  259. * Tue Sep 26 2006 Denis Leroy <denis@poolshark.org> - 0.4.4-2
  260. - BRs cleanup
  261. * Fri Sep 22 2006 Denis Leroy <denis@poolshark.org> - 0.4.4-1
  262. - First version
  263. foo