wimlib.spec.in: Another update
authorEric Biggers <ebiggers3@gmail.com>
Thu, 25 Oct 2012 21:35:45 +0000 (16:35 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Thu, 25 Oct 2012 21:35:45 +0000 (16:35 -0500)
README
configure.ac
rpm/wimlib.spec.in

diff --git a/README b/README
index 4d1e1014c73d7c5d58a53f851358f6d0c68b3745..5b7d5deb2de0bde00a9b6ea75818954dbdc58481 100644 (file)
--- a/README
+++ b/README
@@ -1,6 +1,6 @@
                                   WIMLIB                                    
 
-This is wimlib version 1.0.3 (September 2012).  wimlib can be used to read,
+This is wimlib version 1.0.4 (October 2012).  wimlib can be used to read,
 write, and mount files in the Windows Imaging Format (WIM files).  These
 files are normally created by using the `imagex.exe' utility on Windows,
 but this library provides a free implementation of imagex for UNIX-based
index 6ccb01551fbfee8d5fd7eea6ab96b358df6e4378..999608139a35f0e9ea6cc04bad6b89cc6536eb9a 100644 (file)
@@ -1,4 +1,4 @@
-AC_INIT([wimlib], [1.0.3], [ebiggers3@gmail.com])
+AC_INIT([wimlib], [1.0.4], [ebiggers3@gmail.com])
 AC_CONFIG_SRCDIR([src/wim.c])
 AC_CONFIG_MACRO_DIR([m4])
 AC_CONFIG_AUX_DIR([build-aux])
index 7abf1578cb5c44bc8dfb88adc5542d2ec237da82..a194e92746a781e7ed506b36283e50ab249981b9 100644 (file)
@@ -3,16 +3,16 @@ Name:      wimlib
 Version:   @VERSION@
 Release:   1
 License:   GPLv3+
-Group:     System Environment/Libraries
+Group:     System/Libraries
 URL:       http://wimlib.sourceforge.net
 Packager:  Eric Biggers <ebiggers3@gmail.com>
 Source:    http://downloads.sourceforge.net/wimlib/wimlib-%{version}.tar.gz
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 
-Requires: libxml2, fuse-libs, openssl
-Requires: fuse-ntfs-3g >= 2:2011.4.12
-BuildRequires: libxml2-devel fuse-devel openssl-devel
-BuildRequires: ntfsprogs-devel >= 2:2011.4.12, libattr-devel
+Requires: libxml2, fuse-libs, fuse, openssl
+Requires: ntfs-3g >= 2:2011.4.12
+BuildRequires: libxml2-devel, fuse-devel, openssl-devel, libattr-devel
+BuildRequires: ntfs-3g-devel >= 2:2011.4.12, ntfsprogs
 %description
 wimlib is a library that can be used to create, extract, and modify files in the
 Windows Imaging Format. These files are normally created by the 'imagex.exe'
@@ -28,41 +28,43 @@ Requires: %{name} = %{version}-%{release}
 Development files for wimlib
 
 %prep
-%setup -q
+%setup -q -n %{name}-${version}
 
 %build
-./configure --prefix=/usr                 \
-            --disable-rpath               \
-           --with-libcrypto              \
-           --with-ntfs-3g                \
-           --enable-xattr                \
-            --disable-verify-compression
-make
+%configure --prefix=/usr                 \
+           --disable-rpath               \
+          --with-libcrypto              \
+          --with-ntfs-3g                \
+          --enable-xattr                \
+           --disable-verify-compression
+%__make %{?_smp_mflags}
 
 %check
 make check
 
 %install
-rm -rf $RPM_BUILD_ROOT
-%makeinstall
+%__rm -rf ${buildroot}
+%__make DESTDIR=${buildroot} install
 
 %clean
-rm -rf $RPM_BUILD_ROOT
+%__rm -rf ${buildroot}
 
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
 %files
 %defattr(-, root, root)
-%doc README COPYING
+%doc AUTHORS COPYING README TODO
 %{_bindir}/imagex
 %{_bindir}/mkwinpeimg
-%{_libdir}/libwim.so*
+%{_libdir}/libwim.so
+%{_libdir}/libwim.so.0
+%{_libdir}/libwim.so.0.0.0
 %doc %{_mandir}/man1/*.1.gz
 
 %files devel
 %defattr(-, root, root)
-%{_libdir}/*.a
-%{_libdir}/*.la
-%{_includedir}/*.h
+%{_libdir}/libwim.a
+%{_libdir}/libwim.la
+%{_includedir}/wimlib.h
 %{_libdir}/pkgconfig/wimlib.pc