]> wimlib.net Git - wimlib/blob - rpm/wimlib.spec.in
4140c5ec1f5330e45a37e98cba4706bcce6300f9
[wimlib] / rpm / wimlib.spec.in
1 Summary:  Library to extract, create, and modify WIM files
2 Name: wimlib
3 Version: @VERSION@
4 Release: 1
5 License: LGPL
6 Group: System Environment/Libraries
7 Packager: Eric Biggers (ebiggers3@gmail.com)
8 URL:  http://wimlib.sourceforge.net
9 Source: http://downloads.sourceforge.net/wimlib/wimlib-%{version}.tar.gz
10 BuildRoot: %{_tmppath}/%{name}/wimlib-root
11 BuildRequires:  libxml2-devel fuse-devel openssl-devel
12 Requires:  libxml2 fuse-libs openssl
13 %description
14 wimlib is a library that can be used to create, extract, and modify files in the
15 Windows Imaging Format. These files are normally created by the 'imagex.exe'
16 program on Windows, but this library provides a free implementation of 'imagex'
17 for UNIX-based systems. wimlib supports mounting WIM files, just like
18 imagex.exe.
19
20 %package devel
21 Summary: Development files for wimlib
22 Group: Development/Libraries
23 Requires: %{name} = %{version}-%{release}
24 %description devel
25 Development files for wimlib
26
27 %prep
28 %setup -q
29
30 %build
31 ./configure --disable-verify-compression --enable-libcrypto  --prefix=/usr
32 make
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 %makeinstall
37
38 %post -p /sbin/ldconfig
39 %postun -p /sbin/ldconfig
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(-, root, root)
46 %{_bindir}/imagex
47 %{_bindir}/mkwinpeimg
48 %{_libdir}/libwim.so*
49 %doc %{_mandir}/man1/*.1.gz
50
51 %files devel
52 %defattr(-, root, root)
53 %{_libdir}/*.a
54 %{_libdir}/*.la
55 %{_includedir}/*.h
56 %{_libdir}/pkgconfig/wimlib.pc