]> git.pld-linux.org Git - packages/ncmpc.git/blobdiff - ncmpc.spec
up to 0.29
[packages/ncmpc.git] / ncmpc.spec
index 7c71c4b27ed46894aec8f9966b17d871f2ab5f85..e98caf7e96732ecad3dbef823702d92262ba12f2 100644 (file)
@@ -1,21 +1,21 @@
 Summary:       Curses client for Music Player Daemon
 Summary(pl.UTF-8):     Klient curses dla demona MPD
 Name:          ncmpc
-Version:       0.26
+Version:       0.29
 Release:       1
 License:       GPL v2+
 Group:         Applications/Sound
 Source0:       http://www.musicpd.org/download/ncmpc/0/%{name}-%{version}.tar.xz
-# Source0-md5: c9cdceb8df1ca7334d9fa14f779c33b3
-Source1:       ax_require_defined.m4
+# Source0-md5: 8ed054e0c6841c94aa886da5c41a0f65
 URL:           http://mpd.wikia.com/wiki/Client:Ncmpc
-BuildRequires: autoconf >= 2.60
-BuildRequires: automake >= 1:1.11
 BuildRequires: gettext-tools
 BuildRequires: glib2-devel >= 1:2.30
 BuildRequires: libmpdclient-devel >= 2.9
+BuildRequires: meson
 BuildRequires: ncurses-devel
+BuildRequires: ninja
 BuildRequires: pkgconfig
+BuildRequires: rpmbuild(macros) >= 1.727
 Requires:      glib2 >= 1:2.30
 Requires:      libmpdclient >= 2.9
 Suggests:      mpd
@@ -37,37 +37,30 @@ playlistami i sterowania MPD za pomocą pilota.
 
 %prep
 %setup -q
-%{__cp} %{SOURCE1} m4
 
 %build
-%{__glib_gettextize}
-%{__aclocal} -I m4
-%{__autoconf}
-%{__autoheader}
-%{__automake}
+%meson build \
+       -Dartist_screen=true \
+       -Dchat_screen=true \
+       -Dcolors=auto \
+       -Dhelp_screen=true \
+       -Dkey_screen=true \
+       -Dlocale=true \
+       -Dlyrics_screen=true \
+       -Dmouse=true \
+       -Doutputs_screen=true \
+       -Dsearch_screen=true \
+       -Dsong_screen=true \
+       -Dlirc=false
 
-%configure \
-       --enable-artist-screen \
-       --enable-chat-screen \
-       --enable-colors \
-       --enable-help-screen \
-       --enable-key-screen \
-       --enable-locale \
-       --enable-lyrics-screen \
-       --enable-mouse \
-       --enable-outputs-screen \
-       --enable-search-screen \
-       --enable-song-screen \
-       --with-lyrics-plugin-dir=%{_libdir}/ncmpc/lyrics
-%{__make}
+%meson_build -C build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT
+%meson_install -C build
 
-rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
+rm -r $RPM_BUILD_ROOT%{_docdir}/%{name}
 
 %find_lang ncmpc
 
@@ -76,7 +69,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f ncmpc.lang
 %defattr(644,root,root,755)
-%doc AUTHORS NEWS README doc/*.sample doc/ncmpc.lirc
+%doc AUTHORS NEWS README.rst doc/*.sample doc/ncmpc.lirc
 %attr(755,root,root) %{_bindir}/*
 %dir %{_libdir}/ncmpc
 %dir %{_libdir}/ncmpc/lyrics
This page took 0.09273 seconds and 4 git commands to generate.