2010-07-22 09:41:22 +04:00
|
|
|
%define LIBDIR %{_prefix}/lib
|
|
|
|
%if 0%{?fedora}
|
|
|
|
Patch0: at-spi-sharp-libdir-fedora.patch
|
|
|
|
%define LIBDIR %{_libdir}
|
|
|
|
%endif
|
|
|
|
|
2009-12-12 00:29:34 +03:00
|
|
|
#
|
|
|
|
# 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
|
2010-02-25 23:44:16 +03:00
|
|
|
Requires: mono-core >= 2.4
|
|
|
|
BuildRequires: mono-devel >= 2.4
|
2010-07-22 09:41:22 +04:00
|
|
|
BuildRequires: mono-uia-devel >= 2.0
|
2009-12-12 00:29:34 +03:00
|
|
|
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
|
2010-07-22 09:41:22 +04:00
|
|
|
%if 0%{?fedora}
|
|
|
|
%patch0 -p1
|
|
|
|
%endif
|
2009-12-12 00:29:34 +03:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --disable-tests
|
2010-04-21 21:52:45 +04:00
|
|
|
#make %{?_smp_mflags}
|
2010-02-25 23:44:16 +03:00
|
|
|
make
|
2009-12-12 00:29:34 +03:00
|
|
|
|
|
|
|
%install
|
2010-07-22 09:41:22 +04:00
|
|
|
make DESTDIR=%{buildroot} install
|
2009-12-12 00:29:34 +03:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2010-07-22 09:41:22 +04:00
|
|
|
%dir %{LIBDIR}/mono/gac/at-spi-sharp/
|
|
|
|
%{LIBDIR}/mono/accessibility/at-spi-sharp.dll
|
|
|
|
%{LIBDIR}/mono/gac/at-spi-sharp/*
|
2009-12-12 00:29:34 +03:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/pkgconfig/at-spi-sharp.pc
|
|
|
|
|
|
|
|
|
2010-07-22 09:41:22 +04:00
|
|
|
%changelog
|