File yast2-transfer.spec of Package yast2-transfer

#
# spec file for package yast2-transfer (Version 2.16.0)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Name:           yast2-transfer
Url:            http://www.suse.de/
Version:        2.16.0
Release:        1
License:        GPL v2 or later
Group:          System/YaST
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source0:        yast2-transfer-2.16.0.tar.bz2
Prefix:         /usr
BuildRequires:  curl-devel doxygen gcc-c++ libxcrypt-devel perl-XML-Writer update-desktop-files yast2 yast2-core-devel yast2-devtools yast2-testsuite
Summary:        YaST2 - Agent for Various Transfer Protocols
Provides:       yast2-agent-curl yast2-agent-tftp yast2-agent-curl-devel yast2-agent-tftp-devel
Obsoletes:      yast2-agent-curl yast2-agent-tftp yast2-agent-curl-devel yast2-agent-tftp-devel
Requires:       curl 

%description
A YaST2 Agent for various Transfer Protocols: FTP, HTTP, and TFTP.



Authors:
--------
    Anas Nashif <nashif@suse.de>

%prep
%setup -n yast2-transfer-2.16.0

%build
%{prefix}/bin/y2tool y2autoconf
%{prefix}/bin/y2tool y2automake
autoreconf --force --install
export CFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
export CXXFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
%{?suse_update_config:%{suse_update_config -f}}
./configure --libdir=%{_libdir} --prefix=%{prefix} --mandir=%{_mandir}
make %{?jobs:-j%jobs}

%install
make install DESTDIR="$RPM_BUILD_ROOT"
[ -e "%{prefix}/share/YaST2/data/devtools/NO_MAKE_CHECK" ] || Y2DIR="$RPM_BUILD_ROOT/usr/share/YaST2" make check DESTDIR="$RPM_BUILD_ROOT"
for f in `find $RPM_BUILD_ROOT/%{prefix}/share/applications/YaST2/ -name "*.desktop"` ; do
    d=${f##*/}
    %suse_update_desktop_file -d ycc_${d%.desktop} ${d%.desktop}
done
rm -f $RPM_BUILD_ROOT/%{_libdir}/YaST2/plugin/libpy2ag_curl.la
rm -f $RPM_BUILD_ROOT/%{_libdir}/YaST2/plugin/libpy2ag_tftp.la

%clean
rm -rf "$RPM_BUILD_ROOT"

%files
%defattr(-,root,root)
/usr/share/YaST2/scrconf/*.scr
%{_libdir}/YaST2/plugin/libpy2ag_curl.so.*
%{_libdir}/YaST2/plugin/libpy2ag_curl.so
#%{_libdir}/YaST2/plugin/libpy2ag_curl.la
%{_libdir}/YaST2/plugin/libpy2ag_tftp.so.*
%{_libdir}/YaST2/plugin/libpy2ag_tftp.so
#%{_libdir}/YaST2/plugin/libpy2ag_tftp.la
/usr/share/YaST2/modules/*
#%dir /usr/share/YaST2/include/transfer
#/usr/share/YaST2/include/transfer/url.ycp
%doc %{prefix}/share/doc/packages/yast2-transfer
%changelog
* Tue Sep 25 2007 - ug@suse.de
- version 2.16.0
* Thu Jan 11 2007 - ug@suse.de
- *.la files removed
* Wed Nov 29 2006 - ug@suse.de
- version 2.15.0
* Thu Nov 09 2006 - ug@suse.de
- version 2.14.0
* Thu Sep 14 2006 - ro@suse.de
- added yast2-core-devel to BuildRequires·
* Thu Jun 01 2006 - locilka@suse.cz
- Marking FTP, TFTP and HTTP modules as Stable.
* Mon Mar 06 2006 - locilka@suse.cz
- Ajusted BuildRequires for package
- 2.13.3
* Thu Jan 05 2006 - locilka@suse.cz
- Adding enhancement wanted and created by ug@suse.de
  Adding functionality which allows to disable the strict HTTPS
  more to more useful. The default behavior is unchanged.
- 2.13.2
* Thu Dec 15 2005 - locilka@suse.cz
- Fixed bug #135829
  Curl library was called with wrong data-type. The bug appeared on
  big-endian 64bits only (Such as s390x).
- 2.13.1
* Wed Nov 30 2005 - locilka@suse.cz
- Added debugging message into the Curl::Get function
- 2.13.0
* Thu Apr 28 2005 - locilka@suse.cz
- Changing package maintainer to locilka@suse.cz
- 2.12.0
* Wed May 05 2004 - nashif@suse.de
- Fixed bug #39996: fixed tftp 'put'
* Fri Apr 02 2004 - nashif@suse.de
- License changed to GPL
* Fri Mar 19 2004 - mvidner@suse.cz
- added AGENT_LIBADD so that agents work from standalone Perl
* Sun Jan 25 2004 - nashif@suse.de
- First version with new interpreter
- 2.9.1
* Thu Jun 12 2003 - nashif@suse.de
- Fixed file list
* Tue Feb 04 2003 - nashif@suse.de
- Added FTP Get
- 2.7.0
* Mon Aug 05 2002 - nashif@suse.de
- Added URI parser
- 2.6.1
* Wed Jul 17 2002 - nashif@suse.de
- Merged tftp and  curl agents
- 2.6.0
* Fri Jul 12 2002 - nashif@suse.de
- Initial version
openSUSE Build Service is sponsored by