Skip to content

Commit

Permalink
Reformatted the spec files (templates) to match the OBS.
Browse files Browse the repository at this point in the history
In particular, updated the copyright year.
/usr/lib/obs/service/format_spec_file --outdir .
  • Loading branch information
mvidner committed Feb 24, 2014
1 parent aed2fbb commit dd6cc66
Showing 1 changed file with 29 additions and 34 deletions.
63 changes: 29 additions & 34 deletions libyui-gtk.spec.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# spec file for package @PROJECTNAME@ (Version @VERSION@)
# spec file for package @PROJECTNAME@
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 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
Expand All @@ -11,60 +11,57 @@
# 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/
#
# norootforbuild

Name: @PROJECTNAME@
Version: @VERSION@
Release: 0
License: LGPL-2.1 or LGPL-3.0
Source: @PROJECTNAME@-%{version}.tar.bz2
Group: System/Libraries

Name: @PROJECTNAME@
Version: @VERSION@
Release: 0
Source: @PROJECTNAME@-%{version}.tar.bz2

BuildRequires: boost-devel
BuildRequires: cmake >= 2.8
BuildRequires: gcc-c++
BuildRequires: pkg-config
BuildRequires: libyui-devel >= 3.0.4
BuildRequires: gtk3-devel
Provides: yui_backend = @SONAME_MAJOR@

BuildRequires: libyui-devel >= 3.0.4
BuildRequires: pkg-config
Provides: yui_backend = @SONAME_MAJOR@

URL: @URL@
Summary: @SUMMARY@
Url: @URL@
Summary: @SUMMARY@
License: LGPL-2.1 or LGPL-3.0
Group: System/Libraries

%description
@DESCRIPTION@

%package -n @PROJECTNAME@@SONAME_MAJOR@

Group: System/Libraries

Requires: lib@BASELIB@@SONAME_MAJOR@
Provides: lib@BASELIB@-gtk = %{version}
Provides: yast2-gtk = %{version}
Obsoletes: yast2-gtk < %{version}
Requires: lib@BASELIB@@SONAME_MAJOR@
Provides: lib@BASELIB@-gtk = %{version}
Provides: yast2-gtk = %{version}
Obsoletes: yast2-gtk < %{version}

URL: @URL@
Summary: @SUMMARY@
Url: @URL@
Summary: @SUMMARY@
Group: System/Libraries

%description -n @PROJECTNAME@@SONAME_MAJOR@
@DESCRIPTION@


%package devel

Group: Development/Languages/C and C++
Requires: boost-devel
Requires: glibc-devel
Requires: libstdc++-devel
Requires: @PROJECTNAME@@SONAME_MAJOR@ = %{version}

Requires: @PROJECTNAME@@SONAME_MAJOR@ = %{version}
Requires: glibc-devel
Requires: libstdc++-devel
Requires: boost-devel

URL: @URL@
Summary: @PROJECTNAME_UC@ header files
Url: @URL@
Summary: @PROJECTNAME_UC@ header files
Group: Development/Languages/C and C++

%description devel
@DESCRIPTION@
Expand All @@ -76,7 +73,6 @@ This package has very few dependencies.
%prep
%setup -q -n @PROJECTNAME@-%{version}


%build

export CFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
Expand All @@ -103,7 +99,6 @@ cmake .. \

make %{?jobs:-j%jobs}


%install
cd build
make install DESTDIR="$RPM_BUILD_ROOT"
Expand Down

0 comments on commit dd6cc66

Please sign in to comment.