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