Accepting request 91690 from home:jengelh:branches:devel:libraries:c_c++
- Remove redundant/unwanted tags/section (cf. specfile guidelines) - Use %_smp_mflags for parallel building - Apply shared library packaging (-> libwv-1_2 subpackage) OBS-URL: https://build.opensuse.org/request/show/91690 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/wv?expand=0&rev=7
This commit is contained in:
parent
ff49157ee1
commit
1435003789
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
||||||
|
|
||||||
|
30
wv.spec
30
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 v2 or later ; LGPL v2.1 or later
|
||||||
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,19 @@ Authors:
|
|||||||
--------
|
--------
|
||||||
Caolan McNamara <Caolan.McNamara@ul.ie>
|
Caolan McNamara <Caolan.McNamara@ul.ie>
|
||||||
|
|
||||||
|
%package -n %lname
|
||||||
|
License: LGPL-2.1+
|
||||||
|
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
|
License: GPL v2 or later
|
||||||
Requires: %{name} = %{version} libgsf-devel libwmf-devel
|
Requires: %lname = %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 +88,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 +111,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…
Reference in New Issue
Block a user