source: projects/specs/trunk/w/wv2/wv2-vl.spec @ 10816

Revision 10816, 3.2 KB checked in by ara_t, 7 years ago (diff)

rebuild for VineSeed

Line 
1Summary: library which allows access to Microsoft Word files
2Summary(ja): Microsoft Word 形式のファイルを扱うためのライブラリ
3Name: wv2
4Version: 0.4.2
5Release: 2%{?_dist_release}
6
7Group: System Environment/Libraries
8License: LGPL
9URL: http://wvWare.sourceforge.net/
10
11Source: http://download.sourceforge.net/wvware/wv2-%{version}.tar.bz2
12
13BuildRoot: %{_tmppath}/%{name}-%{version}-root
14BuildRequires: cmake
15BuildRequires: glib2-devel
16BuildRequires: libgsf-devel >= 1.7.2
17BuildRequires: zlib-devel
18
19%description
20wv is a library which allows access to Microsoft Word files. It can load
21and parse Word 2000, 97, 95 and 6 file formats. (These are the file formats
22known internally as Word 9, 8, 7 and 6.) There is some support for reading
23earlier formats as well: Word 2 docs are converted to plaintext.
24
25%package devel
26Summary: Development files for wv2
27Summary(ja): wv2 の開発用ファイル
28Group: Development/Libraries
29Requires: %{name} = %{version}-%{release}
30
31%description devel
32Development files for wv2
33
34%prep
35%setup -q
36
37%build
38export CXXFLAGS="%{optflags} `pkg-config libgsf-1 --cflags`"
39mkdir -p %{_target_platform}
40pushd %{_target_platform}
41%cmake ..
42popd
43
44make %{?_smp_mflags} -C %{_target_platform}
45
46%install
47rm -rf $RPM_BUILD_ROOT
48make DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} install
49
50rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
51
52%clean
53rm -rf $RPM_BUILD_ROOT
54
55%post -p /sbin/ldconfig
56
57%postun -p /sbin/ldconfig
58
59%files
60%defattr(-,root,root)
61%doc AUTHORS COPYING.LIB ChangeLog README RELEASE THANKS TODO
62%{_libdir}/*.so.*
63
64%files devel
65%defattr(-,root,root)
66%{_bindir}/*
67%{_includedir}/wv2/*
68%{_libdir}/*.so
69%{_libdir}/wvWare/*.cmake
70
71%changelog
72* Wed Nov 16 2016 Toshiaki Ara <ara_t@384.jp> 0.4.2-2
73- rebuild under VineSeed
74- add export CXXFLAGS="%%{optflags} `pkg-config libgsf-1 --cflags`"
75
76* Sat Mar 26 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4.2-1
77- new upstream release
78- added %%post and %%postun section
79
80* Wed May  6 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.1-1
81- new upstream release
82- spec in UTF-8
83
84* Tue Jul 22 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.3-1
85- applied new versioning policy
86- removed lib*.la files
87
88* Sun May 13 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.3-0vl4
89- rebuilt with new toolchain
90
91* Sun Oct 22 2006 NAKAMURA Kenta <kenta@vinelinux.org> 0.2.3-0vl3
92- added --libdir=%%{_libdir} configure option
93
94* Tue Aug  1 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.3-0vl2
95- rebuilt for VineSeed (4.0)
96
97* Tue Aug  1 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.3-0vl1
98- new upstream release (including security fix CVE-2006-2197)
99- added Japanese summary
100
101* Sat Jun 17 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.2.2-0vl4
102- rebuild
103
104* Sun Mar 12 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.2-0vl3
105- rebuild with libgsf-1.14.0
106
107* Thu Nov 17 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.2.2-0vl2
108- rebuild with libgsf-1.13.3
109
110* Sun Jul 11 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.2-0vl1
111- source upgrade
112
113* Sat Sep 20 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.1.9-0vl1
114- source upgrade
115- build with gcc-3.2.3
116
117* Fri Aug 15 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.1.8-0vl1
118- source upgrade
119
120* Mon Jul 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.1-0vl1
121- first release
Note: See TracBrowser for help on using the repository browser.