3 %bcond_without static_libs # don't build static library
5 Summary: Library for reading and writing optical discs
6 Summary(pl.UTF-8): Biblioteka służąca do odczytywania i zapisywania dysków optycznych
12 Source0: http://files.libburnia-project.org/releases/%{name}-%{version}.tar.gz
13 # Source0-md5: 82ff94bb04e78eac9b12c7546f005d6f
14 URL: http://libburnia-project.org/
15 BuildRequires: autoconf >= 2.50
16 BuildRequires: automake
17 BuildRequires: libtool
18 BuildRequires: pkgconfig
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 Libburn is an open-source library for reading, mastering and writing
25 %description -l pl.UTF-8
26 Libburn jest wolnodostępną biblioteką służącą do odczytywania,
27 zarządzania i zapisywania dysków optycznych.
30 Summary: Header files for libburn library
31 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libburn
32 Group: Development/Libraries
33 Requires: %{name} = %{version}-%{release}
36 Header files for libburn library.
38 %description devel -l pl.UTF-8
39 Pliki nagłówkowe biblioteki libburn.
42 Summary: Static libburn library
43 Summary(pl.UTF-8): Statyczna biblioteka libburn
44 Group: Development/Libraries
45 Requires: %{name}-devel = %{version}-%{release}
48 Static libburn library.
50 %description static -l pl.UTF-8
51 Statyczna biblioteka libburn.
62 %{!?with_static_libs:--disable-static}
66 rm -rf $RPM_BUILD_ROOT
69 DESTDIR=$RPM_BUILD_ROOT
72 rm -rf $RPM_BUILD_ROOT
74 %post -p /sbin/ldconfig
75 %postun -p /sbin/ldconfig
78 %defattr(644,root,root,755)
79 %doc AUTHORS CONTRIBUTORS COPYRIGHT ChangeLog README
80 %attr(755,root,root) %{_bindir}/cdrskin
81 %attr(755,root,root) %{_libdir}/libburn.so.*.*.*
82 %attr(755,root,root) %ghost %{_libdir}/libburn.so.4
83 %{_mandir}/man1/cdrskin.1*
86 %defattr(644,root,root,755)
87 %attr(755,root,root) %{_libdir}/libburn.so
89 %{_includedir}/libburn
90 %{_pkgconfigdir}/libburn-1.pc
92 %if %{with static_libs}
94 %defattr(644,root,root,755)