Skip to content

Commit

Permalink
do not use *.spec.in template
Browse files Browse the repository at this point in the history
use *.spec file with RPM macros instead

- 3.1.0
  • Loading branch information
lslezak committed Sep 19, 2013
1 parent fa01881 commit 41bf282
Show file tree
Hide file tree
Showing 5 changed files with 99 additions and 67 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ config.log
config.status
config.sub
configure
configure.in
configure.ac
depcomp
install-sh
*.pot
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0.0
3.1.0
7 changes: 7 additions & 0 deletions package/yast2-online-update.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Sep 19 12:17:52 UTC 2013 - lslezak@suse.cz

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

-------------------------------------------------------------------
Wed Jul 31 08:34:42 UTC 2013 - yast-devel@opensuse.org

Expand Down
90 changes: 90 additions & 0 deletions package/yast2-online-update.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
#
# spec file for package yast2-online-update
#
# 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-online-update
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 update-desktop-files yast2-packager
BuildRequires: yast2-devtools >= 3.0.6
# patch contents
Requires: yast2-pkg-bindings >= 2.23.0
# Kernel::InformAboutKernelChange
Requires: yast2 >= 2.23.8
# PackageCallbacks::FormatPatchName
Requires: yast2-packager >= 2.13.159

Provides: y2c_online_update yast2-config-online-update
Obsoletes: y2c_online_update yast2-config-online-update
Provides: yast2-trans-online-update y2t_online_update
Obsoletes: yast2-trans-online-update y2t_online_update
BuildArchitectures: noarch

Requires: yast2-ruby-bindings >= 1.0.0

Summary: YaST2 - Online Update (YOU)

%description
YaST Online Update (YOU) provides a convenient way to download and
install security and other system updates. By default it uses the
official SuSE mirrors as the update sources, but it can also use local
patch repositories or patch CDs.

This package provides the graphical user interface for YOU which can be
used with or without the X Window System. It can be started from the
YaST control center.

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

%build
%yast_build

%install
%yast_install


%files
%defattr(-,root,root)
%{yast_scrconfdir}/*.scr
%{yast_clientdir}/online*.rb
%{yast_clientdir}/cd_update.rb
%{yast_clientdir}/inst_you.rb
%{yast_clientdir}/do_online_update_auto.rb
%{yast_moduledir}/OnlineUpdate*.rb
%doc %{yast_docdir}

%package frontend
Summary: YaST2 - Online Update (YOU)
Requires: yast2-online-update
Group: System/YaST

# PatchCD desktop file moved to yast2-wagon
Conflicts: yast2-wagon <= 2.17.3

%description frontend
Desktop files for YaST2 online update

%files frontend
%defattr(-,root,root)
%{yast_desktopdir}/online_update.desktop
65 changes: 0 additions & 65 deletions yast2-online-update.spec.in

This file was deleted.

0 comments on commit 41bf282

Please sign in to comment.