Stephan Kulow 2011-12-14 12:57:57 +00:00 committed by Git OBS Bridge
parent ab2171d0e5
commit 60f90c4d4d
3 changed files with 30 additions and 18 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:5c2b0a3723956fd3259d78e91c330e9740bcf5837995692532a7fbc25c60d637 oid sha256:489d731ff61cf9c5ee2cebccaab9d50e4ca6b97b5bc96001ee05851305af7d6a
size 276935 size 288987

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Nov 25 12:26:08 UTC 2011 - coolo@suse.com
- add libtool as buildrequire to avoid implicit dependency
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jul 29 14:16:32 CEST 2011 - ug@suse.de Fri Jul 29 14:16:32 CEST 2011 - ug@suse.de

View File

@ -15,22 +15,28 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild
Name: yast2-transfer Name: yast2-transfer
Version: 2.21.0 Version: 2.21.0
Release: 1 Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: yast2-transfer-2.21.0.tar.bz2 Source0: yast2-transfer-%{version}.tar.bz2
Prefix: /usr BuildRequires: curl-devel
BuildRequires: doxygen
Group: System/YaST BuildRequires: gcc-c++
License: GPL-2.0+ BuildRequires: libtool
BuildRequires: curl-devel doxygen gcc-c++ libxcrypt-devel perl-XML-Writer update-desktop-files yast2 yast2-core-devel yast2-devtools yast2-testsuite BuildRequires: libxcrypt-devel
BuildRequires: perl-XML-Writer
BuildRequires: update-desktop-files
BuildRequires: yast2
BuildRequires: yast2-core-devel
BuildRequires: yast2-devtools
BuildRequires: yast2-testsuite
Summary: YaST2 - Agent for Various Transfer Protocols Summary: YaST2 - Agent for Various Transfer Protocols
License: GPL-2.0+
Group: System/YaST
Provides: yast2-agent-curl yast2-agent-tftp yast2-agent-curl-devel yast2-agent-tftp-devel 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 Obsoletes: yast2-agent-curl yast2-agent-tftp yast2-agent-curl-devel yast2-agent-tftp-devel
Requires: curl Requires: curl
@ -39,26 +45,26 @@ Requires: curl
A YaST2 Agent for various Transfer Protocols: FTP, HTTP, and TFTP. A YaST2 Agent for various Transfer Protocols: FTP, HTTP, and TFTP.
%prep %prep
%setup -n yast2-transfer-2.21.0 %setup -n yast2-transfer-%{version}
%build %build
%{prefix}/bin/y2tool y2autoconf %{_prefix}/bin/y2tool y2autoconf
%{prefix}/bin/y2tool y2automake %{_prefix}/bin/y2tool y2automake
autoreconf --force --install autoreconf --force --install
export CFLAGS="$RPM_OPT_FLAGS -DNDEBUG" export CFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
export CXXFLAGS="$RPM_OPT_FLAGS -DNDEBUG" export CXXFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
%{?suse_update_config:%{suse_update_config -f}} %{?suse_update_config:%{suse_update_config -f}}
./configure --libdir=%{_libdir} --prefix=%{prefix} --mandir=%{_mandir} ./configure --libdir=%{_libdir} --prefix=%{_prefix} --mandir=%{_mandir}
# V=1: verbose build in case we used AM_SILENT_RULES(yes) # V=1: verbose build in case we used AM_SILENT_RULES(yes)
# so that RPM_OPT_FLAGS check works # so that RPM_OPT_FLAGS check works
make %{?jobs:-j%jobs} V=1 make %{?jobs:-j%jobs} V=1
%install %install
make install DESTDIR="$RPM_BUILD_ROOT" 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" [ -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 for f in `find $RPM_BUILD_ROOT/%{_prefix}/share/applications/YaST2/ -name "*.desktop"` ; do
d=${f##*/} d=${f##*/}
%suse_update_desktop_file -d ycc_${d%.desktop} ${d%.desktop} %suse_update_desktop_file -d ycc_${d%.desktop} ${d%.desktop}
done done
@ -82,5 +88,6 @@ rm -rf "$RPM_BUILD_ROOT"
#%dir /usr/share/YaST2/include/transfer #%dir /usr/share/YaST2/include/transfer
#/usr/share/YaST2/include/transfer/url.ycp #/usr/share/YaST2/include/transfer/url.ycp
%doc %{prefix}/share/doc/packages/yast2-transfer %doc %{_prefix}/share/doc/packages/yast2-transfer
%changelog %changelog