]> git.pld-linux.org Git - packages/ncmpc.git/blobdiff - ncmpc.spec
up to 0.29
[packages/ncmpc.git] / ncmpc.spec
index b65a965d61ff7326b913506ed9f6c76303f4e4aa..e98caf7e96732ecad3dbef823702d92262ba12f2 100644 (file)
@@ -1,19 +1,23 @@
 Summary:       Curses client for Music Player Daemon
 Summary(pl.UTF-8):     Klient curses dla demona MPD
 Name:          ncmpc
-Version:       0.16
+Version:       0.29
 Release:       1
 License:       GPL v2+
 Group:         Applications/Sound
-Source0:       http://dl.sourceforge.net/musicpd/%{name}-%{version}.tar.bz2
-# Source0-md5: 63b6bf666b6326c87abdea5f900a4fc3
+Source0:       http://www.musicpd.org/download/ncmpc/0/%{name}-%{version}.tar.xz
+# Source0-md5: 8ed054e0c6841c94aa886da5c41a0f65
 URL:           http://mpd.wikia.com/wiki/Client:Ncmpc
-BuildRequires: autoconf
-BuildRequires: automake
-BuildRequires: glib2-devel
-BuildRequires: libtool
-BuildRequires: ncurses-ext-devel
-BuildRequires: libmpdclient-devel
+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
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -35,23 +39,28 @@ playlistami i sterowania MPD za pomocą pilota.
 %setup -q
 
 %build
-%{__libtoolize}
-%{__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 \
-       CPPFLAGS="-I/usr/include/ncurses"
-%{__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
 
@@ -60,6 +69,9 @@ 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
+%attr(755,root,root) %{_libdir}/ncmpc/lyrics/*
 %{_mandir}/man1/ncmpc.*
This page took 0.125136 seconds and 4 git commands to generate.