Hello community,

here is the log from the commit of package libcryptopp for openSUSE:Factory
checked in at Sun Oct 16 12:52:45 CEST 2011.



--------
--- openSUSE:Factory/libcryptopp/libcryptopp.changes    2011-09-23 
02:07:58.000000000 +0200
+++ /mounts/work_src_done/STABLE/libcryptopp/libcryptopp.changes        
2011-10-14 14:11:35.000000000 +0200
@@ -1,0 +2,6 @@
+Sat Oct 14 13:37:59 UTC 2011 - [email protected]
+
+- Added pkg-config file from fedora project
+- Cleaned up spec file formatting
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  cryptopp.pc

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

Other differences:
------------------
++++++ libcryptopp.spec ++++++
--- /var/tmp/diff_new_pack.IgZAMI/_old  2011-10-16 12:52:42.000000000 +0200
+++ /var/tmp/diff_new_pack.IgZAMI/_new  2011-10-16 12:52:42.000000000 +0200
@@ -15,34 +15,31 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
-
 Name:           libcryptopp
 Version:        5.6.1
 Release:        6
+License:        Public Domain
 %define pkg_version 561
 # This needs to be bumped manually with every ABI change since there is
 # no upstream interface version information. Please keep in sync with
 # Debian: http://packages.debian.org/en/source/experimental/libcrypto++
 %define soname      9
 Summary:        Crypto++ Library
-# http://www.cryptopp.com/cryptopp%{pkg_version}.zip
-Source:         cryptopp%{pkg_version}.tar.bz2
-Patch1:         libcryptopp-shared.patch
 Url:            http://www.cryptopp.com
 Group:          Development/Libraries/C and C++
-License:        Public Domain
+# http://www.cryptopp.com/cryptopp%%{pkg_version}.zip
+Source:         cryptopp%{pkg_version}.tar.bz2
+Source2:        cryptopp.pc
+Patch1:         libcryptopp-shared.patch
+BuildRequires:  gcc-c++
+BuildRequires:  libstdc++-devel
+BuildRequires:  pkg-config
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  gcc-c++ libstdc++-devel
-BuildRequires:  gcc glibc-devel make pkgconfig
 
 %description
 Crypto++ Library is a free C++ class library of cryptographic schemes.
 
 %package -n %{name}%{soname}
-
-
 Summary:        Cryptographic Library for C++
 Group:          System/Libraries
 
@@ -50,13 +47,11 @@
 Crypto++ Library is a free C++ class library of cryptographic schemes.
 
 %package -n %{name}-devel
-
-
 Summary:        Cryptographic Library for C++
 Group:          Development/Libraries/C and C++
 Requires:       %{name}%{soname} = %{version}
-# http://packman.links2linux.de/package/libcrypto++0
 Conflicts:      libcrypto++0
+# http://packman.links2linux.de/package/libcrypto++0
 
 %description -n %{name}-devel
 Crypto++ Library is a free C++ class library of cryptographic schemes.
@@ -66,39 +61,36 @@
 %patch1
 
 %build
-%__make %{?jobs:-j%{jobs}} \
+make %{?_smp_mflags} \
     CXXFLAGS="-DNDEBUG %{optflags} -fpic -fPIC" \
     DESTDIR="" \
     PREFIX="%{_prefix}" \
     LIB="%{_lib}" \
-    CXX="%__cxx" \
+    CXX="g++" \
     VERSION="%{soname}.0.0" \
     MAJOR="%{soname}" \
     LDFLAGS="-pthread" \
     all
 
 %install
-%__make \
+make \
     DESTDIR="%{buildroot}" \
     PREFIX="%{_prefix}" \
     LIB="%{_lib}" \
-    CXX="%__cxx" \
+    CXX="g++" \
     VERSION="%{soname}.0.0" \
     MAJOR="%{soname}" \
     install
-
-%__rm -rf "%{buildroot}%{_bindir}"
+rm -rf "%{buildroot}%{_bindir}"
+mkdir %{buildroot}%{_libdir}/pkgconfig/
+cp %{SOURCE2} %{buildroot}%{_libdir}/pkgconfig/
 
 %check
-%__make test
+make test
 
 %post   -n %{name}%{soname} -p /sbin/ldconfig
-
 %postun -n %{name}%{soname} -p /sbin/ldconfig
 
-%clean
-%{?buildroot:%__rm -rf "%{buildroot}"}
-
 %files -n %{name}%{soname}
 %defattr(-,root,root)
 %{_libdir}/libcryptopp.so.%{soname}
@@ -109,5 +101,6 @@
 %doc License.txt Readme.txt
 %{_includedir}/cryptopp
 %{_libdir}/libcryptopp.so
+%{_libdir}/pkgconfig/cryptopp.pc
 
 %changelog

++++++ cryptopp.pc ++++++
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib 
includedir=${prefix}/include 

Name: libcrypto++
Description: General purpose cryptographic shared library
URL: http://www.cryptopp.com
Version: 5.6.0
Requires:
Libs: -lcryptopp
Cflags:
continue with "q"...



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to