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