]> git.pld-linux.org Git - packages/libodraw.git/blame - libodraw.spec
- updated autotools versions
[packages/libodraw.git] / libodraw.spec
CommitLineData
8465e08e 1# see m4/${libname}.m4 />= for required version of particular library
2625a8cc
JB
2%define libbfio_ver 20201125
3%define libcdata_ver 20230108
8465e08e
JB
4%define libcerror_ver 20120425
5%define libcfile_ver 20160409
6%define libclocale_ver 20130406
7%define libcnotify_ver 20120425
8%define libcpath_ver 20180716
9%define libcsplit_ver 20120701
10%define libcthreads_ver 20160404
37dd0f87 11%define libhmac_ver 20200104
2625a8cc 12%define libuna_ver 20230702
449af785
JB
13Summary: Library to access optical disc (split) RAW formats
14Summary(pl.UTF-8): Biblioteka służąca do dostępu do surowych (podzielonych) formatów dysków optycznych
15Name: libodraw
2625a8cc 16Version: 20240306
8465e08e 17Release: 1
449af785
JB
18License: LGPL v3+
19Group: Libraries
8465e08e
JB
20#Source0Download: https://github.com/libyal/libodraw/releases
21Source0: https://github.com/libyal/libodraw/releases/download/%{version}/%{name}-alpha-%{version}.tar.gz
2625a8cc 22# Source0-md5: ac6b32c1e1722a609caf91be69173489
449af785 23URL: https://github.com/libyal/libodraw/
a6ba7cfc 24BuildRequires: autoconf >= 2.71
449af785
JB
25BuildRequires: automake >= 1.6
26BuildRequires: bison
27BuildRequires: flex
a6ba7cfc 28BuildRequires: gettext-tools >= 0.21
8465e08e
JB
29BuildRequires: libbfio-devel >= %{libbfio_ver}
30BuildRequires: libcdata-devel >= %{libcdata_ver}
31BuildRequires: libcerror-devel >= %{libcerror_ver}
32BuildRequires: libcfile-devel >= %{libcfile_ver}
33BuildRequires: libclocale-devel >= %{libclocale_ver}
34BuildRequires: libcnotify-devel >= %{libcnotify_ver}
35BuildRequires: libcpath-devel >= %{libcpath_ver}
36BuildRequires: libcsplit-devel >= %{libcsplit_ver}
37BuildRequires: libcthreads-devel >= %{libcthreads_ver}
38BuildRequires: libhmac-devel >= %{libhmac_ver}
39BuildRequires: libuna-devel >= %{libuna_ver}
a6ba7cfc 40BuildRequires: libtool >= 2:2
449af785
JB
41BuildRequires: openssl-devel >= 1.0
42BuildRequires: pkgconfig
8465e08e
JB
43Requires: libbfio >= %{libbfio_ver}
44Requires: libcdata >= %{libcdata_ver}
45Requires: libcerror >= %{libcerror_ver}
46Requires: libcfile >= %{libcfile_ver}
47Requires: libclocale >= %{libclocale_ver}
48Requires: libcnotify >= %{libcnotify_ver}
49Requires: libcpath >= %{libcpath_ver}
50Requires: libcsplit >= %{libcsplit_ver}
51Requires: libcthreads >= %{libcthreads_ver}
52Requires: libhmac >= %{libhmac_ver}
53Requires: libuna >= %{libuna_ver}
449af785
JB
54Requires: openssl >= 1.0
55BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
56
57%description
58libodraw is a library to access optical disc (split) RAW formats.
59
60%description -l pl.UTF-8
61libodraw to biblioteka służąca do dostępu do surowych (podzielonych)
62formatów dysków optycznych.
63
64%package devel
65Summary: Header files for libodraw library
66Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libodraw
67Group: Development/Libraries
68Requires: %{name} = %{version}-%{release}
8465e08e
JB
69Requires: libbfio-devel >= %{libbfio_ver}
70Requires: libcdata-devel >= %{libcdata_ver}
71Requires: libcerror-devel >= %{libcerror_ver}
72Requires: libcfile-devel >= %{libcfile_ver}
73Requires: libclocale-devel >= %{libclocale_ver}
74Requires: libcnotify-devel >= %{libcnotify_ver}
75Requires: libcpath-devel >= %{libcpath_ver}
76Requires: libcsplit-devel >= %{libcsplit_ver}
77Requires: libcthreads-devel >= %{libcthreads_ver}
78Requires: libuna-devel >= %{libuna_ver}
449af785
JB
79
80%description devel
81Header files for libodraw library.
82
83%description devel -l pl.UTF-8
84Pliki nagłówkowe biblioteki libodraw.
85
86%package static
87Summary: Static libodraw library
88Summary(pl.UTF-8): Statyczna biblioteka libodraw
89Group: Development/Libraries
90Requires: %{name}-devel = %{version}-%{release}
91
92%description static
93Static libodraw library.
94
95%description static -l pl.UTF-8
96Statyczna biblioteka libodraw.
97
98%prep
99%setup -q
449af785
JB
100
101%build
102%{__gettextize}
449af785
JB
103%{__libtoolize}
104%{__aclocal} -I m4
105%{__autoconf}
106%{__autoheader}
107%{__automake}
108%configure
109%{__make}
110
111%install
112rm -rf $RPM_BUILD_ROOT
113
114%{__make} install \
115 DESTDIR=$RPM_BUILD_ROOT
116
117# obsoleted by pkg-config
118%{__rm} $RPM_BUILD_ROOT%{_libdir}/libodraw.la
119
120%clean
121rm -rf $RPM_BUILD_ROOT
122
123%post -p /sbin/ldconfig
124%postun -p /sbin/ldconfig
125
126%files
127%defattr(644,root,root,755)
128%doc AUTHORS ChangeLog README
129%attr(755,root,root) %{_bindir}/odrawinfo
130%attr(755,root,root) %{_bindir}/odrawverify
131%attr(755,root,root) %{_libdir}/libodraw.so.*.*.*
132%attr(755,root,root) %ghost %{_libdir}/libodraw.so.1
133%{_mandir}/man1/odrawinfo.1*
134
135%files devel
136%defattr(644,root,root,755)
137%attr(755,root,root) %{_libdir}/libodraw.so
138%{_includedir}/libodraw
139%{_includedir}/libodraw.h
140%{_pkgconfigdir}/libodraw.pc
141%{_mandir}/man3/libodraw.3*
142
143%files static
144%defattr(644,root,root,755)
145%{_libdir}/libodraw.a
This page took 0.162348 seconds and 4 git commands to generate.