rpms/tqsllib/F-9 tqsllib-2.0-openssl.patch, NONE, 1.1 tqsllib.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Lucian Langa lucilanga at fedoraproject.org
Sun Aug 24 09:31:47 UTC 2008


Author: lucilanga

Update of /cvs/pkgs/rpms/tqsllib/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13903

Modified Files:
	.cvsignore sources 
Added Files:
	tqsllib-2.0-openssl.patch tqsllib.spec 
Log Message:
initial import

tqsllib-2.0-openssl.patch:

--- NEW FILE tqsllib-2.0-openssl.patch ---
--- tqsllib-2.0/openssl_cert.cpp	2005-03-11 14:47:11.000000000 +0200
+++ tqsllib-openssl/openssl_cert.cpp	2008-02-26 08:27:47.000000000 +0200
@@ -1288,7 +1288,7 @@
 							sk_ASN1_TYPE_push(attrib->value.set, val);
 #if (OPENSSL_VERSION_NUMBER & 0xfffff000) == 0x00906000
 							attrib->set = 1;
-#elif (OPENSSL_VERSION_NUMBER & 0xfffff000) == 0x00907000
+#elif (OPENSSL_VERSION_NUMBER & 0xfffff000) == 0x00908000
 							attrib->single = 0;
 #else
 #error "Unexpected OpenSSL version; check X509_ATTRIBUTE struct compatibility"


--- NEW FILE tqsllib.spec ---
Name: tqsllib
Version: 2.0
Release: 4%{?dist}
Summary: The TrustedQSL library
Group: Development/Libraries
License: BSD
URL: http://sourceforge.net/projects/trustedqsl/
Source: http://downloads.sourceforge.net/sourceforge/trustedqsl/%{name}-%{version}.tar.gz
Patch0: tqsllib-2.0-openssl.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: openssl-devel
BuildRequires: expat-devel
BuildRequires: zlib-devel

%package devel
Summary: The TrustedQSL Library development tools
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}

%description
The TrustedQSL library is used for generating digitally signed
QSO records (records of Amateur Radio contacts). This package
contains the library and configuration files needed to run
TrustedQSL applications.

%description devel
The TrustedQSL library is used for generating digitally signed
QSO records (records of Amateur Radio contacts). This package
contains the header files needed to build TrustedQSL applications
as well as a static tqsllib library and API documentation.

%prep
%setup -q -n %{name}-%{version}
%patch0 -p1 -b openssl

%build
#openssl, expat, zlib detection is broken on other archs
#we disable detection to keep configure happy
export OPENSSL=/usr
export EXPAT=/usr
export ZLIB=/usr
# use --disable-docs because RPM handles docs itself
%configure --disable-docs --without-openssl --without-expat --without-zlib --disable-rpath --disable-static
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
#unfortunately parallel build is broken
make
# cleanup CVS directoryes (wrongly packed in source)
rm -rf doxygen/html/CVS

%install
rm -rf %{buildroot}
make install DESTDIR="%{buildroot}" INSTALL="install -p"
find %{buildroot} -name \*\.la -print | xargs rm -f

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%{_libdir}/*.so.*
%dir %{_datadir}/tqsl
%{_datadir}/tqsl/config.xml
%{_bindir}/dumptqsldata
%doc LICENSE ChangeLog

%files devel
%defattr(-,root,root,-)
%doc LICENSE ChangeLog doxygen/html
%{_libdir}/*.so
%{_includedir}/tqsllib.h
%{_includedir}/tqslerrno.h
%{_includedir}/cabrillo.h
%{_includedir}/adif.h
%{_includedir}/tqslconvert.h

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%changelog
* Thu Aug 21 2008 Lucian Langa <cooly at gnome.eu.org> - 2.0-4
- make directory own by package

* Thu Aug 21 2008 Lucian Langa <cooly at gnome.eu.org> - 2.0-3
- disable static libraries

* Thu Aug 21 2008 Lucian Langa <cooly at gnome.eu.org> - 2.0-2
- misc cleanups

* Sun Jul 13 2008 Lucian Langa <lucilanga at gnome.org> - 2.0-1
- initial spec file for fedora



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/tqsllib/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	23 Aug 2008 17:57:50 -0000	1.1
+++ .cvsignore	24 Aug 2008 09:31:17 -0000	1.2
@@ -0,0 +1 @@
+tqsllib-2.0.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/tqsllib/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	23 Aug 2008 17:57:50 -0000	1.1
+++ sources	24 Aug 2008 09:31:17 -0000	1.2
@@ -0,0 +1 @@
+eab6bcd6c93561881f68ef184456a193  tqsllib-2.0.tar.gz




More information about the fedora-extras-commits mailing list