Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/remove_spec_in' into ci_integration
Browse files Browse the repository at this point in the history
Conflicts:
	package/yast2-storage.changes
	yast2-storage.spec.in
  • Loading branch information
jreidinger committed Oct 1, 2013
2 parents c14e7d7 + 0919633 commit 6583705
Show file tree
Hide file tree
Showing 3 changed files with 140 additions and 106 deletions.
7 changes: 7 additions & 0 deletions package/yast2-storage.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Oct 01 17:24:38 UTC 2013 - lslezak@suse.cz

- do not use *.spec.in template, use *.spec file with RPM macros
instead
- 3.1.0

-------------------------------------------------------------------
Tue Oct 01 15:03:23 CEST 2013 - aschnell@suse.de

Expand Down
133 changes: 133 additions & 0 deletions package/yast2-storage.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
#
# spec file for package yast2-storage
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name: yast2-storage
Version: 3.1.0
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %{name}-%{version}.tar.bz2

Group: System/YaST
License: GPL-2.0

BuildRequires: gcc-c++ libtool
BuildRequires: docbook-xsl-stylesheets doxygen libxslt perl-XML-Writer sgml-skel update-desktop-files
BuildRequires: libstorage-devel >= 2.24.0 yast2 >= 2.19.4 yast2-core-devel >= 2.23.1
BuildRequires: yast2-devtools >= 3.0.6
BuildRequires: yast2-testsuite >= 2.19.0
BuildRequires: rubygem-ruby-dbus
BuildRequires: libstorage-ruby >= 2.25.0
Requires: libstorage4 >= 2.24.5
Requires: libstorage-ruby >= 2.25.0
Requires: yast2-core >= 2.18.3 yast2 >= 2.19.4 yast2-libyui >= 2.18.7
Requires: rubygem-ruby-dbus
%ifarch s390 s390x
Requires: yast2-s390
%endif
PreReq: %fillup_prereq
Provides: y2a_fdsk yast2-config-disk
Obsoletes: y2a_fdsk yast2-config-disk
Provides: yast2-agent-fdisk yast2-agent-fdisk-devel
Obsoletes: yast2-agent-fdisk yast2-agent-fdisk-devel
Provides: yast2-trans-inst-partitioning
Obsoletes: yast2-trans-inst-partitioning
Provides: y2t_inst-partitioning
Obsoletes: y2t_inst-partitioning
Requires: yast2-ruby-bindings >= 1.0.0

Summary: YaST2 - Storage Configuration

%description
This package contains the files for YaST2 that handle access to disk
devices during installation and on an installed system.

%prep
%setup -n %{name}-%{version}

%build
%yast_build

%install
%yast_install

rm -f $RPM_BUILD_ROOT/%{yast_plugindir}/libpy2StorageCallbacks.la
rm -f $RPM_BUILD_ROOT/%{yast_plugindir}/libpy2StorageCallbacks.so


%post
%{fillup_only -an storage}

%files
%defattr(-,root,root)

# storage
%dir %{yast_yncludedir}/partitioning
%{yast_yncludedir}/partitioning/*.rb
%{yast_clientdir}/inst_custom_part.rb
%{yast_clientdir}/inst_resize_ui.rb
%{yast_clientdir}/inst_resize_dialog.rb
%{yast_clientdir}/inst_disk.rb
%{yast_clientdir}/inst_target_part.rb
%{yast_clientdir}/inst_disk_proposal.rb
%{yast_clientdir}/inst_target_selection.rb
%{yast_clientdir}/inst_prepdisk.rb
%{yast_clientdir}/storage_finish.rb
%{yast_clientdir}/partitions_proposal.rb
%{yast_clientdir}/storage.rb
%{yast_clientdir}/disk.rb
%{yast_clientdir}/disk_worker.rb
%{yast_clientdir}/multipath-simple.rb
%{yast_moduledir}/*
/var/adm/fillup-templates/sysconfig.storage-yast2-storage

%dir %{yast_ydatadir}
%{yast_ydatadir}/*.ycp

%doc %dir %{yast_docdir}
%doc %{yast_docdir}/README*
%doc %{yast_docdir}/COPY*

# agents-scr
%{yast_scrconfdir}/*.scr

# libstorage ycp callbacks
%{yast_plugindir}/libpy2StorageCallbacks.so.*

# disk
%dir %{yast_desktopdir}
%{yast_desktopdir}/disk.desktop

# scripts
%{yast_ybindir}/check.boot

%package devel
Requires: libstorage-devel = %(echo `rpm -q --queryformat '%{VERSION}' libstorage-devel`)
Requires: libstdc++-devel yast2-storage = %version

Summary: YaST2 - Storage Library Headers and Documentation
Group: Development/Libraries/YaST

%description devel
This package contains the files for YaST2 that are needed of one wants
to develop a program using libstorage.

%files devel
%defattr(-,root,root)
%doc %{yast_docdir}/autodocs
%doc %{yast_docdir}/config.xml.description
106 changes: 0 additions & 106 deletions yast2-storage.spec.in

This file was deleted.

0 comments on commit 6583705

Please sign in to comment.