]> git.pld-linux.org Git - packages/libbfio.git/blob - libbfio.spec
5e933d1ff9c66956d9b93a027494eb3895386056
[packages/libbfio.git] / libbfio.spec
1 Summary:        Library to support (abstracted) basic file I/O
2 Summary(pl.UTF-8):      Biblioteka obsługująca (abstrakcyjne) podstawowe operacje we/wy dla plików
3 Name:           libbfio
4 Version:        20150102
5 Release:        1
6 License:        LGPL v3+
7 Group:          Libraries
8 Source0:        https://github.com/libyal/libbfio/archive/%{version}/%{name}-%{version}.tar.gz
9 # Source0-md5:  2fc61eb9851303721eceae26bacde5c1
10 Patch0:         %{name}-system-libs.patch
11 URL:            https://github.com/libyal/libbfio/
12 BuildRequires:  autoconf >= 2.59
13 BuildRequires:  automake >= 1.6
14 BuildRequires:  gettext-tools >= 0.18.1
15 BuildRequires:  libcdata-devel >= 20150102
16 BuildRequires:  libcerror-devel >= 20120425
17 BuildRequires:  libcfile-devel >= 20140503
18 BuildRequires:  libclocale-devel >= 20120425
19 BuildRequires:  libcnotify-devel >= 20120425
20 BuildRequires:  libcpath-devel >= 20120701
21 BuildRequires:  libcsplit-devel >= 20120701
22 BuildRequires:  libcstring-devel >= 20120425
23 BuildRequires:  libcthreads-devel >= 20130509
24 BuildRequires:  libuna-devel >= 20120425
25 BuildRequires:  libtool
26 BuildRequires:  pkgconfig
27 BuildRequires:  sed >= 4.0
28 Requires:       libcdata >= 20150102
29 Requires:       libcerror >= 20120425
30 Requires:       libcfile >= 20140503
31 Requires:       libclocale >= 20120425
32 Requires:       libcnotify >= 20120425
33 Requires:       libcpath >= 20120701
34 Requires:       libcsplit >= 20120701
35 Requires:       libcstring >= 20120425
36 Requires:       libcthreads >= 20130509
37 Requires:       libuna >= 20120425
38 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39
40 %description
41 libbfio is a library to support (abstracted) basic file I/O.
42
43 %description -l pl.UTF-8
44 libbfio to biblioteka obsługująca (abstrakcyjne) podstawowe operacje
45 we/wy dla plików.
46
47 %package devel
48 Summary:        Header files for libbfio library
49 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libbfio
50 Group:          Development/Libraries
51 Requires:       %{name} = %{version}-%{release}
52 Requires:       libcdata-devel >= 20150102
53 Requires:       libcerror-devel >= 20120425
54 Requires:       libcfile-devel >= 20140503
55 Requires:       libclocale-devel >= 20120425
56 Requires:       libcnotify-devel >= 20120425
57 Requires:       libcpath-devel >= 20120701
58 Requires:       libcsplit-devel >= 20120701
59 Requires:       libcstring-devel >= 20120425
60 Requires:       libcthreads-devel >= 20130509
61 Requires:       libuna-devel >= 20120425
62
63 %description devel
64 Header files for libbfio library.
65
66 %description devel -l pl.UTF-8
67 Pliki nagłówkowe biblioteki libbfio.
68
69 %package static
70 Summary:        Static libbfio library
71 Summary(pl.UTF-8):      Statyczna biblioteka libbfio
72 Group:          Development/Libraries
73 Requires:       %{name}-devel = %{version}-%{release}
74
75 %description static
76 Static libbfio library.
77
78 %description static -l pl.UTF-8
79 Statyczna biblioteka libbfio.
80
81 %prep
82 %setup -q
83 %patch0 -p1
84
85 %build
86 %{__gettextize}
87 %{__sed} -i -e 's/ po\/Makefile.in//' configure.ac
88 %{__libtoolize}
89 %{__aclocal}
90 %{__autoconf}
91 %{__autoheader}
92 %{__automake}
93 %configure
94 %{__make}
95
96 %install
97 rm -rf $RPM_BUILD_ROOT
98
99 %{__make} install \
100         DESTDIR=$RPM_BUILD_ROOT
101
102 %clean
103 rm -rf $RPM_BUILD_ROOT
104
105 %post   -p /sbin/ldconfig
106 %postun -p /sbin/ldconfig
107
108 %files
109 %defattr(644,root,root,755)
110 %doc AUTHORS COPYING ChangeLog README
111 %attr(755,root,root) %{_libdir}/libbfio.so.*.*.*
112 %attr(755,root,root) %ghost %{_libdir}/libbfio.so.1
113
114 %files devel
115 %defattr(644,root,root,755)
116 %attr(755,root,root) %{_libdir}/libbfio.so
117 %{_libdir}/libbfio.la
118 %{_includedir}/libbfio
119 %{_includedir}/libbfio.h
120 %{_pkgconfigdir}/libbfio.pc
121 %{_mandir}/man3/libbfio.3*
122
123 %files static
124 %defattr(644,root,root,755)
125 %{_libdir}/libbfio.a
This page took 0.069377 seconds and 2 git commands to generate.