Accepting request 97031 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/97031 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wv?expand=0&rev=13
This commit is contained in:
commit
ea2f158b81
12
wv.changes
12
wv.changes
@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 22 15:34:06 UTC 2011 - jengelh@medozas.de
|
||||||
|
|
||||||
|
- Correct License: field and use SPDX format (bnc#731983)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 15 16:14:30 UTC 2011 - jengelh@medozas.de
|
||||||
|
|
||||||
|
- Remove redundant/unwanted tags/section (cf. specfile guidelines)
|
||||||
|
- Use %_smp_mflags for parallel building
|
||||||
|
- Apply shared library packaging (-> libwv-1_2 subpackage)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 15 13:14:56 UTC 2011 - coolo@suse.com
|
Tue Nov 15 13:14:56 UTC 2011 - coolo@suse.com
|
||||||
|
|
||||||
|
32
wv.spec
32
wv.spec
@ -15,18 +15,17 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
|
|
||||||
Name: wv
|
Name: wv
|
||||||
|
%define lname libwv-1_2-1
|
||||||
BuildRequires: glib2-devel libgsf-devel libtiff-devel libtool libwmf-devel libxml2-devel pkgconfig
|
BuildRequires: glib2-devel libgsf-devel libtiff-devel libtool libwmf-devel libxml2-devel pkgconfig
|
||||||
License: GPL v2 or later ; LGPL v2.1 or later
|
License: GPL-2.0+
|
||||||
Group: Productivity/Publishing/Word
|
Group: Productivity/Publishing/Word
|
||||||
AutoReqProv: on
|
|
||||||
Version: 1.2.2
|
Version: 1.2.2
|
||||||
Release: 216
|
Release: 216
|
||||||
Summary: Library and Tools for Importing Microsoft Word (tm) Documents
|
Summary: Tools for Importing Microsoft Word (tm) Documents
|
||||||
Url: http://wvWare.sourceforge.net/
|
URL: http://wvWare.sourceforge.net/
|
||||||
Source: wv-%{version}.tar.gz
|
Source: wv-%{version}.tar.gz
|
||||||
Patch: wv-1.2.2-automake.patch
|
Patch: wv-1.2.2-automake.patch
|
||||||
Patch5: wv-1.0.3-wvText.patch
|
Patch5: wv-1.0.3-wvText.patch
|
||||||
@ -47,12 +46,17 @@ Authors:
|
|||||||
--------
|
--------
|
||||||
Caolan McNamara <Caolan.McNamara@ul.ie>
|
Caolan McNamara <Caolan.McNamara@ul.ie>
|
||||||
|
|
||||||
|
%package -n %lname
|
||||||
|
Summary: Library for importing Microsoft Word documents
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n %lname
|
||||||
|
libwv can parse the Microsoft Word 8 binary file format (Office97).
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
License: GPL v2 or later
|
Requires: %lname = %version, libgsf-devel libwmf-devel
|
||||||
Requires: %{name} = %{version} libgsf-devel libwmf-devel
|
|
||||||
Summary: Static Libraries and Header Files for wv
|
Summary: Static Libraries and Header Files for wv
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
AutoReqProv: on
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Static Libraries and Header Files for wv.
|
Static Libraries and Header Files for wv.
|
||||||
@ -82,12 +86,9 @@ CFLAGS="$RPM_OPT_FLAGS %{warn_flags} -fno-strict-aliasing -fstack-protector" \
|
|||||||
make DESTDIR=$RPM_BUILD_ROOT manonedir=%{_mandir}/man1 install
|
make DESTDIR=$RPM_BUILD_ROOT manonedir=%{_mandir}/man1 install
|
||||||
rm -f %{buildroot}%{_libdir}/*.la
|
rm -f %{buildroot}%{_libdir}/*.la
|
||||||
|
|
||||||
%clean
|
%post -n %lname -p /sbin/ldconfig
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%postun -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -108,10 +109,13 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
/usr/bin/wvWml
|
/usr/bin/wvWml
|
||||||
/usr/bin/wvDocBook
|
/usr/bin/wvDocBook
|
||||||
/usr/share/wv
|
/usr/share/wv
|
||||||
%{_libdir}/*.so.*
|
|
||||||
%doc %{_mandir}/*/*
|
%doc %{_mandir}/*/*
|
||||||
%doc COPYING README
|
%doc COPYING README
|
||||||
|
|
||||||
|
%files -n %lname
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%_libdir/libwv-1.2.so.1*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%_libdir/pkgconfig/*
|
%_libdir/pkgconfig/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user