Hello community,

here is the log from the commit of package proj for openSUSE:Factory checked in 
at 2015-03-11 09:57:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/proj (Old)
 and      /work/SRC/openSUSE:Factory/.proj.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "proj"

Changes:
--------
--- /work/SRC/openSUSE:Factory/proj/proj.changes        2012-04-23 
09:16:23.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.proj.new/proj.changes   2015-03-11 
09:57:50.000000000 +0100
@@ -1,0 +2,8 @@
+Sun Mar  8 09:59:50 UTC 2015 - mplus...@suse.com
+
+- Cleanup spec file with spec-cleaner
+- Cleanup dependecies
+- Use url for source
+- Update url
+
+-------------------------------------------------------------------

Old:
----
  proj-4.8.0.tar.bz2

New:
----
  proj-4.8.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ proj.spec ++++++
--- /var/tmp/diff_new_pack.xk9Sx8/_old  2015-03-11 09:57:51.000000000 +0100
+++ /var/tmp/diff_new_pack.xk9Sx8/_new  2015-03-11 09:57:51.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package proj
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,38 +16,31 @@
 #
 
 
+%define libname lib%{name}0
 Name:           proj
 Version:        4.8.0
 Release:        0
 Summary:        Cartographic projection software
 License:        MIT
 Group:          Productivity/Scientific/Other
-Url:            ftp://ftp.remotesensing.org/proj/
-Source0:        proj-%{version}.tar.bz2
-Source1:        proj-datumgrid-1.5.zip
-BuildRequires:  bzip2
-BuildRequires:  unzip
-%if 0%{?centos_version} || 0%{?rhel_version}
-BuildRequires:  pkgconfig
-%else
+Url:            http://trac.osgeo.org/proj
+Source0:        http://download.osgeo.org/proj/%{name}-%{version}.tar.gz
+Source1:        ftp://ftp.remotesensing.org/proj/%{name}-datumgrid-1.5.zip
 BuildRequires:  pkg-config
-%endif
+BuildRequires:  unzip
 Provides:       libproj = %{version}
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-Prefix:         %{_prefix}
-
-%package -n libproj0
 
+%package -n %{libname}
 Summary:        Cartographic projection software
 Group:          Applications/GIS
 
 %package -n libproj-devel
-
 Summary:        Development files for PROJ
 Group:          Development/Libraries/C and C++
-Requires:       libproj0 = %{version}
+Requires:       %{libname} = %{version}
 
-%description -n libproj0
+%description -n %{libname}
 This package the library for performing respective
 forward and inverse transformation of cartographic data to or from cartesian
 data with a wide range of selectable projection functions.
@@ -61,27 +54,26 @@
 This package contains libproj and the appropriate header files and man pages.
 
 %prep
-%setup -q -b 0 -n proj-%{version}
+%setup -q 
 cd nad
 unzip -o %{SOURCE1}
 
 %build
-%configure  --disable-static
-make
+%configure \
+       --disable-static
+make %{?_smp_mflags}
 
 %install
-%makeinstall
-rm %{buildroot}/%{_libdir}/*.la
+make DESTDIR=%{buildroot} install %{?_smp_mflags}
+find %{buildroot} -type f -name "*.la" -delete -print
 cd src
 cp projects.h %{buildroot}/%{_includedir}/projects.h
 
-%post -n libproj0 -p /sbin/ldconfig
-
-%postun -n libproj0 -p /sbin/ldconfig
+%post -n %{libname} -p /sbin/ldconfig
 
-%clean
+%postun -n %{libname} -p /sbin/ldconfig
 
-%files -n libproj0
+%files -n %{libname}
 %defattr(0644,root,root)
 %{_libdir}/*.so.*
 


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to