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