source: projects/specs/branches/6/g/glabels/glabels-vl.spec @ 2051

Revision 2051, 8.6 KB checked in by Takemikaduchi, 13 years ago (diff)

rebuild package

Line 
1Name:           glabels
2Version:        2.2.8
3Release:        4%{?_dist_release}
4Summary:        A program for creating labels and business cards for GNOME
5Summary(ja):    GNOME 用のラベルと名刺を作成するためのプログラム
6
7Group:          Applications/Publishing
8License:        GPLv2+
9URL:            http://glabels.sf.net
10
11Source0:        http://dl.sf.net/%{name}/%{name}-%{version}.tar.bz2
12#Patch0:        %{name}-libxml-XML_PARSE_HUGE.patch
13
14BuildRoot:      %{_tmppath}/%{name}-%{version}-root
15
16BuildRequires:  desktop-file-utils
17BuildRequires:  evolution-data-server-devel >= 2.32.0
18BuildRequires:  gettext
19BuildRequires:  gtk2-devel >= 2.22.0
20BuildRequires:  glib2 >= 2.26.0
21BuildRequires:  libglade2-devel >= 2.6
22BuildRequires:  libgnomeui-devel >= 2.16
23BuildRequires:  libSM-devel
24BuildRequires:  libxml2 >= 2.6
25BuildRequires:  perl-XML-Parser
26BuildRequires:  scrollkeeper
27BuildRequires:  intltool
28BuildRequires:  gnome-doc-utils >= 0.3.2
29
30Requires(post): desktop-file-utils
31Requires(post): /sbin/ldconfig
32Requires(post): shared-mime-info
33
34Requires(postun):       desktop-file-utils
35Requires(postun):       /sbin/ldconfig
36Requires(postun):       shared-mime-info
37
38Requires:       %{name}-libs = %{version}-%{release}
39Requires:       %{name}-doc = %{version}-%{release}
40       
41%description
42gLabels is a lightweight program for creating labels and
43business cards for the GNOME desktop environment.
44It is designed to work with various laser/ink-jet peel-off
45label and business card sheets that you'll find at most office
46supply stores.
47
48%description -l ja
49gLabels はGNOME デスクトップ環境用のラベルや名刺を
50作成するための軽量のプログラムです。
51殆どのオフィス用品店で見つけることができる様々な
52レーザー/インクジェット用のラベルや名刺用紙に対応するよう
53設計されています。
54
55%package        devel
56Summary:        Development files for %{name}
57Summary(ja):    %{name} の開発ファイル
58License:        LGPLv2+
59Group:          Development/Libraries
60Requires:       %{name}-libs = %{version}-%{release}
61
62%description    devel
63This package contains the header files and development documentation for
64libglabels.
65
66%description -l ja devel
67このパッケージは libglabels のヘッダファイルと
68開発ドキュメントを含んでいます。
69
70
71%package        libs
72License:        LGPLv2+
73Summary:        Shared liblaries for %{name}
74Summary(ja):    %{name} の共有ライブラリ
75Group:          Development/Libraries
76
77%description    libs
78This package contains the shared libraries for %{name}.
79
80%description -l ja libs
81このパッケージは %{name} の共有ライブラリを含んでいます。
82
83
84%package        doc
85License:        GFDL
86Summary:        Runtime documentation for %{name}
87Summary(ja):    %{name} の実行ドキュメント
88Group:          Development/Libraries
89Requires(post): scrollkeeper
90Requires(postun):       scrollkeeper
91
92%description    doc
93This package contains the runtime documentation and manual pages for %{name}.
94
95%description -l ja doc
96このパッケージは %{name} の実行ドキュメントとマニュアルを含んでいます。 
97
98%prep
99%setup -q
100#%patch0 -p1 -b .libxml-XML_PARSE_HUGE
101
102
103%build
104%configure --disable-update-mimedb --disable-update-desktopdb --disable-static
105make %{?_smp_mflags}
106
107
108%install
109rm -rf %{buildroot}
110make install DESTDIR=%{buildroot}
111desktop-file-install                                    \
112        --vendor=vine                                   \
113        --dir %{buildroot}%{_datadir}/applications      \
114        --delete-original                               \
115        %{buildroot}%{_datadir}/applications/%{name}.desktop
116%find_lang %{name}
117## Fix encodings.
118for DOC_FILE in AUTHORS ChangeLog NEWS; do
119        %{_bindir}/iconv -f iso8859-1 -t utf-8 ${DOC_FILE} > ${DOC_FILE}.conv;
120        mv -f ${DOC_FILE}.conv ${DOC_FILE};
121done
122
123rm -rf %{buildroot}%{_libdir}/libglabels.la
124rm -rf %{buildroot}%{_libdir}/libglabels.a
125
126
127%post
128update-desktop-database &> /dev/null ||:
129update-mime-database %{_datadir}/mime &> /dev/null ||:
130
131%postun
132update-desktop-database &> /dev/null ||:
133update-mime-database %{_datadir}/mime &> /dev/null ||:
134
135
136%post   libs -p /sbin/ldconfig
137
138%postun libs -p /sbin/ldconfig
139
140
141%post   doc
142scrollkeeper-update -q -o %{_datadir}/omf/%{name} ||:
143
144%postun doc
145scrollkeeper-update -q ||:
146
147
148%clean
149rm -rf %{buildroot}
150
151
152%files -f %{name}.lang
153%defattr(-,root,root,-)
154%doc AUTHORS ChangeLog COPYING COPYING.README_FIRST NEWS README TODO
155%{_bindir}/glabels*
156%{_datadir}/application-registry/glabels.applications
157%{_datadir}/applications/vine-glabels.desktop
158%{_datadir}/glabels/
159%{_datadir}/mime/packages/glabels.xml
160%{_datadir}/mime-info/glabels.*
161%{_datadir}/pixmaps/glabels/
162%{_datadir}/pixmaps/glabels*.png
163
164%files  devel
165%defattr(-,root,root,-)
166%doc AUTHORS COPYING-LIBGLABELS
167%doc %{_datadir}/gtk-doc/html/libglabels
168#%exclude %{_libdir}/libglabels.la
169#%exclude %{_libdir}/libglabels.a
170%{_includedir}/libglabels/
171%{_libdir}/libglabels.so
172%{_libdir}/pkgconfig/libglabels.pc
173
174%files  libs
175%defattr(-,root,root,-)
176%doc AUTHORS COPYING-LIBGLABELS
177%{_libdir}/libglabels.so.*
178
179%files  doc
180%defattr(-,root,root,-)
181## Manual ("man") pages are automatically marked as %%doc by RPM.
182%doc AUTHORS COPYING-DOCS
183%doc %{_datadir}/gnome/help/glabels/
184%{_datadir}/omf/glabels/
185%{_mandir}/man?/glabels.*
186
187
188%changelog
189* Tue Oct 12 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.8-4
190- rebuild with evolution-data-server-2.32.0
191
192* Tue Sep 28 2010 Shu KONNO <owa@bg.wakwak.com> 2.2.8-3
193- rebuilt with rpm-4.8.1 for pkg-config
194
195* Sat Jun 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.2.8-2
196- rebuild with evolution-data-server-2.30.2
197
198* Thu Apr 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.2.8-1
199- new upstream release
200- add BuildRequires: gnome-doc-utils >= 0.3.2
201
202* Wed Mar 3 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.2.7-1
203- New upstream release
204- dropt Patch0
205- added BuildRequires: libSM-devel
206
207* Wed Nov 18 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.2.6-1
208- New upstream release
209- changed BuildRequires: gtk2 to gtk2-devel
210- added BuildRequires: intltool
211- added Patch1 from Fedora
212
213* Sun Jun 21 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.2.5-1
214- initial build for VineSeed
215
216* Wed Jan 07 2009 Peter Gordon <peter@thecodergeek.com> - 2.2.4-1
217- Update to new upstream bug-fix release (2.2.4):
218  * Corrected button order in "Open" and "Save as" dialogs.
219  * Fixed performance problem when large number of fonts are installed.
220  * Corrected several i18n problems.
221  * Fixed "paste" bug that created phantom object views.
222  * Fixed performance problem when many objects are selected.
223  * New templates. 
224
225* Tue Aug 26 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.2.3-2
226- fix license tag (again)
227
228* Thu Aug 21 2008 Peter Gordon <peter@thecodergeek.com> - 2.2.3-1
229- Update to new upstream bug-fix release (2.2.3).
230- Drop glabels-batch segfault patch (fixed upstream).
231  - fix-batch-segfault.patch
232
233* Fri Aug 08 2008 Peter Gordon <peter@thecodergeek.com> - 2.2.2-3
234- Add patch from Casey Harkins to fix a segfault in glabels-batch:
235  + fix-batch-segfault.patch
236- Resolves: bug #458473.
237
238* Mon Jul 21 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.2.2-2
239- fix license tag
240
241* Tue Mar 04 2008 Peter Gordon <peter@thecodergeek.com> - 2.2.2-1
242- Update to new upstream bug-fix release (2.2.2).
243
244* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.2.1-2
245- Autorebuild for GCC 4.3
246
247* Mon Jan 28 2008 Peter Gordon <peter@thecodergeek.com> - 2.2.1-1
248- Update to new upstream bug-fix release (2.2.1).
249
250* Mon Jan 14 2008 Peter Gordon <peter@thecodergeek.com> - 2.2.0-1
251- Update to new upstream release (2.2.0 Final); Yay!
252
253* Sun Dec 16 2007 Peter Gordon <peter@thecodergeek.com> - 2.1.5-1
254- Update to new upstream development snapshot (2.1.5).
255
256* Tue Aug 21 2007 Peter Gordon <peter@thecodergeek.com> - 2.0.4-7
257- Rebuild with new BuildID-enabled binutils.
258
259* Fri Aug 03 2007 Peter Gordon <peter@thecodergeek.com> - 2.0.4-6
260- Update License tagging (GPLv2+). This necessitates a split of two
261  subpackages:
262  (1) glabels-doc: Runtime documentation for gLabels (GFDLv1.1+)
263  (2) glabels-libs: Shared libraries for gLabels (LGPLv2+)
264- Fix version in previous %%changelog entry.
265- Lots and lots of aesthetic spec file changes.
266- Remove X-Fedora category from desktop-file-install invocation.
267- Add TODO to installed %%doc files.
268
269* Sun Aug 27 2006 Peter Gordon <peter@thecodergeek.com> - 2.0.4-5
270- Add BR: perl(XML::Parser)
271 
272* Sun Aug 27 2006 Peter Gordon <peter@thecodergeek.com> - 2.0.4-4
273- Mass FC6 rebuild
274
275* Wed Jul 05 2006 Peter Gordon <peter@thecodergeek.com> - 2.0.4-3
276- Add BuildRequires: gettext (#197633)
277
278* Sat Feb 18 2006 Jef Spaleta <jspaleta@gmail.com> - 2.0.4-2
279- Bump for fe5 rebuild
280
281* Sat Jan 01 2006 Jef Spaleta <jspaleta@gmail.com> - 2.0.4-1
282- Update to new stable upstream version
283
284* Thu Aug 18 2005 Jef Spaleta <jspaleta@gmail.com> - 2.0.3-3
285- rebuild
286
287* Thu Jul 7 2005 Jef Spaleta <jspaleta@gmail.com> - 2.0.3-2
288- use Source0
289
290* Mon Jul 5 2005 Jef Spaleta <jspaleta@gmail.com> - 2.0.3-1
291- Initial fedora extras build
292
Note: See TracBrowser for help on using the repository browser.