]>
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 |
ebb894a7 | 9 | Version: 0.6.1 |
0156d6bf | 10 | Release: 2 |
d5995223 | 11 | License: GPL v2+ |
06edcff8 | 12 | Group: X11/Applications |
2caf4af6 | 13 | Source0: http://ftp.gnome.org/pub/GNOME/sources/brasero/0.6/%{name}-%{version}.tar.bz2 |
ebb894a7 | 14 | # Source0-md5: fa3b59f06b93bd831805a73a81f3293f |
0aa1039d | 15 | Patch0: %{name}-desktop.patch |
8e53b4f5 | 16 | URL: http://www.gnome.org/projects/brasero/ |
7d70b9b5 JB |
17 | BuildRequires: autoconf |
18 | BuildRequires: automake | |
d5995223 JB |
19 | %{?with_beagle:BuildRequires: beagle-devel >= 0.1.1} |
20 | BuildRequires: gnome-vfs2-devel >= 2.14.2 | |
0aa1039d | 21 | BuildRequires: gstreamer-devel >= 0.10.6 |
22 | BuildRequires: gstreamer-plugins-base-devel >= 0.10.0 | |
d5995223 | 23 | BuildRequires: gtk+2-devel >= 2:2.10.0 |
0aa1039d | 24 | BuildRequires: hal-devel >= 0.5 |
d5995223 | 25 | BuildRequires: intltool >= 0.35.0 |
0aa1039d | 26 | BuildRequires: libgnomeui-devel >= 2.10.0 |
27 | BuildRequires: libnotify-devel >= 0.3.0 | |
7d70b9b5 | 28 | BuildRequires: libtool |
d5995223 | 29 | BuildRequires: libxml2-devel >= 1:2.6.0 |
0aa1039d | 30 | BuildRequires: nautilus-cd-burner-devel >= 2.12.0 |
31 | BuildRequires: pkgconfig | |
32 | BuildRequires: totem-devel >= 1.2.0 | |
d5995223 | 33 | # libburn >= 0.3.4, libisofs >= 0.2.8 |
0156d6bf | 34 | Requires(post,preun): GConf2 |
0aa1039d | 35 | Requires(post,postun): desktop-file-utils |
b2818f74 | 36 | Requires(post,postun): hicolor-icon-theme |
0aa1039d | 37 | Requires: hal >= 0.5 |
a0ab5c9e | 38 | Suggests: dvd+rw-tools |
68ba2b78 | 39 | Obsoletes: bonfire |
0aa1039d | 40 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
41 | ||
42 | %description | |
f267e635 | 43 | Brasero is a CD/DVD mastering tool for the GNOME desktop. |
0aa1039d | 44 | It is designed to be simple and easy to use. |
45 | ||
41cf56dd JR |
46 | %description -l pl.UTF-8 |
47 | Brasero jest narzędziem do masteringu płyt CD/DVD dla biurka | |
48 | GNOME. Jest zaprojektowany by być prostym i łatwym w obsłudze. | |
0aa1039d | 49 | |
50 | %prep | |
51 | %setup -q | |
52 | %patch0 -p1 | |
0aa1039d | 53 | |
54 | %build | |
7d70b9b5 | 55 | %{__libtoolize} |
4ac23a31 | 56 | %{__intltoolize} |
7d70b9b5 JB |
57 | %{__aclocal} |
58 | %{__autoconf} | |
59 | %{__autoheader} | |
60 | %{__automake} | |
61 | %configure \ | |
f267e635 PZ |
62 | %{!?with_beagle:--disable-search} \ |
63 | --disable-caches | |
0aa1039d | 64 | %{__make} |
65 | ||
66 | %install | |
67 | rm -rf $RPM_BUILD_ROOT | |
68 | ||
69 | %{__make} install \ | |
70 | DESTDIR=$RPM_BUILD_ROOT | |
71 | ||
72 | %find_lang %{name} --all-name | |
73 | ||
74 | %clean | |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | ||
77 | %post | |
6b654b53 | 78 | %gconf_schema_install brasero.schemas |
0aa1039d | 79 | %update_desktop_database_post |
f267e635 PZ |
80 | %update_mime_database |
81 | %update_icon_cache hicolor | |
0aa1039d | 82 | |
0156d6bf | 83 | %preun |
6b654b53 | 84 | %gconf_schema_uninstall brasero.schemas |
0156d6bf MB |
85 | |
86 | %postun | |
0aa1039d | 87 | %update_desktop_database_postun |
f267e635 PZ |
88 | %update_mime_database |
89 | %update_icon_cache hicolor | |
0aa1039d | 90 | |
91 | %files -f %{name}.lang | |
92 | %defattr(644,root,root,755) | |
6b654b53 | 93 | %doc AUTHORS ChangeLog NEWS README |
0aa1039d | 94 | %attr(755,root,root) %{_bindir}/* |
95 | %{_datadir}/%{name} | |
f267e635 | 96 | %{_datadir}/mime/packages/%{name}.xml |
0aa1039d | 97 | %{_desktopdir}/*.desktop |
f267e635 | 98 | %{_iconsdir}/hicolor/*/*/*.png |
6b654b53 PZ |
99 | %{_iconsdir}/hicolor/*/*/*.svg |
100 | %{_mandir}/man1/* | |
0156d6bf | 101 | %{_sysconfdir}/gconf/schemas/brasero.schemas |