]> git.pld-linux.org Git - packages/libburn.git/blame - libburn.spec
- updated to 1.5.2
[packages/libburn.git] / libburn.spec
CommitLineData
fdbf28d1 1#
fe70fcfe 2# Conditional build:
f4c858e9 3%bcond_without static_libs # don't build static library
fe70fcfe 4#
65a58c01 5Summary: Library for reading and writing optical discs
78c80073 6Summary(pl.UTF-8): Biblioteka służąca do odczytywania i zapisywania dysków optycznych
65a58c01 7Name: libburn
4e03ed7b 8Version: 1.5.2
d6a9631d 9Release: 1
55f21068 10License: GPL v2+
65a58c01 11Group: Libraries
e3a0f9de 12Source0: http://files.libburnia-project.org/releases/%{name}-%{version}.tar.gz
4e03ed7b 13# Source0-md5: 096f4acfba00f1210a84fb7650f7693d
0b87b5a4 14URL: http://libburnia-project.org/
e3a0f9de 15BuildRequires: autoconf >= 2.50
faa2d0d9 16BuildRequires: automake
17BuildRequires: libtool
20304ffc 18BuildRequires: pkgconfig
65a58c01 19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22Libburn is an open-source library for reading, mastering and writing
23optical discs.
24
325e239f
JR
25%description -l pl.UTF-8
26Libburn jest wolnodostępną biblioteką służącą do odczytywania,
27zarządzania i zapisywania dysków optycznych.
65a58c01 28
29%package devel
30Summary: Header files for libburn library
78c80073 31Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libburn
65a58c01 32Group: Development/Libraries
c4616897 33Requires: %{name} = %{version}-%{release}
65a58c01 34
35%description devel
36Header files for libburn library.
37
325e239f
JR
38%description devel -l pl.UTF-8
39Pliki nagłówkowe biblioteki libburn.
65a58c01 40
41%package static
42Summary: Static libburn library
78c80073 43Summary(pl.UTF-8): Statyczna biblioteka libburn
65a58c01 44Group: Development/Libraries
c4616897 45Requires: %{name}-devel = %{version}-%{release}
65a58c01 46
47%description static
48Static libburn library.
49
325e239f 50%description static -l pl.UTF-8
65a58c01 51Statyczna biblioteka libburn.
52
53%prep
66b43758 54%setup -q
65a58c01 55
56%build
faa2d0d9 57%{__libtoolize}
58%{__aclocal}
59%{__autoconf}
60%{__automake}
61%configure \
f4c858e9 62 %{!?with_static_libs:--disable-static}
65a58c01 63%{__make}
64
65%install
66rm -rf $RPM_BUILD_ROOT
67
68%{__make} install \
69 DESTDIR=$RPM_BUILD_ROOT
70
71%clean
72rm -rf $RPM_BUILD_ROOT
73
74%post -p /sbin/ldconfig
75%postun -p /sbin/ldconfig
76
77%files
78%defattr(644,root,root,755)
ef3a5ccb 79%doc AUTHORS CONTRIBUTORS COPYRIGHT ChangeLog README
e3a0f9de
JB
80%attr(755,root,root) %{_bindir}/cdrskin
81%attr(755,root,root) %{_libdir}/libburn.so.*.*.*
59d35b6e 82%attr(755,root,root) %ghost %{_libdir}/libburn.so.4
e3a0f9de 83%{_mandir}/man1/cdrskin.1*
65a58c01 84
85%files devel
86%defattr(644,root,root,755)
e3a0f9de
JB
87%attr(755,root,root) %{_libdir}/libburn.so
88%{_libdir}/libburn.la
89%{_includedir}/libburn
59d35b6e 90%{_pkgconfigdir}/libburn-1.pc
65a58c01 91
f4c858e9 92%if %{with static_libs}
65a58c01 93%files static
94%defattr(644,root,root,755)
e3a0f9de 95%{_libdir}/libburn.a
faa2d0d9 96%endif
This page took 0.172447 seconds and 4 git commands to generate.