packages: lensfun/lensfun.spec - pl typo - unified License tag format - pac...

qboosh qboosh at pld-linux.org
Sat Mar 26 13:04:18 CET 2011


Author: qboosh                       Date: Sat Mar 26 12:04:18 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- pl typo
- unified License tag format
- package ghost soname symlink

---- Files affected:
packages/lensfun:
   lensfun.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: packages/lensfun/lensfun.spec
diff -u packages/lensfun/lensfun.spec:1.6 packages/lensfun/lensfun.spec:1.7
--- packages/lensfun/lensfun.spec:1.6	Sun Sep  5 11:18:35 2010
+++ packages/lensfun/lensfun.spec	Sat Mar 26 13:04:13 2011
@@ -1,11 +1,10 @@
 # $Revision$, $Date$
-#
 Summary:	Camera lens database with image correction support
 Summary(pl.UTF-8):	Baza danych obiektywów z funkcją korekcji zdjęć
 Name:		lensfun
 Version:	0.2.5
 Release:	2
-License:	LGPLv3 and CC-BY-SA
+License:	LGPL v3 (library), CC-BY-SA v3.0 (lens database)
 Group:		Libraries
 Source0:	http://download.berlios.de/lensfun/%{name}-%{version}.tar.bz2
 # Source0-md5:	a10438dffae68a5988fc54b0393a3755
@@ -29,12 +28,13 @@
 
 %description -l pl.UTF-8
 Projekt dostarcza bazę danych obiektywów oraz bibliotekę pozwalającą
-na dstęp do bazy i dodatkowo oferującą korekcję zdjęć w oparciu o
+na dostęp do bazy i dodatkowo oferującą korekcję zdjęć w oparciu o
 szczegółową charakterystykę obiektywu.
 
 %package devel
 Summary:	lensfun library header files
 Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki lensfun
+License:	LGPL v3
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
 
@@ -66,7 +66,7 @@
 CXX="%{__cxx}" \
 LD="%{__cxx}" \
 ./configure \
- 	--prefix=%{_prefix} \
+	--prefix=%{_prefix} \
 	--bindir=%{_bindir} \
 	--sysconfdir=%{_sysconfdir} \
 	--datadir=%{_datadir}/%{name} \
@@ -75,7 +75,7 @@
 	--libexecdir=%{_libexecdir} \
 	--cflags="%{rpmcflags}" \
 	--cxxflags="%{rpmcxxflags}" \
- 	--ldflags="%{rpmldflags}" \
+	--ldflags="%{rpmldflags}" \
 	--compiler="gcc"
 
 # 'all' is not the default target
@@ -87,7 +87,9 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 %{__gzip} -9 $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/{README,cc-by-sa-3.0.txt}
-rm $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/{gpl-3.0.txt,lgpl-3.0.txt}
+%{__rm} $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/{gpl-3.0.txt,lgpl-3.0.txt}
+
+/sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -97,16 +99,17 @@
 
 %files
 %defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/liblensfun.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/liblensfun.so.0
+%{_datadir}/lensfun
 %{_docdir}/%{name}-%{version}/README.gz
 %{_docdir}/%{name}-%{version}/cc-by-sa-3.0.txt.gz
 %dir %{_docdir}/%{name}-%{version}
-%attr(755,root,root) %{_libdir}/liblensfun.so.*.*.*
-%{_datadir}/lensfun
 
 %files devel
 %defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/liblensfun.so
 %{_includedir}/lensfun.h
-%{_libdir}/liblensfun.so
 %{_pkgconfigdir}/lensfun.pc
 
 %files apidocs
@@ -119,6 +122,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2011/03/26 12:04:13  qboosh
+- pl typo
+- unified License tag format
+- package ghost soname symlink
+
 Revision 1.6  2010/09/05 09:18:35  draenog
 - fixes #2983139 in ufraw
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/lensfun/lensfun.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list