]> git.pld-linux.org Git - packages/brasero.git/blob - brasero.spec
1f13cf1ade2a4f30cdca2a4afee85ee7b474aab0
[packages/brasero.git] / brasero.spec
1 # TODO: check build/functionality with new libburn+libisofs
2 #
3 # Conditinal build:
4 %bcond_without  beagle          # disable beagle search
5 #
6 Summary:        Disc burning application for GNOME
7 Summary(pl.UTF-8):      Program do wypalania płyt dla GNOME
8 Name:           brasero
9 Version:        0.6.1
10 Release:        2
11 License:        GPL v2+
12 Group:          X11/Applications
13 Source0:        http://ftp.gnome.org/pub/GNOME/sources/brasero/0.6/%{name}-%{version}.tar.bz2
14 # Source0-md5:  fa3b59f06b93bd831805a73a81f3293f
15 Patch0:         %{name}-desktop.patch
16 URL:            http://www.gnome.org/projects/brasero/
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 %{?with_beagle:BuildRequires:   beagle-devel >= 0.1.1}
20 BuildRequires:  gnome-vfs2-devel >= 2.14.2
21 BuildRequires:  gstreamer-devel >= 0.10.6
22 BuildRequires:  gstreamer-plugins-base-devel >= 0.10.0
23 BuildRequires:  gtk+2-devel >= 2:2.10.0
24 BuildRequires:  hal-devel >= 0.5
25 BuildRequires:  intltool >= 0.35.0
26 BuildRequires:  libgnomeui-devel >= 2.10.0
27 BuildRequires:  libnotify-devel >= 0.3.0
28 BuildRequires:  libtool
29 BuildRequires:  libxml2-devel >= 1:2.6.0
30 BuildRequires:  nautilus-cd-burner-devel >= 2.12.0
31 BuildRequires:  pkgconfig
32 BuildRequires:  totem-devel >= 1.2.0
33 # libburn >= 0.3.4, libisofs >= 0.2.8
34 Requires(post,preun):   GConf2
35 Requires(post,postun):  desktop-file-utils
36 Requires(post,postun):  hicolor-icon-theme
37 Requires:       hal >= 0.5
38 Suggests:       dvd+rw-tools
39 Obsoletes:      bonfire
40 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41
42 %description
43 Brasero is a CD/DVD mastering tool for the GNOME desktop.
44 It is designed to be simple and easy to use.
45
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.
49
50 %prep
51 %setup -q
52 %patch0 -p1
53
54 %build
55 %{__libtoolize}
56 %{__intltoolize}
57 %{__aclocal}
58 %{__autoconf}
59 %{__autoheader}
60 %{__automake}
61 %configure \
62         %{!?with_beagle:--disable-search} \
63         --disable-caches
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
78 %gconf_schema_install brasero.schemas
79 %update_desktop_database_post
80 %update_mime_database
81 %update_icon_cache hicolor
82
83 %preun
84 %gconf_schema_uninstall brasero.schemas
85
86 %postun
87 %update_desktop_database_postun
88 %update_mime_database
89 %update_icon_cache hicolor
90
91 %files -f %{name}.lang
92 %defattr(644,root,root,755)
93 %doc AUTHORS ChangeLog NEWS README
94 %attr(755,root,root) %{_bindir}/*
95 %{_datadir}/%{name}
96 %{_datadir}/mime/packages/%{name}.xml
97 %{_desktopdir}/*.desktop
98 %{_iconsdir}/hicolor/*/*/*.png
99 %{_iconsdir}/hicolor/*/*/*.svg
100 %{_mandir}/man1/*
101 %{_sysconfdir}/gconf/schemas/brasero.schemas
This page took 0.060664 seconds and 3 git commands to generate.