]> git.pld-linux.org Git - packages/fomp.git/blobdiff - fomp.spec
- updated to 1.2.4, now uses meson
[packages/fomp.git] / fomp.spec
index 84f976a1918b363fc235e179a0329bb277a63dd4..4708c5e9c46490e7fe64a516f87b3e111d5123b4 100644 (file)
--- a/fomp.spec
+++ b/fomp.spec
@@ -1,18 +1,22 @@
 Summary:       LV2 port of the MCP, VCO, FIL, and WAH plugins
 Summary(pl.UTF-8):     Port LV2 wtyczek MCP, VCO, FIL i WAH
 Name:          fomp
-Version:       1.0.0
+Version:       1.2.4
 Release:       1
 License:       GPL v2+
 Group:         Libraries
-Source0:       http://download.drobilla.net/%{name}-%{version}.tar.bz2
-# Source0-md5: 0bb3d8331326d2c3485a9c538436cb56
+Source0:       http://download.drobilla.net/%{name}-%{version}.tar.xz
+# Source0-md5: 15d51621e0811bab8cdad0f811e8fcf3
 URL:           http://drobilla.net/software/fomp/
-BuildRequires: libstdc++-devel
-BuildRequires: lv2-devel >= 1.0.0
+BuildRequires: libstdc++-devel >= 6:4.7
+BuildRequires: meson >= 0.56.0
+BuildRequires: ninja >= 1.5
+BuildRequires: lv2-devel >= 1.16.0
 BuildRequires: pkgconfig
-BuildRequires: python
-Requires:      lv2 >= 1.0.0
+BuildRequires: rpmbuild(macros) >= 1.736
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+Requires:      lv2 >= 1.16.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -33,26 +37,21 @@ generatory.
 %setup -q
 
 %build
-CC="%{__cc}" \
-CFLAGS="%{rpmcflags}" \
-./waf configure \
-       --prefix=%{_prefix} \
-       --libdir=%{_libdir}
+%meson build
 
-./waf -v
+%ninja_build -C build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-./waf install \
-       --destdir=$RPM_BUILD_ROOT
+%ninja_install -C build
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS NEWS README
+%doc AUTHORS NEWS README.md
 %dir %{_libdir}/lv2/fomp.lv2
 %attr(755,root,root) %{_libdir}/lv2/fomp.lv2/*.so
 %{_libdir}/lv2/fomp.lv2/*.ttl
This page took 0.115721 seconds and 4 git commands to generate.