[521] | 1 | Name: glabels |
---|
[8384] | 2 | Version: 3.2.0 |
---|
| 3 | Release: 1%{?_dist_release} |
---|
[521] | 4 | Summary: A program for creating labels and business cards for GNOME |
---|
| 5 | Summary(ja): GNOME 用のラベルと名刺を作成するためのプログラム |
---|
| 6 | |
---|
| 7 | Group: Applications/Publishing |
---|
[4782] | 8 | License: GPLv3+ |
---|
[521] | 9 | URL: http://glabels.sf.net |
---|
| 10 | |
---|
[6841] | 11 | Source0: http://dl.sf.net/%{name}/%{name}-%{version}.tar.xz |
---|
[521] | 12 | |
---|
[8384] | 13 | #Patch0: glabels-3.0.1-ebook.patch |
---|
[6933] | 14 | |
---|
[521] | 15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 16 | |
---|
[4782] | 17 | BuildRequires: cairo-devel >= 1.10.0 |
---|
[521] | 18 | BuildRequires: desktop-file-utils |
---|
[2051] | 19 | BuildRequires: evolution-data-server-devel >= 2.32.0 |
---|
[521] | 20 | BuildRequires: gettext |
---|
[4782] | 21 | BuildRequires: gtk3-devel >= 3.0.9 |
---|
| 22 | BuildRequires: glib2 >= 2.28.2 |
---|
[521] | 23 | BuildRequires: libglade2-devel >= 2.6 |
---|
| 24 | BuildRequires: libgnomeui-devel >= 2.16 |
---|
[4782] | 25 | BuildRequires:librsvg2-devel >= 2.32.0 |
---|
[521] | 26 | BuildRequires: libSM-devel |
---|
[4782] | 27 | BuildRequires: libxml2 >= 2.7.8 |
---|
| 28 | BuildRequires: pango-devel |
---|
[521] | 29 | BuildRequires: perl-XML-Parser |
---|
| 30 | BuildRequires: scrollkeeper |
---|
| 31 | BuildRequires: intltool |
---|
[926] | 32 | BuildRequires: gnome-doc-utils >= 0.3.2 |
---|
[4782] | 33 | BuildRequires: qrencode-devel |
---|
| 34 | BuildRequires: zint-devel |
---|
[8384] | 35 | BuildRequires: itstool |
---|
[521] | 36 | |
---|
| 37 | Requires(post): desktop-file-utils |
---|
| 38 | Requires(post): /sbin/ldconfig |
---|
| 39 | Requires(post): shared-mime-info |
---|
| 40 | |
---|
| 41 | Requires(postun): desktop-file-utils |
---|
| 42 | Requires(postun): /sbin/ldconfig |
---|
| 43 | Requires(postun): shared-mime-info |
---|
| 44 | |
---|
| 45 | Requires: %{name}-libs = %{version}-%{release} |
---|
| 46 | Requires: %{name}-doc = %{version}-%{release} |
---|
[4782] | 47 | Requires: %{name}-templates = %{version}-%{release} |
---|
[521] | 48 | |
---|
| 49 | %description |
---|
| 50 | gLabels is a lightweight program for creating labels and |
---|
| 51 | business cards for the GNOME desktop environment. |
---|
| 52 | It is designed to work with various laser/ink-jet peel-off |
---|
| 53 | label and business card sheets that you'll find at most office |
---|
| 54 | supply stores. |
---|
| 55 | |
---|
| 56 | %description -l ja |
---|
| 57 | gLabels はGNOME デスクトップ環境用のラベルや名刺を |
---|
| 58 | 作成するための軽量のプログラムです。 |
---|
| 59 | 殆どのオフィス用品店で見つけることができる様々な |
---|
| 60 | レーザー/インクジェット用のラベルや名刺用紙に対応するよう |
---|
| 61 | 設計されています。 |
---|
| 62 | |
---|
| 63 | %package devel |
---|
| 64 | Summary: Development files for %{name} |
---|
| 65 | Summary(ja): %{name} の開発ファイル |
---|
[4782] | 66 | License: LGPLv3+ |
---|
[521] | 67 | Group: Development/Libraries |
---|
| 68 | Requires: %{name}-libs = %{version}-%{release} |
---|
| 69 | |
---|
| 70 | %description devel |
---|
| 71 | This package contains the header files and development documentation for |
---|
[4782] | 72 | libglabels. |
---|
[521] | 73 | |
---|
| 74 | %description -l ja devel |
---|
| 75 | このパッケージは libglabels のヘッダファイルと |
---|
[4782] | 76 | 開発ドキュメントを含んでいます。 |
---|
[521] | 77 | |
---|
| 78 | |
---|
| 79 | %package libs |
---|
[4782] | 80 | License: LGPLv3+ |
---|
[521] | 81 | Summary: Shared liblaries for %{name} |
---|
| 82 | Summary(ja): %{name} の共有ライブラリ |
---|
| 83 | Group: Development/Libraries |
---|
| 84 | |
---|
| 85 | %description libs |
---|
[4782] | 86 | This package contains the shared libraries for %{name}. |
---|
[521] | 87 | |
---|
| 88 | %description -l ja libs |
---|
[4782] | 89 | このパッケージは %{name} の共有ライブラリを含んでいます。 |
---|
[521] | 90 | |
---|
| 91 | |
---|
| 92 | %package doc |
---|
| 93 | License: GFDL |
---|
| 94 | Summary: Runtime documentation for %{name} |
---|
| 95 | Summary(ja): %{name} の実行ドキュメント |
---|
| 96 | Group: Development/Libraries |
---|
| 97 | Requires(post): scrollkeeper |
---|
| 98 | Requires(postun): scrollkeeper |
---|
| 99 | |
---|
| 100 | %description doc |
---|
[4782] | 101 | This package contains the runtime documentation and manual pages for %{name}. |
---|
[521] | 102 | |
---|
| 103 | %description -l ja doc |
---|
[4782] | 104 | このパッケージは %{name} の実行ドキュメントとマニュアルを含んでいます。 |
---|
[521] | 105 | |
---|
[4782] | 106 | |
---|
| 107 | %package templates |
---|
| 108 | License: MIT |
---|
| 109 | Summary: The %{name} template database |
---|
| 110 | Summary(ja): %{name} のテンプレートデータベース |
---|
| 111 | Group: Development/Libraries |
---|
| 112 | ## Needs the glabels-libs subpackage for proper ownership of the top-level |
---|
| 113 | ## libglabels-3.0 directory in %%_datadir. |
---|
| 114 | Requires: %{name}-libs |
---|
| 115 | |
---|
| 116 | %description templates |
---|
| 117 | This package contains the template database for %{name}. |
---|
| 118 | |
---|
| 119 | %description -l ja templates |
---|
| 120 | このパッケージは %{name} のテンプレートデータベースを含んでいます。 |
---|
| 121 | |
---|
[521] | 122 | %prep |
---|
| 123 | %setup -q |
---|
[8384] | 124 | #%patch0 -p1 -b .ebook |
---|
[6715] | 125 | |
---|
[4782] | 126 | sed -i 's/Icon=glabels-3.0.png/Icon=glabels-3.0/g' \ |
---|
| 127 | data/desktop/glabels-3.0.desktop.in |
---|
[521] | 128 | |
---|
| 129 | %build |
---|
[4782] | 130 | %configure --enable-static=no --enable-gtk-doc |
---|
[521] | 131 | make %{?_smp_mflags} |
---|
| 132 | |
---|
| 133 | |
---|
| 134 | %install |
---|
| 135 | rm -rf %{buildroot} |
---|
| 136 | make install DESTDIR=%{buildroot} |
---|
[4782] | 137 | |
---|
[521] | 138 | desktop-file-install \ |
---|
[4782] | 139 | --vendor="" \ |
---|
[521] | 140 | --dir %{buildroot}%{_datadir}/applications \ |
---|
| 141 | --delete-original \ |
---|
[4782] | 142 | %{buildroot}%{_datadir}/applications/%{name}-3.0.desktop |
---|
[521] | 143 | |
---|
[4782] | 144 | %find_lang %{name}-3.0 |
---|
[521] | 145 | |
---|
[4782] | 146 | rm -rf %{buildroot}%{_libdir}/libglabels-3.0.la |
---|
| 147 | rm -rf %{buildroot}%{_libdir}/libglbarcode-3.0.la |
---|
[521] | 148 | |
---|
[4782] | 149 | |
---|
[521] | 150 | %post |
---|
| 151 | update-desktop-database &> /dev/null ||: |
---|
| 152 | update-mime-database %{_datadir}/mime &> /dev/null ||: |
---|
| 153 | |
---|
| 154 | %postun |
---|
| 155 | update-desktop-database &> /dev/null ||: |
---|
| 156 | update-mime-database %{_datadir}/mime &> /dev/null ||: |
---|
[4782] | 157 | if [ $1 -eq 0 ]; then |
---|
| 158 | glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null ||: |
---|
| 159 | fi |
---|
[521] | 160 | |
---|
[6715] | 161 | if [ $1 -eq 0 ] ; then |
---|
| 162 | touch --no-create %{_datadir}/icons/hicolor &>/dev/null |
---|
| 163 | gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
---|
| 164 | fi |
---|
[521] | 165 | |
---|
[6715] | 166 | |
---|
[521] | 167 | %post libs -p /sbin/ldconfig |
---|
| 168 | |
---|
| 169 | %postun libs -p /sbin/ldconfig |
---|
| 170 | |
---|
| 171 | |
---|
| 172 | %post doc |
---|
| 173 | scrollkeeper-update -q -o %{_datadir}/omf/%{name} ||: |
---|
| 174 | |
---|
| 175 | %postun doc |
---|
| 176 | scrollkeeper-update -q ||: |
---|
| 177 | |
---|
[4782] | 178 | %posttrans |
---|
| 179 | glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null ||: |
---|
[6715] | 180 | %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
---|
[521] | 181 | |
---|
| 182 | %clean |
---|
| 183 | rm -rf %{buildroot} |
---|
| 184 | |
---|
| 185 | |
---|
[4782] | 186 | %files -f %{name}-3.0.lang |
---|
[521] | 187 | %defattr(-,root,root,-) |
---|
| 188 | %doc AUTHORS ChangeLog COPYING COPYING.README_FIRST NEWS README TODO |
---|
| 189 | %{_bindir}/glabels* |
---|
[4782] | 190 | %{_datadir}/applications/glabels-3.0.desktop |
---|
| 191 | %{_datadir}/glib-2.0/schemas/org.gnome.glabels-3.gschema.xml |
---|
| 192 | %{_datadir}/glabels-3.0/ |
---|
| 193 | %{_datadir}/icons/hicolor/*/ |
---|
| 194 | %{_datadir}/mime/packages/glabels-3.0.xml |
---|
[8384] | 195 | %{_datadir}/appdata/glabels-3.appdata.xml |
---|
[521] | 196 | |
---|
| 197 | %files devel |
---|
| 198 | %defattr(-,root,root,-) |
---|
[4782] | 199 | %doc AUTHORS COPYING-LIBS |
---|
| 200 | %doc %{_datadir}/gtk-doc/html/libglabels-3.0/ |
---|
| 201 | %{_includedir}/libglabels-3.0/ |
---|
| 202 | %{_includedir}/libglbarcode-3.0/ |
---|
| 203 | %{_libdir}/libglabels-3.0.so |
---|
| 204 | %{_libdir}/libglbarcode-3.0.so |
---|
| 205 | %{_libdir}/pkgconfig/libglabels-3.0.pc |
---|
| 206 | %{_libdir}/pkgconfig/libglbarcode-3.0.pc |
---|
[521] | 207 | |
---|
| 208 | %files libs |
---|
| 209 | %defattr(-,root,root,-) |
---|
[4782] | 210 | %doc AUTHORS COPYING-LIBS |
---|
| 211 | %dir %{_datadir}/libglabels-3.0/ |
---|
| 212 | %{_datadir}/glabels-3.0/ |
---|
| 213 | %{_libdir}/libglabels-3.0.so.* |
---|
| 214 | %{_libdir}/libglbarcode-3.0.so.* |
---|
[521] | 215 | |
---|
| 216 | %files doc |
---|
| 217 | %defattr(-,root,root,-) |
---|
| 218 | ## Manual ("man") pages are automatically marked as %%doc by RPM. |
---|
| 219 | %doc AUTHORS COPYING-DOCS |
---|
[8384] | 220 | %doc %{_datadir}/help/*/glabels-3.0/ |
---|
[4782] | 221 | %{_mandir}/man?/glabels-3* |
---|
| 222 | %{_datadir}/gtk-doc/html/libglabels-3.0/ |
---|
| 223 | %{_datadir}/gtk-doc/html/libglbarcode-3.0/ |
---|
[521] | 224 | |
---|
[4782] | 225 | %files templates |
---|
| 226 | %doc AUTHORS COPYING-TEMPLATES |
---|
| 227 | %{_datadir}/libglabels-3.0/dtd/ |
---|
| 228 | %{_datadir}/libglabels-3.0/templates/ |
---|
[521] | 229 | |
---|
[4782] | 230 | |
---|
[521] | 231 | %changelog |
---|
[8384] | 232 | * Sat Apr 26 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 3.2.0-1 |
---|
| 233 | - new upstream release |
---|
| 234 | - deleted Patch0 |
---|
| 235 | - added BuildRequires: itstool |
---|
| 236 | |
---|
[6933] | 237 | * Sun Oct 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.1-3 |
---|
| 238 | - add Patch0 (glabels-3.0.1-ebook.patch) |
---|
[6890] | 239 | |
---|
[6841] | 240 | * Sat Sep 22 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 3.0.1-1 |
---|
| 241 | - new upstream release |
---|
| 242 | - changed source archive type bz2 to xz |
---|
| 243 | - deleted Patch0 |
---|
| 244 | |
---|
[6715] | 245 | * Sun Aug 12 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 3.0.0-2 |
---|
| 246 | - added Patch0 from Fedora |
---|
| 247 | - run gtk-update-icon-cache in %%posttrans, %%postun |
---|
| 248 | |
---|
[4782] | 249 | * Sat Sep 17 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 3.0.0-1 |
---|
| 250 | - new upstream release |
---|
| 251 | - changed License: GPLv2+ to GPLv3+ |
---|
| 252 | - changed %%configure option |
---|
| 253 | - deleted unrecognized option |
---|
| 254 | - changed --disable-static to --enable-static=no |
---|
| 255 | - added --enable-gtk-doc |
---|
| 256 | - added BuildRequires: cairo-devel >= 1.10.0, pango-devel, qrencode-devel, zint-devel |
---|
| 257 | - changed BuildRequires: gtk2-devel >= 2.22.0 to gtk3-devel >= 3.0.9 |
---|
| 258 | - made -templates sub package |
---|
| 259 | - unresolved: can't appear icon on desktop file.. |
---|
| 260 | |
---|
[4704] | 261 | * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.8-6 |
---|
| 262 | - rebuild with evolution-data-server-3.1.90 |
---|
| 263 | |
---|
[4632] | 264 | * Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.8-5 |
---|
| 265 | - rebuild with evolution-data-server-3.1.4 |
---|
| 266 | |
---|
[2051] | 267 | * Tue Oct 12 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.8-4 |
---|
| 268 | - rebuild with evolution-data-server-2.32.0 |
---|
| 269 | |
---|
[1947] | 270 | * Tue Sep 28 2010 Shu KONNO <owa@bg.wakwak.com> 2.2.8-3 |
---|
| 271 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
| 272 | |
---|
[1250] | 273 | * Sat Jun 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.2.8-2 |
---|
| 274 | - rebuild with evolution-data-server-2.30.2 |
---|
| 275 | |
---|
[926] | 276 | * Thu Apr 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.2.8-1 |
---|
| 277 | - new upstream release |
---|
| 278 | - add BuildRequires: gnome-doc-utils >= 0.3.2 |
---|
| 279 | |
---|
[521] | 280 | * Wed Mar 3 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.2.7-1 |
---|
| 281 | - New upstream release |
---|
| 282 | - dropt Patch0 |
---|
| 283 | - added BuildRequires: libSM-devel |
---|
| 284 | |
---|
| 285 | * Wed Nov 18 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.2.6-1 |
---|
| 286 | - New upstream release |
---|
| 287 | - changed BuildRequires: gtk2 to gtk2-devel |
---|
| 288 | - added BuildRequires: intltool |
---|
| 289 | - added Patch1 from Fedora |
---|
| 290 | |
---|
| 291 | * Sun Jun 21 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.2.5-1 |
---|
| 292 | - initial build for VineSeed |
---|
| 293 | |
---|
| 294 | * Wed Jan 07 2009 Peter Gordon <peter@thecodergeek.com> - 2.2.4-1 |
---|
| 295 | - Update to new upstream bug-fix release (2.2.4): |
---|
| 296 | * Corrected button order in "Open" and "Save as" dialogs. |
---|
| 297 | * Fixed performance problem when large number of fonts are installed. |
---|
| 298 | * Corrected several i18n problems. |
---|
| 299 | * Fixed "paste" bug that created phantom object views. |
---|
| 300 | * Fixed performance problem when many objects are selected. |
---|
| 301 | * New templates. |
---|
| 302 | |
---|
| 303 | * Tue Aug 26 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.2.3-2 |
---|
| 304 | - fix license tag (again) |
---|
| 305 | |
---|
| 306 | * Thu Aug 21 2008 Peter Gordon <peter@thecodergeek.com> - 2.2.3-1 |
---|
| 307 | - Update to new upstream bug-fix release (2.2.3). |
---|
| 308 | - Drop glabels-batch segfault patch (fixed upstream). |
---|
| 309 | - fix-batch-segfault.patch |
---|
| 310 | |
---|
| 311 | * Fri Aug 08 2008 Peter Gordon <peter@thecodergeek.com> - 2.2.2-3 |
---|
| 312 | - Add patch from Casey Harkins to fix a segfault in glabels-batch: |
---|
| 313 | + fix-batch-segfault.patch |
---|
| 314 | - Resolves: bug #458473. |
---|
| 315 | |
---|
| 316 | * Mon Jul 21 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.2.2-2 |
---|
| 317 | - fix license tag |
---|
| 318 | |
---|
| 319 | * Tue Mar 04 2008 Peter Gordon <peter@thecodergeek.com> - 2.2.2-1 |
---|
| 320 | - Update to new upstream bug-fix release (2.2.2). |
---|
| 321 | |
---|
| 322 | * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.2.1-2 |
---|
| 323 | - Autorebuild for GCC 4.3 |
---|
| 324 | |
---|
| 325 | * Mon Jan 28 2008 Peter Gordon <peter@thecodergeek.com> - 2.2.1-1 |
---|
| 326 | - Update to new upstream bug-fix release (2.2.1). |
---|
| 327 | |
---|
| 328 | * Mon Jan 14 2008 Peter Gordon <peter@thecodergeek.com> - 2.2.0-1 |
---|
| 329 | - Update to new upstream release (2.2.0 Final); Yay! |
---|
| 330 | |
---|
| 331 | * Sun Dec 16 2007 Peter Gordon <peter@thecodergeek.com> - 2.1.5-1 |
---|
| 332 | - Update to new upstream development snapshot (2.1.5). |
---|
| 333 | |
---|
| 334 | * Tue Aug 21 2007 Peter Gordon <peter@thecodergeek.com> - 2.0.4-7 |
---|
| 335 | - Rebuild with new BuildID-enabled binutils. |
---|
| 336 | |
---|
| 337 | * Fri Aug 03 2007 Peter Gordon <peter@thecodergeek.com> - 2.0.4-6 |
---|
| 338 | - Update License tagging (GPLv2+). This necessitates a split of two |
---|
| 339 | subpackages: |
---|
| 340 | (1) glabels-doc: Runtime documentation for gLabels (GFDLv1.1+) |
---|
| 341 | (2) glabels-libs: Shared libraries for gLabels (LGPLv2+) |
---|
| 342 | - Fix version in previous %%changelog entry. |
---|
| 343 | - Lots and lots of aesthetic spec file changes. |
---|
| 344 | - Remove X-Fedora category from desktop-file-install invocation. |
---|
| 345 | - Add TODO to installed %%doc files. |
---|
| 346 | |
---|
| 347 | * Sun Aug 27 2006 Peter Gordon <peter@thecodergeek.com> - 2.0.4-5 |
---|
| 348 | - Add BR: perl(XML::Parser) |
---|
| 349 | |
---|
| 350 | * Sun Aug 27 2006 Peter Gordon <peter@thecodergeek.com> - 2.0.4-4 |
---|
| 351 | - Mass FC6 rebuild |
---|
| 352 | |
---|
| 353 | * Wed Jul 05 2006 Peter Gordon <peter@thecodergeek.com> - 2.0.4-3 |
---|
| 354 | - Add BuildRequires: gettext (#197633) |
---|
| 355 | |
---|
| 356 | * Sat Feb 18 2006 Jef Spaleta <jspaleta@gmail.com> - 2.0.4-2 |
---|
| 357 | - Bump for fe5 rebuild |
---|
| 358 | |
---|
[8384] | 359 | * Sun Jan 01 2006 Jef Spaleta <jspaleta@gmail.com> - 2.0.4-1 |
---|
[521] | 360 | - Update to new stable upstream version |
---|
| 361 | |
---|
| 362 | * Thu Aug 18 2005 Jef Spaleta <jspaleta@gmail.com> - 2.0.3-3 |
---|
| 363 | - rebuild |
---|
| 364 | |
---|
| 365 | * Thu Jul 7 2005 Jef Spaleta <jspaleta@gmail.com> - 2.0.3-2 |
---|
| 366 | - use Source0 |
---|
| 367 | |
---|
[8384] | 368 | * Tue Jul 5 2005 Jef Spaleta <jspaleta@gmail.com> - 2.0.3-1 |
---|
[521] | 369 | - Initial fedora extras build |
---|
| 370 | |
---|