]>
Commit | Line | Data |
---|---|---|
a70686a2 | 1 | # TODO: check build/functionality with new libburn+libisofs |
7d70b9b5 JB |
2 | # |
3 | # Conditinal build: | |
4 | %bcond_without beagle # disable beagle search | |
5 | # | |
0aa1039d | 6 | Summary: Disc burning application for GNOME |
78d2c1a6 | 7 | Summary(pl.UTF-8): Program do wypalania płyt dla GNOME |
f267e635 | 8 | Name: brasero |
8aad972a | 9 | Version: 0.8.1 |
d714d0f9 | 10 | Release: 1 |
d5995223 | 11 | License: GPL v2+ |
06edcff8 | 12 | Group: X11/Applications |
d714d0f9 | 13 | Source0: http://ftp.gnome.org/pub/GNOME/sources/brasero/0.8/%{name}-%{version}.tar.bz2 |
8aad972a | 14 | # Source0-md5: d330593a1f4b701c015259ba80e8cb8b |
8e53b4f5 | 15 | URL: http://www.gnome.org/projects/brasero/ |
0851aa69 | 16 | BuildRequires: GConf2-devel >= 2.0.0 |
7d70b9b5 JB |
17 | BuildRequires: autoconf |
18 | BuildRequires: automake | |
0851aa69 MB |
19 | BuildRequires: gettext-devel |
20 | BuildRequires: glib2-devel >= 1:2.16.0 | |
21 | BuildRequires: gnome-doc-utils | |
22 | BuildRequires: gstreamer-devel >= 0.10.15 | |
0aa1039d | 23 | BuildRequires: gstreamer-plugins-base-devel >= 0.10.0 |
0851aa69 | 24 | BuildRequires: gtk+2-devel >= 2:2.12.0 |
0aa1039d | 25 | BuildRequires: hal-devel >= 0.5 |
0851aa69 MB |
26 | BuildRequires: intltool >= 0.40.0 |
27 | %{?with_beagle:BuildRequires: libbeagle-devel >= 0.3.0} | |
59998c06 | 28 | BuildRequires: libburn-devel >= 0.4.0 |
0aa1039d | 29 | BuildRequires: libgnomeui-devel >= 2.10.0 |
d714d0f9 | 30 | BuildRequires: libisofs-devel >= 0.6.4 |
7d70b9b5 | 31 | BuildRequires: libtool |
d5995223 | 32 | BuildRequires: libxml2-devel >= 1:2.6.0 |
0aa1039d | 33 | BuildRequires: pkgconfig |
0851aa69 | 34 | BuildRequires: totem-pl-parser-devel >= 2.22.0 |
0aa1039d | 35 | Requires(post,postun): desktop-file-utils |
b2818f74 | 36 | Requires(post,postun): hicolor-icon-theme |
0851aa69 | 37 | Requires(post,preun): GConf2 |
0aa1039d | 38 | Requires: hal >= 0.5 |
a0ab5c9e | 39 | Suggests: dvd+rw-tools |
68ba2b78 | 40 | Obsoletes: bonfire |
461995f0 | 41 | # sr@Latn vs. sr@latin |
42 | Conflicts: glibc-misc < 6:2.7 | |
0aa1039d | 43 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
44 | ||
45 | %description | |
0851aa69 MB |
46 | Brasero is a CD/DVD mastering tool for the GNOME desktop. It is |
47 | designed to be simple and easy to use. | |
0aa1039d | 48 | |
41cf56dd | 49 | %description -l pl.UTF-8 |
0851aa69 MB |
50 | Brasero jest narzędziem do masteringu płyt CD/DVD dla biurka GNOME. |
51 | Jest zaprojektowany by być prostym i łatwym w obsłudze. | |
0aa1039d | 52 | |
53 | %prep | |
54 | %setup -q | |
0aa1039d | 55 | |
56 | %build | |
7d70b9b5 | 57 | %{__libtoolize} |
4ac23a31 | 58 | %{__intltoolize} |
7d70b9b5 JB |
59 | %{__aclocal} |
60 | %{__autoconf} | |
61 | %{__autoheader} | |
62 | %{__automake} | |
63 | %configure \ | |
f267e635 | 64 | %{!?with_beagle:--disable-search} \ |
0851aa69 MB |
65 | --disable-caches \ |
66 | --disable-schemas-install | |
0aa1039d | 67 | %{__make} |
68 | ||
69 | %install | |
70 | rm -rf $RPM_BUILD_ROOT | |
71 | ||
72 | %{__make} install \ | |
73 | DESTDIR=$RPM_BUILD_ROOT | |
74 | ||
461995f0 | 75 | [ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \ |
76 | mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin} | |
d714d0f9 | 77 | %find_lang %{name} --all-name --with-gnome --with-omf |
0aa1039d | 78 | |
79 | %clean | |
80 | rm -rf $RPM_BUILD_ROOT | |
81 | ||
82 | %post | |
6b654b53 | 83 | %gconf_schema_install brasero.schemas |
0aa1039d | 84 | %update_desktop_database_post |
f267e635 PZ |
85 | %update_mime_database |
86 | %update_icon_cache hicolor | |
0aa1039d | 87 | |
0156d6bf | 88 | %preun |
6b654b53 | 89 | %gconf_schema_uninstall brasero.schemas |
0156d6bf MB |
90 | |
91 | %postun | |
0aa1039d | 92 | %update_desktop_database_postun |
f267e635 PZ |
93 | %update_mime_database |
94 | %update_icon_cache hicolor | |
0aa1039d | 95 | |
96 | %files -f %{name}.lang | |
97 | %defattr(644,root,root,755) | |
6b654b53 | 98 | %doc AUTHORS ChangeLog NEWS README |
0aa1039d | 99 | %attr(755,root,root) %{_bindir}/* |
100 | %{_datadir}/%{name} | |
f267e635 | 101 | %{_datadir}/mime/packages/%{name}.xml |
7bffecd4 PZ |
102 | %dir %{_libdir}/brasero |
103 | %dir %{_libdir}/brasero/plugins | |
104 | %attr(755,root,root) %{_libdir}/brasero/plugins/lib*.so | |
0aa1039d | 105 | %{_desktopdir}/*.desktop |
f267e635 | 106 | %{_iconsdir}/hicolor/*/*/*.png |
6b654b53 PZ |
107 | %{_iconsdir}/hicolor/*/*/*.svg |
108 | %{_mandir}/man1/* | |
0156d6bf | 109 | %{_sysconfdir}/gconf/schemas/brasero.schemas |