at-spi-sharp/data/at-spi-sharp.spec.in

65 строки
1.3 KiB
Plaintext

%define LIBDIR %{_prefix}/lib
%if 0%{?fedora}
Patch0: at-spi-sharp-libdir-fedora.patch
%define LIBDIR %{_libdir}
%endif
#
# spec file for package at-spi-sharp
#
Name: at-spi-sharp
Version: @VERSION@
Release: 1
License: MIT
Group: System/Libraries
URL: http://www.mono-project.com/Accessibility
Source0: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: mono-core >= 2.4
BuildRequires: mono-devel >= 2.4
BuildRequires: mono-uia-devel >= 2.0
BuildRequires: ndesk-dbus-glib-devel
Summary: C# bindings for at-spi
%description
C# mono bindings for at-spi
%package devel
Group: Development/Libraries/mono
Summary: Devel package for at-spi-sharp mono bindings
Requires: %{name} = %{version}
%description devel
Devel package that contains the pc file for at-spi-sharp
%prep
%setup -q
%if 0%{?fedora}
%patch0 -p1
%endif
%build
%configure --disable-tests
#make %{?_smp_mflags}
make
%install
make DESTDIR=%{buildroot} install
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%dir %{LIBDIR}/mono/gac/at-spi-sharp/
%{LIBDIR}/mono/accessibility/at-spi-sharp.dll
%{LIBDIR}/mono/gac/at-spi-sharp/*
%files devel
%defattr(-,root,root)
%{_libdir}/pkgconfig/at-spi-sharp.pc
%changelog