]> git.pld-linux.org Git - packages/unpaper.git/commitdiff
- up to 7.0.0 master auto/th/unpaper-7.0.0-1
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 21 Oct 2023 20:29:09 +0000 (22:29 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 21 Oct 2023 20:29:09 +0000 (22:29 +0200)
unpaper.spec

index 8192002647d13af6682c7344a3e50c649aa2c33e..defc86a2badebd6b81cad76ada2486cc834994a8 100644 (file)
@@ -1,13 +1,16 @@
 Summary:       Post-processing for scanned and photocopied book pages
 Name:          unpaper
-Version:       6.1
-Release:       4
+Version:       7.0.0
+Release:       1
 License:       GPL v2
 Group:         Applications
-Source0:       https://github.com/Flameeyes/%{name}/archive/%{name}-%{version}.tar.gz
-# Source0-md5: ec5e54d6189773959d509b7c3f3d5c31
+Source0:       https://www.flameeyes.com/files/%{name}-%{version}.tar.xz
+# Source0-md5: 24be66b049a27b6f841cc7444ceff9cc
 URL:           https://www.flameeyes.eu/projects/unpaper
 BuildRequires: ffmpeg-devel
+BuildRequires: meson >= 0.50.0
+BuildRequires: ninja >= 1.6
+BuildRequires: rpmbuild(macros) >= 1.736
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -25,27 +28,23 @@ and rotation of pages and will automatically straighten each page by
 rotating it to the correct angle. This process is called "deskewing".
 
 %prep
-%setup -q -n %{name}-%{name}-%{version}
+%setup -q
 
 %build
-%{__libtoolize}
-%{__aclocal}
-%{__autoconf}
-%{__automake}
-%configure
+%meson build
 
-%{__make}
+%meson_build -C build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
-%{__mv} $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name} $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}-%{version}
+
+%meson_install -C build
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%{_defaultdocdir}/%{name}-%{version}
+%doc README.md doc/*.md doc/img
 %attr(755,root,root) %{_bindir}/%{name}
 %{_mandir}/man1/unpaper.1*
This page took 1.253999 seconds and 4 git commands to generate.