cp %{SOURCE1001} .
%build
-meson build
-(cd build && ninja)
+meson --prefix /usr/ build
+ninja -C build all
%install
rm -rf %{buildroot}
-(cd build && DESTDIR=%{buildroot} ninja install)
+
+export DESTDIR=%{buildroot}
+ninja -C build install
find %{buildroot} -name '*.la' -or -name '*.a' | xargs rm -f
find %{buildroot} -name '*.desktop' | xargs rm -f
%files -n libatk-bridge-2_0-0
%manifest %{name}.manifest
%defattr(-,root,root)
-/usr/local/lib/libatk-bridge-2.0.so.*
-/usr/local/lib/gtk-2.0/modules/libatk-bridge.so
+%{_libdir}/libatk-bridge-2.0.so.*
+%{_libdir}/gtk-2.0/modules/libatk-bridge.so
%files devel
%manifest %{name}.manifest
%defattr(-,root,root)
-/usr/local/include/at-spi2-atk/2.0/atk-bridge.h
-/usr/local/lib/libatk-bridge-2.0.so
-/usr/local/lib/pkgconfig/atk-bridge-2.0.pc
+%{_includedir}/at-spi2-atk/2.0/atk-bridge.h
+%{_libdir}/libatk-bridge-2.0.so
+%{_libdir}/pkgconfig/atk-bridge-2.0.pc
%changelog
* Mon Mar 25 2013 tomasz.duszynski@comarch.com