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