From ee617215a668286657662d8ba1c6b876954a4ee029e171280834f25bcc55a1b1 Mon Sep 17 00:00:00 2001 From: Atri Bhattacharya Date: Thu, 20 Mar 2014 02:29:45 +0000 Subject: [PATCH] Accepting request 226682 from home:awissu:tests OBS-URL: https://build.opensuse.org/request/show/226682 OBS-URL: https://build.opensuse.org/package/show/Education/golly?expand=0&rev=3 --- golly.changes | 10 +++++++++- golly.spec | 21 +++++++++++++++++---- 2 files changed, 26 insertions(+), 5 deletions(-) diff --git a/golly.changes b/golly.changes index cf31171..2ce171a 100644 --- a/golly.changes +++ b/golly.changes @@ -1,8 +1,16 @@ +------------------------------------------------------------------- +Wed Mar 19 08:37:00 UTC 2014 - avvissu@yandex.ru + +- create package golly-devel-static + ------------------------------------------------------------------- Wed Mar 19 05:55:57 UTC 2014 - avvissu@yandex.ru -- del zlib.patch +- add golly.desktop +- del golly-zlib.patch + * set ZLIB_LDFLAGS - [Fixed] E: devel-file-in-non-devel-package + * create package golly-devel - add static (.a) are needed for shared builds - to fix compilation on Fedora diff --git a/golly.spec b/golly.spec index 66e88e9..618b751 100644 --- a/golly.spec +++ b/golly.spec @@ -64,12 +64,22 @@ Key features: Summary: Development files for %{name} Group: Development/Libraries/C and C++ License: GPL-2.0+ -Requires: %{name} = %{version}-%{release} +Requires: %{name} = %{version} %description devel This package contains, header files and libraries needed to develop application that use %{name} +%package -n %{name}-devel-static +Summary: Development files and libraries for %{name} +Group: Development/Libraries/C and C++ +License: GPL-2.0+ +Requires: %{name}-devel = %{version} + +%description -n %{name}-devel-static +This package contains, header files and libraries needed to +develop application that use %{name} + %prep %setup -q -n %{name}-%{version}-src @@ -136,10 +146,13 @@ rm -rf %{buildroot} %files devel %defattr(-,root,root,-) -%if 0%{?suse_version} >= 1140 || 0%{?fedora} -%{_libdir}/libgollybase.a -%endif %{_datadir}/%{name}/Rules/TableGenerators %{_datadir}/%{name}/Rules/TreeGenerators +%if 0%{?suse_version} >= 1140 || 0%{?fedora} +%files -n %{name}-devel-static +%defattr(-,root,root,-) +%{_libdir}/libgollybase.a +%endif + %changelog