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