]> git.pld-linux.org Git - packages/dotnet-gecko-sharp2.git/commitdiff
- monodoc currently uses arch-dependent libdir auto/ac/dotnet-gecko-sharp2-0_11-4
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 3 Dec 2005 13:16:43 +0000 (13:16 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- simplified pkgconfig dir move
- release 4

Changed files:
    dotnet-gecko-sharp2.spec -> 1.5

dotnet-gecko-sharp2.spec

index ee998be2bb2d60dc0866d583920d2ba0410f89c0..fbc0c285def4f83bbb72f2a410a613c948886f01 100644 (file)
@@ -3,7 +3,7 @@ Summary:        Gecko# - A Gtk# Mozilla binding
 Summary(pl):   Gecko# - wi±zanie Gtk# dla Mozilli
 Name:          dotnet-gecko-sharp2
 Version:       0.11
-Release:       3
+Release:       4
 Epoch:         0
 License:       GPL
 Group:         Libraries
@@ -54,31 +54,24 @@ Pliki programistyczne Gecko#.
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT
+       DESTDIR=$RPM_BUILD_ROOT \
+       docdir=%{_libdir}/monodoc/sources \
+       pkgconfigdir=%{_pkgconfigdir}
 
 if ! pkg-config --exists mono; then
        sed -i -e 's/exec mono/exec mint/' $RPM_BUILD_ROOT%{_bindir}/webshot
 fi
 
-if test -f $RPM_BUILD_ROOT%{_pkgconfigdir} ; then
-  :
-else
-  install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
-  if [ "%{_pkgconfigdir}" != "/usr/lib/pkgconfig" ]; then
-       mv $RPM_BUILD_ROOT/usr/lib/pkgconfig/* $RPM_BUILD_ROOT%{_pkgconfigdir}
-  fi
-fi
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
-/usr/lib/mono/gac/gecko-sharp
+%{_prefix}/lib/mono/gac/gecko-sharp
 
 %files devel
 %defattr(644,root,root,755)
+%{_prefix}/lib/mono/gecko-sharp-2.0
 %{_pkgconfigdir}/*
-/usr/lib/monodoc/sources/*
-/usr/lib/mono/gecko-sharp-2.0
+%{_libdir}/monodoc/sources/*
This page took 0.122576 seconds and 4 git commands to generate.