diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..64f3d70 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +/*.rpm +/results_*/ +/ntfs-3g-system-compression-1.0.tar.gz diff --git a/README.md b/README.md index 2ab5960..47c3cb1 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,14 @@ # ntfs-3g-system-compression -The ntfs-3g-system-compression package \ No newline at end of file +System compression, also known as "Compact OS", is a Windows feature that +allows rarely modified files to be compressed using the XPRESS or LZX +compression formats. It is not built directly into NTFS but rather is +implemented using reparse points. This feature appeared in Windows 10 and it +appears that many Windows 10 systems have been using it by default. + +This RPM contains a plugin which enables the NTFS-3G FUSE driver to +transparently read from system-compressed files. Currently, only reading is +supported. Compressing an existing file may be done by using the "compact" +utility on Windows. + +Upstream: https://github.com/ebiggers/ntfs-3g-system-compression diff --git a/ntfs-3g-system-compression.spec b/ntfs-3g-system-compression.spec new file mode 100644 index 0000000..92c11b7 --- /dev/null +++ b/ntfs-3g-system-compression.spec @@ -0,0 +1,48 @@ +Name: ntfs-3g-system-compression +Summary: NTFS-3G plugin for reading "system compressed" files +Version: 1.0 +Release: 1%{?dist} +License: GPLv2+ +URL: https://github.com/ebiggers/ntfs-3g-system-compression +Source0: https://github.com/ebiggers/ntfs-3g-system-compression/archive/v%{version}/ntfs-3g-system-compression-%{version}.tar.gz + +BuildRequires: gcc +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: libtool +BuildRequires: pkgconfig(libntfs-3g) >= 2017.3.23 +BuildRequires: fuse-devel + +%description +System compression, also known as "Compact OS", is a Windows feature that +allows rarely modified files to be compressed using the XPRESS or LZX +compression formats. It is not built directly into NTFS but rather is +implemented using reparse points. This feature appeared in Windows 10 and it +appears that many Windows 10 systems have been using it by default. + +This RPM contains a plugin which enables the NTFS-3G FUSE driver to +transparently read from system-compressed files. Currently, only reading is +supported. Compressing an existing file may be done by using the "compact" +utility on Windows. + +%prep +%autosetup + +%build +autoreconf -i +%configure +%make_build + +%install +%make_install +rm -rf %{buildroot}%{_libdir}/ntfs-3g/*.la + +%files +%doc README.md +%license COPYING +%dir %{_libdir}/ntfs-3g/ +%{_libdir}/ntfs-3g/ntfs-plugin-80000017.so + +%changelog +* Tue Feb 26 2019 Kamil Páral - 1.0-1 +- initial package diff --git a/sources b/sources new file mode 100644 index 0000000..742e95b --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (ntfs-3g-system-compression-1.0.tar.gz) = 6ac463469db896b9ce4f72af27ae1014de2abd7a968fb19229129b5e6410239607b73e416d43e199b9c721b7bcdb8cf2fa9e4871dfc89af2ab4edcf66d17e07c