[521] | 1 | Name: glabels |
---|
[926] | 2 | Version: 2.2.8 |
---|
[2051] | 3 | Release: 4%{?_dist_release} |
---|
[521] | 4 | Summary: A program for creating labels and business cards for GNOME |
---|
| 5 | Summary(ja): GNOME 用のラベルと名刺を作成するためのプログラム |
---|
| 6 | |
---|
| 7 | Group: Applications/Publishing |
---|
| 8 | License: GPLv2+ |
---|
| 9 | URL: http://glabels.sf.net |
---|
| 10 | |
---|
[926] | 11 | Source0: http://dl.sf.net/%{name}/%{name}-%{version}.tar.bz2 |
---|
[521] | 12 | #Patch0: %{name}-libxml-XML_PARSE_HUGE.patch |
---|
| 13 | |
---|
| 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 15 | |
---|
| 16 | BuildRequires: desktop-file-utils |
---|
[2051] | 17 | BuildRequires: evolution-data-server-devel >= 2.32.0 |
---|
[521] | 18 | BuildRequires: gettext |
---|
[2051] | 19 | BuildRequires: gtk2-devel >= 2.22.0 |
---|
| 20 | BuildRequires: glib2 >= 2.26.0 |
---|
[521] | 21 | BuildRequires: libglade2-devel >= 2.6 |
---|
| 22 | BuildRequires: libgnomeui-devel >= 2.16 |
---|
| 23 | BuildRequires: libSM-devel |
---|
| 24 | BuildRequires: libxml2 >= 2.6 |
---|
| 25 | BuildRequires: perl-XML-Parser |
---|
| 26 | BuildRequires: scrollkeeper |
---|
| 27 | BuildRequires: intltool |
---|
[926] | 28 | BuildRequires: gnome-doc-utils >= 0.3.2 |
---|
[521] | 29 | |
---|
| 30 | Requires(post): desktop-file-utils |
---|
| 31 | Requires(post): /sbin/ldconfig |
---|
| 32 | Requires(post): shared-mime-info |
---|
| 33 | |
---|
| 34 | Requires(postun): desktop-file-utils |
---|
| 35 | Requires(postun): /sbin/ldconfig |
---|
| 36 | Requires(postun): shared-mime-info |
---|
| 37 | |
---|
| 38 | Requires: %{name}-libs = %{version}-%{release} |
---|
| 39 | Requires: %{name}-doc = %{version}-%{release} |
---|
| 40 | |
---|
| 41 | %description |
---|
| 42 | gLabels is a lightweight program for creating labels and |
---|
| 43 | business cards for the GNOME desktop environment. |
---|
| 44 | It is designed to work with various laser/ink-jet peel-off |
---|
| 45 | label and business card sheets that you'll find at most office |
---|
| 46 | supply stores. |
---|
| 47 | |
---|
| 48 | %description -l ja |
---|
| 49 | gLabels はGNOME デスクトップ環境用のラベルや名刺を |
---|
| 50 | 作成するための軽量のプログラムです。 |
---|
| 51 | 殆どのオフィス用品店で見つけることができる様々な |
---|
| 52 | レーザー/インクジェット用のラベルや名刺用紙に対応するよう |
---|
| 53 | 設計されています。 |
---|
| 54 | |
---|
| 55 | %package devel |
---|
| 56 | Summary: Development files for %{name} |
---|
| 57 | Summary(ja): %{name} の開発ファイル |
---|
| 58 | License: LGPLv2+ |
---|
| 59 | Group: Development/Libraries |
---|
| 60 | Requires: %{name}-libs = %{version}-%{release} |
---|
| 61 | |
---|
| 62 | %description devel |
---|
| 63 | This package contains the header files and development documentation for |
---|
| 64 | libglabels. |
---|
| 65 | |
---|
| 66 | %description -l ja devel |
---|
| 67 | このパッケージは libglabels のヘッダファイルと |
---|
| 68 | 開発ドキュメントを含んでいます。 |
---|
| 69 | |
---|
| 70 | |
---|
| 71 | %package libs |
---|
| 72 | License: LGPLv2+ |
---|
| 73 | Summary: Shared liblaries for %{name} |
---|
| 74 | Summary(ja): %{name} の共有ライブラリ |
---|
| 75 | Group: Development/Libraries |
---|
| 76 | |
---|
| 77 | %description libs |
---|
| 78 | This package contains the shared libraries for %{name}. |
---|
| 79 | |
---|
| 80 | %description -l ja libs |
---|
| 81 | このパッケージは %{name} の共有ライブラリを含んでいます。 |
---|
| 82 | |
---|
| 83 | |
---|
| 84 | %package doc |
---|
| 85 | License: GFDL |
---|
| 86 | Summary: Runtime documentation for %{name} |
---|
| 87 | Summary(ja): %{name} の実行ドキュメント |
---|
| 88 | Group: Development/Libraries |
---|
| 89 | Requires(post): scrollkeeper |
---|
| 90 | Requires(postun): scrollkeeper |
---|
| 91 | |
---|
| 92 | %description doc |
---|
| 93 | This 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 |
---|
| 105 | make %{?_smp_mflags} |
---|
| 106 | |
---|
| 107 | |
---|
| 108 | %install |
---|
| 109 | rm -rf %{buildroot} |
---|
| 110 | make install DESTDIR=%{buildroot} |
---|
| 111 | desktop-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. |
---|
| 118 | for 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}; |
---|
| 121 | done |
---|
| 122 | |
---|
| 123 | rm -rf %{buildroot}%{_libdir}/libglabels.la |
---|
| 124 | rm -rf %{buildroot}%{_libdir}/libglabels.a |
---|
| 125 | |
---|
| 126 | |
---|
| 127 | %post |
---|
| 128 | update-desktop-database &> /dev/null ||: |
---|
| 129 | update-mime-database %{_datadir}/mime &> /dev/null ||: |
---|
| 130 | |
---|
| 131 | %postun |
---|
| 132 | update-desktop-database &> /dev/null ||: |
---|
| 133 | update-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 |
---|
| 142 | scrollkeeper-update -q -o %{_datadir}/omf/%{name} ||: |
---|
| 143 | |
---|
| 144 | %postun doc |
---|
| 145 | scrollkeeper-update -q ||: |
---|
| 146 | |
---|
| 147 | |
---|
| 148 | %clean |
---|
| 149 | rm -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 |
---|
[2051] | 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 | |
---|
[1947] | 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 | |
---|
[1250] | 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 | |
---|
[926] | 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 | |
---|
[521] | 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 | |
---|