[UpTools/f15] Upgrade to 8.5.5 and fixed and bumped spec file

sebelk sebelk at fedoraproject.org
Tue May 17 13:43:36 UTC 2011


commit 9f4a3d6fd2552173caf85bc9cbb8897088d51af0
Author: Sergio Belkin <sebelk at fedoraproject.org>
Date:   Tue May 17 10:43:02 2011 -0300

    Upgrade to 8.5.5 and fixed and bumped spec file

 .gitignore    |    1 +
 UpTools.spec  |   79 ++++++++++++++++------------
 UpTools.spec~ |  161 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources       |    2 +-
 4 files changed, 209 insertions(+), 34 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index bf73abb..f1bf83c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /UpTools-8.5.4.tar.gz
+/UpTools-8.5.5.tar.gz
diff --git a/UpTools.spec b/UpTools.spec
index db97033..d872453 100644
--- a/UpTools.spec
+++ b/UpTools.spec
@@ -1,12 +1,10 @@
-Summary: C++ library for HPC, networking, DB, memory, etc
+Summary: C++ library for HPC, parallel processing, networking, DB, memory, etc
 Name: UpTools
-Version: 8.5.4
-Release: 13%{dist}
-License: BSD with advertising
+Version: 8.5.5
+Release: 2%{dist}
+License: BSD
 Group: Development/Libraries
 Source: http://www.palermo.edu/ingenieria/%{name}-%{version}.tar.gz
-Patch0: %{name}-8.5.4-64bit.patch
-Patch1: %{name}-8.5.4-s390.patch
 URL: http://www.palermo.edu/ingenieria/uptools_ingles.html
 BuildRequires: mysql-devel
 BuildRequires: postgresql-devel
@@ -14,11 +12,15 @@ BuildRequires: openssl-devel
 
 %description
 UpTools is an open source C++ development library that contains powerful
-classes to facilitate and accelerate modern application development.
-The following aspects are covered by the library: High performance computing
-(HPC), Load distribution and parallel processing, Multi-threading, Time and
-timers, Memory management, Text and strings, Database access, Networking, and
-others.
+classes to facilitate and accelerate modern application development. The
+following aspects are covered by the library: High performance computing
+(HPC), Load distribution and parallel processing, Multi-threading, Time
+and timers, Memory management, Text and strings, Database access,
+Networking, and others.
+
+UpTools is developed and maintained by the Engineering School of the
+Universidad de Palermo, and originated in its Electronics and Communications
+Department projects.
 
 %package devel
 Summary: Header files and examples for UpTools C++ library
@@ -31,31 +33,31 @@ Requires: postgresql-devel%{?_isa}
  
 %description devel
 UpTools is an open source C++ development library that contains powerful
-classes to facilitate and accelerate modern application development.
-The following aspects are covered by the library: High performance computing
-(HPC), Load distribution and parallel processing, Multi-threading, Time and
-timers, Memory management, Text and strings, Database access, Networking, and
-others. This package include headers to build apps using UpTools 
-and example code.
+classes to facilitate and accelerate modern application development. The
+following aspects are covered by the library: High performance computing
+(HPC), Load distribution and parallel processing, Multi-threading, Time
+and timers, Memory management, Text and strings, Database access,
+Networking, and others.
 
+UpTools is developed and maintained by the Engineering School of the
+Universidad de Palermo, and originated in its Electronics and Communications
+Department projects.
 
-%prep
-%setup -q  
-%patch0 -p1 -b .64bit
-%patch1 -p1 -b .s390
-iconv -f iso8859-1 -t utf-8 doc/tests/testUpTimer.cc  >  doc/tests/testUpTimer.cc.conv && touch -r doc/tests/testUpTimer.cc doc/tests/testUpTimer.cc.conv  && mv -f  doc/tests/testUpTimer.cc.conv doc/tests/testUpTimer.cc
+This package include headers to build apps using UpTools and example code.
 
