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