From b01ce74f72926fcaffe660985a72e0e991ce73bc Mon Sep 17 00:00:00 2001 From: Pavel Zhukov Date: Mon, 7 Aug 2017 17:48:06 +0200 Subject: [PATCH] Use cmake macros --- sdcv.spec | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sdcv.spec b/sdcv.spec index a0e9b2e..8ee96b4 100644 --- a/sdcv.spec +++ b/sdcv.spec @@ -1,6 +1,6 @@ Name: sdcv Version: 0.5.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Console version of StarDict program Group: Applications/System License: GPLv2+ @@ -24,19 +24,16 @@ SDCV - простая, консольная утилита работы %setup -q %build -mkdir build -cd build -cmake -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} .. +%cmake make %{?_smp_mflags} make lang %{?_smp_mflags} %install -cd build make install DESTDIR=%{buildroot} %find_lang %{name} -%files -f build/%{name}.lang +%files -f %{name}.lang %defattr(-,root,root,-) %doc NEWS LICENSE AUTHORS README.org %{_bindir}/%{name} @@ -44,6 +41,9 @@ make install DESTDIR=%{buildroot} %{_mandir}/uk/man1/sdcv.1.gz %changelog +* Mon Aug 7 2017 Pavel Zhukov - 0.5.1-3 +- Proper use of cmake macros + * Mon Aug 7 2017 Pavel Zhukov - 0.5.1-1 - New release 0.5.1