/[packages]/cauldron/monodevelop-java/current/SPECS/monodevelop-java.spec
ViewVC logotype

Diff of /cauldron/monodevelop-java/current/SPECS/monodevelop-java.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 118408 by anaselli, Mon Jul 4 15:11:00 2011 UTC revision 118409 by anaselli, Mon Jul 4 16:02:02 2011 UTC
# Line 11  License:        GPLv2+ Line 11  License:        GPLv2+
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.
# Line 43  The %{name}-devel package contains devel Line 34  The %{name}-devel package contains devel
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}
# Line 54  make Line 41  make
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
   

Legend:
Removed from v.118408  
changed lines
  Added in v.118409

  ViewVC Help
Powered by ViewVC 1.1.30