- do not use *.spec.in template, use *.spec file with RPM macros
instead - 3.1.0 OBS-URL: https://build.opensuse.org/package/show/YaST:Head/yast2-transfer?expand=0&rev=123
This commit is contained in:
parent
33e2fd19c0
commit
5e58599310
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:7cced2df369e496fc09f052129647984dba24b262235d50f1314e90ba57d705b
|
|
||||||
size 297245
|
|
3
yast2-transfer-3.1.0.tar.bz2
Normal file
3
yast2-transfer-3.1.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:23988dc6258a4b2890c17672e4c9e1896a413709a5d86ed3859384d96073c777
|
||||||
|
size 13815
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 19 17:40:31 UTC 2013 - lslezak@suse.cz
|
||||||
|
|
||||||
|
- do not use *.spec.in template, use *.spec file with RPM macros
|
||||||
|
instead
|
||||||
|
- 3.1.0
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Aug 1 05:56:06 UTC 2013 - lslezak@suse.cz
|
Thu Aug 1 05:56:06 UTC 2013 - lslezak@suse.cz
|
||||||
|
|
||||||
|
@ -17,11 +17,11 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: yast2-transfer
|
Name: yast2-transfer
|
||||||
Version: 3.0.1
|
Version: 3.1.0
|
||||||
Release: 0
|
Release: 0
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Source0: yast2-transfer-%{version}.tar.bz2
|
Source0: %{name}-%{version}.tar.bz2
|
||||||
|
|
||||||
BuildRequires: curl-devel
|
BuildRequires: curl-devel
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
@ -31,7 +31,7 @@ BuildRequires: perl-XML-Writer
|
|||||||
BuildRequires: update-desktop-files
|
BuildRequires: update-desktop-files
|
||||||
BuildRequires: yast2
|
BuildRequires: yast2
|
||||||
BuildRequires: yast2-core-devel
|
BuildRequires: yast2-core-devel
|
||||||
BuildRequires: yast2-devtools
|
BuildRequires: yast2-devtools >= 3.0.6
|
||||||
%if 0%{?suse_version} < 1220
|
%if 0%{?suse_version} < 1220
|
||||||
BuildRequires: libxcrypt-devel
|
BuildRequires: libxcrypt-devel
|
||||||
%endif
|
%endif
|
||||||
@ -63,51 +63,33 @@ This package contains development documentation for using the API
|
|||||||
provided by yast2-transfer package.
|
provided by yast2-transfer package.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n yast2-transfer-%{version}
|
%setup -n %{name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{_prefix}/bin/y2tool y2autoconf
|
%yast_build
|
||||||
%{_prefix}/bin/y2tool y2automake
|
|
||||||
autoreconf --force --install
|
|
||||||
|
|
||||||
export CFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
|
|
||||||
export CXXFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
|
|
||||||
|
|
||||||
./configure --libdir=%{_libdir} --prefix=%{_prefix} --mandir=%{_mandir}
|
|
||||||
# V=1: verbose build in case we used AM_SILENT_RULES(yes)
|
|
||||||
# so that RPM_OPT_FLAGS check works
|
|
||||||
make %{?jobs:-j%jobs} V=1
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR="$RPM_BUILD_ROOT"
|
%yast_install
|
||||||
[ -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/%{yast_plugindir}/libpy2ag_curl.la
|
||||||
rm -f $RPM_BUILD_ROOT/%{_libdir}/YaST2/plugin/libpy2ag_tftp.la
|
rm -f $RPM_BUILD_ROOT/%{yast_plugindir}/libpy2ag_tftp.la
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf "$RPM_BUILD_ROOT"
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
/usr/share/YaST2/scrconf/*.scr
|
%{yast_scrconfdir}/*.scr
|
||||||
%{_libdir}/YaST2/plugin/libpy2ag_curl.so.*
|
%{yast_plugindir}/libpy2ag_curl.so.*
|
||||||
%{_libdir}/YaST2/plugin/libpy2ag_curl.so
|
%{yast_plugindir}/libpy2ag_curl.so
|
||||||
%{_libdir}/YaST2/plugin/libpy2ag_tftp.so.*
|
%{yast_plugindir}/libpy2ag_tftp.so.*
|
||||||
%{_libdir}/YaST2/plugin/libpy2ag_tftp.so
|
%{yast_plugindir}/libpy2ag_tftp.so
|
||||||
/usr/share/YaST2/modules/*
|
%{yast_moduledir}/*
|
||||||
|
|
||||||
%dir %{_prefix}/share/doc/packages/yast2-transfer
|
%dir %{yast_docdir}
|
||||||
%doc %{_prefix}/share/doc/packages/yast2-transfer/README
|
%doc %{yast_docdir}/README
|
||||||
%doc %{_prefix}/share/doc/packages/yast2-transfer/COPYING
|
%doc %{yast_docdir}/COPYING
|
||||||
|
|
||||||
%files devel-doc
|
%files devel-doc
|
||||||
%doc %{_prefix}/share/doc/packages/yast2-transfer/*.html
|
%doc %{yast_docdir}/*.html
|
||||||
%doc %{_prefix}/share/doc/packages/yast2-transfer/agent-curl
|
%doc %{yast_docdir}/agent-curl
|
||||||
%doc %{_prefix}/share/doc/packages/yast2-transfer/agent-tftp
|
%doc %{yast_docdir}/agent-tftp
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user