]> git.pld-linux.org Git - packages/libburn.git/blob - libburn.spec
7dd4121b2a936fd311734ab3a5848219fccad046
[packages/libburn.git] / libburn.spec
1 #
2 # Conditional build:
3 %bcond_without  static_libs     # don't build static library
4 #
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
7 Name:           libburn
8 Version:        1.4.0
9 Release:        1
10 License:        GPL v2+
11 Group:          Libraries
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)
20
21 %description
22 Libburn is an open-source library for reading, mastering and writing
23 optical discs.
24
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.
28
29 %package devel
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}
34
35 %description devel
36 Header files for libburn library.
37
38 %description devel -l pl.UTF-8
39 Pliki nagłówkowe biblioteki libburn.
40
41 %package static
42 Summary:        Static libburn library
43 Summary(pl.UTF-8):      Statyczna biblioteka libburn
44 Group:          Development/Libraries
45 Requires:       %{name}-devel = %{version}-%{release}
46
47 %description static
48 Static libburn library.
49
50 %description static -l pl.UTF-8
51 Statyczna biblioteka libburn.
52
53 %prep
54 %setup -q
55
56 %build
57 %{__libtoolize}
58 %{__aclocal}
59 %{__autoconf}
60 %{__automake}
61 %configure \
62         %{!?with_static_libs:--disable-static}
63 %{__make}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67
68 %{__make} install \
69         DESTDIR=$RPM_BUILD_ROOT
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %post   -p /sbin/ldconfig
75 %postun -p /sbin/ldconfig
76
77 %files
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*
84
85 %files devel
86 %defattr(644,root,root,755)
87 %attr(755,root,root) %{_libdir}/libburn.so
88 %{_libdir}/libburn.la
89 %{_includedir}/libburn
90 %{_pkgconfigdir}/libburn-1.pc
91
92 %if %{with static_libs}
93 %files static
94 %defattr(644,root,root,755)
95 %{_libdir}/libburn.a
96 %endif
This page took 0.055702 seconds and 2 git commands to generate.