Hello community,

here is the log from the commit of package wordnet for openSUSE:Factory checked 
in at 2017-05-27 13:16:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/wordnet (Old)
 and      /work/SRC/openSUSE:Factory/.wordnet.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "wordnet"

Sat May 27 13:16:22 2017 rev:13 rq:496969 version:3.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/wordnet/wordnet.changes  2016-10-10 
16:20:16.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.wordnet.new/wordnet.changes     2017-05-27 
13:16:24.384119114 +0200
@@ -1,0 +2,6 @@
+Tue May  9 13:19:15 UTC 2017 - [email protected]
+
+- Split shared library
+- Small cleanup with spec-cleaner
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ wordnet.spec ++++++
--- /var/tmp/diff_new_pack.kMPvbz/_old  2017-05-27 13:16:25.703932524 +0200
+++ /var/tmp/diff_new_pack.kMPvbz/_new  2017-05-27 13:16:25.707931958 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package wordnet
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,6 +17,8 @@
 
 
 %define dbver 3.1
+%define sover 3
+%define lib_name libWN%{sover}
 
 Name:           wordnet
 Version:        3.0
@@ -59,11 +61,26 @@
 WordNet's structure makes it a useful tool for computational linguistics and
 natural language processing.
 
-%package devel
+%package -n %{lib_name}
+Summary:        Shared library for %{name}
+Group:          System/Libraries
+
+%description -n %{lib_name}
+WordNet is a large lexical database of English, developed under the direction
+of George A. Miller. Nouns, verbs, adjectives and adverbs are grouped into sets
+of cognitive synonyms (synsets), each expressing a distinct concept. Synsets
+are interlinked by means of conceptual-semantic and lexical relations. The
+resulting network of meaningfully related words and concepts can be navigated
+with the browser. WordNet is also freely and publicly available for download.
+WordNet's structure makes it a useful tool for computational linguistics and
+natural language processing.
 
+This package contains shared library for %{name}.
+
+%package devel
 Summary:        The development libraries and header files for WordNet
 Group:          Development/Libraries/Other
-Requires:       %{name} = %{version}
+Requires:       %{lib_name} = %{version}
 Requires:       tcl-devel
 Requires:       tk-devel
 
@@ -95,7 +112,7 @@
 autoupdate
 autoreconf -i
 
-CFLAGS="%optflags -DUSE_INTERP_RESULT"
+CFLAGS="%{optflags} -DUSE_INTERP_RESULT"
 %configure --enable-static=no --prefix=%{_datadir}/wordnet-%{version}/
 
 make %{?_smp_mflags}
@@ -116,12 +133,8 @@
 
 %fdupes %{buildroot}%{_datadir}/%{name}-%{version}/dict/
 
-%clean
-%{?buildroot:rm -rf %{buildroot}}
-
-%post -p /sbin/ldconfig
-
-%postun -p /sbin/ldconfig
+%post -n %{lib_name} -p /sbin/ldconfig
+%postun -n %{lib_name} -p /sbin/ldconfig
 
 %files
 %defattr(-,root,root)
@@ -129,15 +142,18 @@
 %{_bindir}/wishwn
 %{_bindir}/wn
 %{_bindir}/wnb
-%{_mandir}/man1/*.1.gz
-%{_mandir}/man5/*.5.gz
-%{_mandir}/man7/*.7.gz
+%{_mandir}/man1/*.1%{ext_man}
+%{_mandir}/man5/*.5%{ext_man}
+%{_mandir}/man7/*.7%{ext_man}
 %{_datadir}/%{name}-%{version}/
-%{_libdir}/libWN.so.*
+
+%files -n %{lib_name}
+%defattr(-,root,root)
+%{_libdir}/libWN.so.%{sover}*
 
 %files devel
 %defattr(-,root,root,-)
-%{_mandir}/man3/*.3.gz
+%{_mandir}/man3/*.3%{ext_man}
 %{_includedir}/wn.h
 %{_libdir}/libWN.so
 


Reply via email to