- 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-bootloader?expand=0&rev=310
This commit is contained in:
parent
933c7612ad
commit
42aae97445
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:50e9429305193b0fe29f746775130b1b03e2d5464031c41f2ff66ec8465dd55a
|
|
||||||
size 276858
|
|
3
yast2-bootloader-3.1.0.tar.bz2
Normal file
3
yast2-bootloader-3.1.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5dff97232149d1f52f23d5ccaa41af00db084f4067396d5598b78e6d81dd254f
|
||||||
|
size 345062
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 18 12:27:52 UTC 2013 - lslezak@suse.cz
|
||||||
|
|
||||||
|
- do not use *.spec.in template, use *.spec file with RPM macros
|
||||||
|
instead
|
||||||
|
- 3.1.0
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Aug 23 13:37:42 CEST 2013 - snwint@suse.de
|
Fri Aug 23 13:37:42 CEST 2013 - snwint@suse.de
|
||||||
|
|
||||||
|
@ -17,14 +17,14 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: yast2-bootloader
|
Name: yast2-bootloader
|
||||||
Version: 3.0.3
|
Version: 3.1.0
|
||||||
Release: 0
|
Release: 0
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Source0: yast2-bootloader-%{version}.tar.bz2
|
Source0: %{name}-%{version}.tar.bz2
|
||||||
|
|
||||||
BuildRequires: update-desktop-files
|
BuildRequires: update-desktop-files
|
||||||
BuildRequires: yast2-devtools
|
BuildRequires: yast2-devtools >= 3.0.6
|
||||||
PreReq: /bin/sed %fillup_prereq
|
PreReq: /bin/sed %fillup_prereq
|
||||||
# Installation::*version variables
|
# Installation::*version variables
|
||||||
# Wizard::SetDialogTitleAndIcon
|
# Wizard::SetDialogTitleAndIcon
|
||||||
@ -85,31 +85,13 @@ This package contains development documentation for using the API
|
|||||||
provided by yast2-bootloader package.
|
provided by yast2-bootloader package.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n yast2-bootloader-%{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
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf "$RPM_BUILD_ROOT"
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%{fillup_only -n bootloader}
|
%{fillup_only -n bootloader}
|
||||||
@ -119,36 +101,36 @@ rm -rf "$RPM_BUILD_ROOT"
|
|||||||
|
|
||||||
# menu items
|
# menu items
|
||||||
|
|
||||||
%dir %{_prefix}/share/applications/YaST2
|
%dir %{yast_desktopdir}
|
||||||
%{_prefix}/share/applications/YaST2/bootloader.desktop
|
%{yast_desktopdir}/bootloader.desktop
|
||||||
|
|
||||||
%dir /usr/share/YaST2/include
|
%dir %{yast_yncludedir}
|
||||||
%dir /usr/share/YaST2/include/bootloader
|
%dir %{yast_yncludedir}/bootloader
|
||||||
/usr/share/YaST2/include/bootloader/*
|
%{yast_yncludedir}/bootloader/*
|
||||||
%dir /usr/share/YaST2/modules
|
%dir %{yast_moduledir}
|
||||||
/usr/share/YaST2/modules/*
|
%{yast_moduledir}/*
|
||||||
%dir /usr/share/YaST2/clients
|
%dir %{yast_clientdir}
|
||||||
/usr/share/YaST2/clients/bootloader*.rb
|
%{yast_clientdir}/bootloader*.rb
|
||||||
/usr/share/YaST2/clients/print-product.rb
|
%{yast_clientdir}/print-product.rb
|
||||||
/usr/share/YaST2/clients/inst_*.rb
|
%{yast_clientdir}/inst_*.rb
|
||||||
%dir %{_prefix}/lib/YaST2/bin
|
%dir %{yast_ybindir}
|
||||||
%{_prefix}/lib/YaST2/bin/*
|
%{yast_ybindir}/*
|
||||||
%dir /usr/lib/YaST2/servers_non_y2
|
%dir %{yast_agentdir}
|
||||||
/usr/lib/YaST2/servers_non_y2/ag_*
|
%{yast_agentdir}/ag_*
|
||||||
%dir /usr/share/YaST2/scrconf
|
%dir %{yast_scrconfdir}
|
||||||
/usr/share/YaST2/scrconf/*.scr
|
%{yast_scrconfdir}/*.scr
|
||||||
%dir /var/adm/fillup-templates
|
%dir %{yast_fillupdir}
|
||||||
/var/adm/fillup-templates/*
|
%{yast_fillupdir}/*
|
||||||
%dir /usr/share/YaST2/schema
|
%dir %{yast_schemadir}
|
||||||
%dir /usr/share/YaST2/schema/autoyast
|
%dir %{yast_schemadir}/autoyast
|
||||||
%dir /usr/share/YaST2/schema/autoyast/rnc
|
%dir %{yast_schemadir}/autoyast/rnc
|
||||||
/usr/share/YaST2/schema/autoyast/rnc/bootloader.rnc
|
%{yast_schemadir}/autoyast/rnc/bootloader.rnc
|
||||||
|
|
||||||
%dir %{_prefix}/share/doc/packages/yast2-bootloader
|
%dir %{yast_docdir}
|
||||||
%doc %{_prefix}/share/doc/packages/yast2-bootloader/README
|
%doc %{yast_docdir}/README
|
||||||
%doc %{_prefix}/share/doc/packages/yast2-bootloader/COPYING
|
%doc %{yast_docdir}/COPYING
|
||||||
|
|
||||||
%files devel-doc
|
%files devel-doc
|
||||||
%doc %{_prefix}/share/doc/packages/yast2-bootloader/autodocs
|
%doc %{yast_docdir}/autodocs
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user