[packages/assimp] cleanups; drop bogus epoch

glen glen at pld-linux.org
Sun Oct 18 01:00:47 CEST 2015


commit 23289b0a0c10d4728708dc481014020c489265b3
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Oct 18 02:00:35 2015 +0300

    cleanups; drop bogus epoch

 assimp.spec | 26 ++++++++++++--------------
 1 file changed, 12 insertions(+), 14 deletions(-)
---
diff --git a/assimp.spec b/assimp.spec
index 9330eb8..c5be3e2 100644
--- a/assimp.spec
+++ b/assimp.spec
@@ -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
-
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/assimp.git/commitdiff/23289b0a0c10d4728708dc481014020c489265b3



More information about the pld-cvs-commit mailing list