11 |
Group: Development/Tools |
Group: Development/Tools |
12 |
Source: http://ftp.novell.com/pub/mono/sources/%{name}/%{name}-%{version}.tar.bz2 |
Source: http://ftp.novell.com/pub/mono/sources/%{name}/%{name}-%{version}.tar.bz2 |
13 |
URL: http://www.monodevelop.com |
URL: http://www.monodevelop.com |
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXX) |
|
14 |
BuildArch: noarch |
BuildArch: noarch |
15 |
BuildRequires: mono-devel >= 2.6 |
BuildRequires: mono-devel >= 2.6 |
16 |
BuildRequires: mono-addins-devel |
BuildRequires: mono-addins-devel |
17 |
BuildRequires: monodevelop-devel >= 2.4 |
BuildRequires: monodevelop |
18 |
BuildRequires: gtk-sharp2-devel |
BuildRequires: gtk-sharp2-devel |
19 |
Requires: monodevelop >= 2.4 |
Requires: monodevelop >= 2.4 |
|
#ExclusiveArch: %ix86 |
|
|
#ExclusiveArch: x86_64 |
|
|
#ExclusiveArch: ia64 |
|
|
#ExclusiveArch: armv4l |
|
|
#ExclusiveArch: sparcv9 |
|
|
#ExclusiveArch: alpha |
|
|
#ExclusiveArch: s390 |
|
|
#ExclusiveArch: s390x |
|
20 |
|
|
21 |
%description |
%description |
22 |
Java Addin for MonoDevelop. |
Java Addin for MonoDevelop. |
34 |
|
|
35 |
%prep |
%prep |
36 |
%setup -q |
%setup -q |
|
#sed -i -e 's!@prefix@/lib/!%{_libdir}/!g' monodevelop-java.pc.in |
|
|
#sed -i -e 's!@prefix@/lib/!%{_libdir}/!g' Makefile.include |
|
|
#sed -i -e 's!$(prefix)/lib/!%{_libdir}/!g' JavaBinding.make |
|
|
#sed -i -e 's!$(prefix)/lib/!%{_libdir}/!g' po/Makefile |
|
37 |
|
|
38 |
%build |
%build |
39 |
./configure --prefix=%{_prefix} |
./configure --prefix=%{_prefix} |
41 |
|
|
42 |
%install |
%install |
43 |
rm -rf %{buildroot} |
rm -rf %{buildroot} |
44 |
make install DESTDIR=%{buildroot} |
%makeinstall_std |
45 |
mkdir -p %{buildroot}%{_datadir}/locale |
|
46 |
mv %{buildroot}%{_libdir}/monodevelop/AddIns/JavaBinding/locale/* %{buildroot}%{_datadir}/locale/ |
for langdir in %buildroot%_prefix/lib/monodevelop/AddIns/JavaBinding/locale/*; do |
47 |
%find_lang %{name} |
echo "%lang($(basename $langdir)) $(echo $langdir |sed s!%buildroot!!)" >> %name.lang |
48 |
|
done |
49 |
|
|
50 |
%clean |
%clean |
51 |
rm -rf %{buildroot} |
rm -rf %{buildroot} |
52 |
|
|
53 |
%files -f %{name}.lang |
%files -f %{name}.lang |
54 |
%defattr(-,root,root,-) |
%defattr(-,root,root,-) |
55 |
%{_libdir}/monodevelop/AddIns/JavaBinding |
%dir %_prefix/lib/monodevelop/AddIns/JavaBinding/ |
56 |
|
%_prefix/lib/monodevelop/AddIns/JavaBinding/JavaBinding.dll* |
57 |
|
%dir %_prefix/lib/monodevelop/AddIns/JavaBinding/locale/ |
58 |
|
|
59 |
%files devel |
%files devel |
60 |
%defattr(-,root,root,-) |
%defattr(-,root,root,-) |
61 |
%{_libdir}/pkgconfig/monodevelop-java.pc |
%_prefix/lib/pkgconfig/monodevelop-java.pc |
|
|
|