]> git.pld-linux.org Git - packages/avogadro.git/commitdiff
- more fixes
authorshadzik <shadzik@pld-linux.org>
Fri, 30 Jul 2010 21:53:21 +0000 (21:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    avogadro.spec -> 1.3

avogadro.spec

index ba8a0e873df5cb848db414d81d8558a1cf28caa7..ff0c06e9588821ca054e8ced7f4bd6db3a93afdd 100644 (file)
@@ -11,6 +11,7 @@ Source0:      http://downloads.sourceforge.net/avogadro/%{name}-%{version}.tar.bz2
 # fix build with sip 4.10
 URL:           http://avogadro.openmolecules.net/
 Patch0:                %{name}-sip.patch
+Patch1:                %{name}-linguist.patch
 BuildRequires: boost-devel >= 1.35
 BuildRequires: cmake >= 2.8.0
 BuildRequires: desktop-file-utils
@@ -50,7 +51,8 @@ libraries.
 
 %prep
 %setup -q
-%patch0 -p1 -b .sip410
+%patch0 -p1
+%patch1 -p0
 
 %build
 install -d build
@@ -63,17 +65,13 @@ cd build
        -DCMAKE_INSTALL_PREFIX=%{_prefix} \
        -DLIB_INSTALL_DIR=%{_libdir} \
        ..
-cd ..
-%{__make} -C %{_target_platform}
+
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__make} install DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
-
-# system menu entry
-desktop-file-install --vendor=""                 \
-  --dir=$RPM_BUILD_ROOT%{_desktopdir}  \
-  $RPM_BUILD_ROOT%{_desktopdir}/avogadro.desktop
+%{__make} -C build install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %post libs -p /sbin/ldconfig
 %postun libs -p /sbin/ldconfig
This page took 0.061969 seconds and 4 git commands to generate.