]> git.pld-linux.org Git - packages/brasero.git/blob - brasero.spec
a8fa8b5e9d97aadd9d45faafd14dc8efe925f771
[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.7.0
10 Release:        1
11 License:        GPL v2+
12 Group:          X11/Applications
13 Source0:        http://ftp.gnome.org/pub/GNOME/sources/brasero/0.7/%{name}-%{version}.tar.bz2
14 # Source0-md5:  b6ef754a108e2f2b64b815b283f51756
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.11.6
24 BuildRequires:  hal-devel >= 0.5
25 BuildRequires:  intltool >= 0.35.0
26 BuildRequires:  libburn-devel >= 0.4.0
27 BuildRequires:  libgnomeui-devel >= 2.10.0
28 BuildRequires:  libisofs-devel >= 0.2.8
29 BuildRequires:  libnotify-devel >= 0.3.0
30 BuildRequires:  libtool
31 BuildRequires:  libxml2-devel >= 1:2.6.0
32 BuildRequires:  nautilus-cd-burner-devel >= 2.16.0
33 BuildRequires:  pkgconfig
34 BuildRequires:  totem-devel >= 1.2.0
35 Requires(post,preun):   GConf2
36 Requires(post,postun):  desktop-file-utils
37 Requires(post,postun):  hicolor-icon-theme
38 Requires:       hal >= 0.5
39 Suggests:       dvd+rw-tools
40 Obsoletes:      bonfire
41 # sr@Latn vs. sr@latin
42 Conflicts:      glibc-misc < 6:2.7
43 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
44
45 %description
46 Brasero is a CD/DVD mastering tool for the GNOME desktop.
47 It is designed to be simple and easy to use.
48
49 %description -l pl.UTF-8
50 Brasero jest narzędziem do masteringu płyt CD/DVD dla biurka
51 GNOME. Jest zaprojektowany by być prostym i łatwym w obsłudze.
52
53 %prep
54 %setup -q
55 %patch0 -p1
56
57 %build
58 %{__libtoolize}
59 %{__intltoolize}
60 %{__aclocal}
61 %{__autoconf}
62 %{__autoheader}
63 %{__automake}
64 %configure \
65         %{!?with_beagle:--disable-search} \
66         --disable-caches
67 %{__make}
68
69 %install
70 rm -rf $RPM_BUILD_ROOT
71
72 %{__make} install \
73         DESTDIR=$RPM_BUILD_ROOT
74
75 [ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \
76         mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
77 %find_lang %{name} --all-name
78
79 %clean
80 rm -rf $RPM_BUILD_ROOT
81
82 %post
83 %gconf_schema_install brasero.schemas
84 %update_desktop_database_post
85 %update_mime_database
86 %update_icon_cache hicolor
87
88 %preun
89 %gconf_schema_uninstall brasero.schemas
90
91 %postun
92 %update_desktop_database_postun
93 %update_mime_database
94 %update_icon_cache hicolor
95
96 %files -f %{name}.lang
97 %defattr(644,root,root,755)
98 %doc AUTHORS ChangeLog NEWS README
99 %attr(755,root,root) %{_bindir}/*
100 %{_datadir}/%{name}
101 %{_datadir}/mime/packages/%{name}.xml
102 %dir %{_libdir}/brasero
103 %dir %{_libdir}/brasero/plugins
104 %attr(755,root,root) %{_libdir}/brasero/plugins/lib*.so
105 %{_desktopdir}/*.desktop
106 %{_iconsdir}/hicolor/*/*/*.png
107 %{_iconsdir}/hicolor/*/*/*.svg
108 %{_mandir}/man1/*
109 %{_sysconfdir}/gconf/schemas/brasero.schemas
This page took 0.032496 seconds and 2 git commands to generate.