-mkdir doc/code_examples
-# Timestamp is preserved
-touch -r doc/tests doc/code_examples
-cp -p doc/tests/*.cc doc/code_examples
 
+%prep
+%setup -q  
+#Remove -no-install LDFLAG and glibc workaound test and  prevent libdir hardcoding
+cp -p configure configure.backup
+sed -i -e '2524d' -e '10935,10941d' -e '14983,14994d' configure
+touch -r configure.backup configure
 
 %build
 
 
 # We use unordered_map and unordered_set instead the hash_map and hash_set
-%configure --disable-static --enable-experimental --disable-silent-rules LDFLAGS="-L%{_libdir}/mysql"
+%configure --disable-static LDFLAGS="-L%{_libdir}/mysql"
 
 make %{?_smp_mflags} 
 
@@ -80,15 +82,26 @@ rm -f %{buildroot}%{_libdir}/libUpTools.la
 %dir %{_includedir}/UpTools
 %{_includedir}/UpTools/*
 %{_libdir}/libUpTools.so
-%doc LICENSE doc/README.FEDORA doc/code_examples
+%doc LICENSE doc/README.FEDORA doc/examples
 
 %changelog
-* Fri Mar 25 2011 Dan Horák <dan at danny.cz> - 8.5.4-13
-- fix build on 64-bit platforms (don't fiddle with libdir in configure)
-- fix build on s390 where size_t is unsigned long
+* Thu May 16 2011 Sergio Belkin <sebelk at fedoraproject.org> - 8.5.5-2
+- UpTimerManager extension to report on pending timers of each type, and new
+  flexibility in timer setup parameters. Method now() of UpTimerManager is
+  fortified.
+- One of the operators for UpSmartLinkPtr's is removed to help g++ resolve
+  compilation ambiguity.
+- Disable silent rules and gcc warning flags of configure.ac
+- Get rid of ugly macro AX_EXT_HAVE_LIB
+- Dropped --as-needed and -O3 flags in order to be more generic and simple build
+- Loop to search mysqlclient with proper LDFLAGS
+- Removed test for old glibc and prevent libdir harcoding
+- Remove -no-install LDFLAG
+- Not it uses 
+- Fixed license, it was tagged wrongly as "BSD with advertisement", has been
+  replaced by the recently accepted "BSD with attribution"
+- Polished the test for old glibc
 
-* Wed Mar 23 2011 Dan Horák <dan at danny.cz> - 8.5.4-12
-- rebuilt for mysql 5.5.10 (soname bump in libmysqlclient)
 
 * Tue Mar 01 2011 Sergio Belkin <sebelk at fedoraproject.org> - 8.5.4-11
 - Fixed typo in previous changelog entry
diff --git a/UpTools.spec~ b/UpTools.spec~
new file mode 100644
index 0000000..db97033
--- /dev/null
+++ b/UpTools.spec~
@@ -0,0 +1,161 @@
+Summary: C++ library for HPC, networking, DB, memory, etc
+Name: UpTools
+Version: 8.5.4
+Release: 13%{dist}
+License: BSD with advertising
+Group: Development/Libraries
+Source: http://www.palermo.edu/ingenieria/%{name}-%{version}.tar.gz
+Patch0: %{name}-8.5.4-64bit.patch
+Patch1: %{name}-8.5.4-s390.patch
+URL: http://www.palermo.edu/ingenieria/uptools_ingles.html
+BuildRequires: mysql-devel
+BuildRequires: postgresql-devel
+BuildRequires: openssl-devel
+
+%description
+UpTools is an open source C++ development library that contains powerful
+classes to facilitate and accelerate modern application development.
+The following aspects are covered by the library: High performance computing
+(HPC), Load distribution and parallel processing, Multi-threading, Time and
+timers, Memory management, Text and strings, Database access, Networking, and
+others.
+
+%package devel
+Summary: Header files and examples for UpTools C++ library
+Group: Development/Libraries
+Requires: %{name}%{?_isa} = %{version}-%{release}
+Requires: libstdc++-devel%{?_isa}
+Requires: openssl-devel%{?_isa}
+Requires: mysql-devel%{?_isa}
+Requires: postgresql-devel%{?_isa}
+ 
+%description devel
+UpTools is an open source C++ development library that contains powerful
+classes to facilitate and accelerate modern application development.
+The following aspects are covered by the library: High performance computing
+(HPC), Load distribution and parallel processing, Multi-threading, Time and
+timers, Memory management, Text and strings, Database access, Networking, and
+others. This package include headers to build apps using UpTools 
+and example code.
+
+
+%prep
+%setup -q  
+%patch0 -p1 -b .64bit
+%patch1 -p1 -b .s390
+iconv -f iso8859-1 -t utf-8 doc/tests/testUpTimer.cc  >  doc/tests/testUpTimer.cc.conv && touch -r doc/tests/testUpTimer.cc doc/tests/testUpTimer.cc.conv  && mv -f  doc/tests/testUpTimer.cc.conv doc/tests/testUpTimer.cc
+
+mkdir doc/code_examples
+# Timestamp is preserved
+touch -r doc/tests doc/code_examples
+cp -p doc/tests/*.cc doc/code_examples
+
+
+%build
+
+
+# We use unordered_map and unordered_set instead the hash_map and hash_set
+%configure --disable-static --enable-experimental --disable-silent-rules LDFLAGS="-L%{_libdir}/mysql"
+
+make %{?_smp_mflags} 
+
+%install
+make install DESTDIR=%{buildroot} INSTALL="install -p"
+
+rm -rf  %{buildroot}/%{_docdir}/%{name}
+
+# We don't want .la libtool archive
+rm -f %{buildroot}%{_libdir}/libUpTools.la
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%{_libdir}/libUpTools.so.*
+%doc README LICENSE doc/MULTITHREADING.INTRO doc/INTRO
+
+%files devel
+%defattr(-,root,root,-)
+%dir %{_includedir}/UpTools
+%{_includedir}/UpTools/*
+%{_libdir}/libUpTools.so
+%doc LICENSE doc/README.FEDORA doc/code_examples
+
+%changelog
+* Fri Mar 25 2011 Dan Horák <dan at danny.cz> - 8.5.4-13
+- fix build on 64-bit platforms (don't fiddle with libdir in configure)
+- fix build on s390 where size_t is unsigned long
+
+* Wed Mar 23 2011 Dan Horák <dan at danny.cz> - 8.5.4-12
+- rebuilt for mysql 5.5.10 (soname bump in libmysqlclient)
+
+* Tue Mar 01 2011 Sergio Belkin <sebelk at fedoraproject.org> - 8.5.4-11
+- Fixed typo in previous changelog entry
+- Fixed release number in previous changelog entry
+
+* Mon Feb 28 2011 Sergio Belkin <sebelk at fedoraproject.org> - 8.5.4-10
+- Used %%{_libdir} macro instead of the conditional statement ifarch
+  and hardcoded paths
+
+* Sat Feb 26 2011 Sergio Belkin <sbelki at palermo.edu> - 8.5.4-9
+- Set LDFLAGS for mysqclient, in order to prevent misleading 
+  messages from macro ax_ext_have_lib.m4
+- Added libstdc++-devel
+- Added --disable-silent-rules to configure script 
+- Removed %%check section it is not needed
+- Minor aesthetic changes to changelog
+
+* Fri Feb 25 2011 Sergio Belkin <sbelki at palermo.edu> - 8.5.4-8
+- Removed redundant "/usr/bin" before iconv
+- Preserved timestamp using iconv
+- Removed "-Wno-deprecated"
+- Added parallel make
+- Kept timestamps on install command
+- fixed %%defattr macro
+- Added openssl-devel%{?_isa}
+- Removed message on scriplet
+- Changed from hash_map and hash_set headers to unordered_map
+- Using glob instead multiples lines of install command
+- Fixed documentation files
+- Disabled silent mode in %%check section
+
+* Tue Feb 22 2011 Sergio Belkin <sbelki at palermo.edu> 8.5.4-7
+- Fixed License in order to match the actual license
+- Clarified Base Package required
+- Disabled static subpackage
+- Removed .la libtool file instead of excluding
+- %%check section added
+- Minor change in %%description tags and Requires
+
+* Thu Feb 18 2011 Sergio Belkin <sbelki at palermo.edu> 8.5.4-6
+- Removed files creation on %%post section
+- Removed glibc-devel as BuildRequires
+
+* Thu Feb 17 2011 Sergio Belkin <sbelki at palermo.edu> 8.5.4-5
+- Removed %%clean section
+- Fixed a regression, there were incorrect paths in %%prep section
+
+* Thu Feb 15 2011 Sergio Belkin <sbelki at palermo.edu> 8.5.4-4
+- Fixed LDFLAGS problem
+- Fixed release RPM
+
+* Thu Feb 03 2011 Sergio Belkin <sbelki at palermo.edu> 8.5.4-3
+- Polished install
+- Added post-install action for devel subpackage
+- README.FEDORA moved to devel package
+- INSTALL file dropped as it is considered irrelevant
+- Added symlink file to devel package and removed from non-devel package
+
+* Mon Jan 31 2011 Sergio Belkin <sbelki at palermo.edu> 8.5.4-2
+- Styles mixing fixed
+- Added openssl-devel as BuildRequires
+- Drop "." ant the end Summary
+- Fixed BuildRoot
+- Fixed Summary and Description
+- Fixed %%pre and %%postun
+- Fixed file-not-utf8
+- Fixed spec file name
+
+* Mon Jan 01 2011 Sergio Belkin <sbelki at palermo.edu> - 8.5.4-1
+- first RPM made in Universidad de Palermo
diff --git a/sources b/sources
index ed6f409..dc3f544 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3e4f8279ce459015b7c1c908d266b784  UpTools-8.5.4.tar.gz
+a7ded69f341099b4bca41a42f02f988b  UpTools-8.5.5.tar.gz


More information about the scm-commits mailing list