]> git.pld-linux.org Git - packages/assimp.git/commitdiff
cleanups; drop bogus epoch
authorElan Ruusamäe <glen@delfi.ee>
Sat, 17 Oct 2015 23:00:35 +0000 (02:00 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sat, 17 Oct 2015 23:00:35 +0000 (02:00 +0300)
assimp.spec

index 9330eb84c999b1c544db01cae8c64d8bbae14787..c5be3e2c7baca13ed59a560f9221639eab11cb6a 100644 (file)
@@ -1,10 +1,10 @@
 Summary:       Open Asset Import Library
 Name:          assimp
 Version:       3.1.1
-Release:       0.1
+Release:       1
 License:       distributable
 Group:         Libraries
-Source0:       http://netix.dl.sourceforge.net/project/%{name}/%{name}-3.1/%{name}-%{version}_no_test_models.zip
+Source0:       http://downloads.sourceforge.net/assimp/%{name}-%{version}_no_test_models.zip
 # Source0-md5: ccd4788204509da58a3a53c7aeda7a8b
 URL:           http://sourceforge.net/projects/assimp/
 BuildRequires: cmake
@@ -17,15 +17,15 @@ BuildRequires:      zziplib-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Importer library to import assets from different common 3D file formats
-such as Collada, Blend, Obj, X, 3DS, LWO, MD5, MD2, MD3, MDL, MS3D
-and a lot of other formats. The data is stored in an own in-memory
-data-format, which can be easily processed.
+Importer library to import assets from different common 3D file
+formats such as Collada, Blend, Obj, X, 3DS, LWO, MD5, MD2, MD3, MDL,
+MS3D and a lot of other formats. The data is stored in an own
+in-memory data-format, which can be easily processed.
 
 %package devel
 Summary:       Header files for assimp
 Group:         Development/Libraries
-Requires:      %{name} = %{epoch}:%{version}-%{release}
+Requires:      %{name} = %{version}-%{release}
 
 %description devel
 The header files are only needed for development of programs using the
@@ -35,7 +35,7 @@ assimplibrary.
 %setup -q
 
 %build
-mkdir build
+install -d build
 cd build
 %cmake \
        CMAKE_HOME_DIR=/usr \
@@ -44,20 +44,19 @@ cd build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-cd build
-%{__make} install \
+%{__make} -C build install \
        DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post   -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
 
 %files
 %defattr(644,root,root,755)
 %doc CHANGES CREDITS LICENSE README Readme.md
-%attr(755,root,root) %{_libdir}/libassimp.so.3.1.*
+%attr(755,root,root) %{_libdir}/libassimp.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libassimp.so.3
 
 %files devel
@@ -67,4 +66,3 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/cmake/assimp-3.1
 %{_includedir}/assimp
 %{_pkgconfigdir}/assimp.pc
-
This page took 0.047098 seconds and 4 git commands to generate.