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