libgxps-vl.spec 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. Name: libgxps
  2. Version: 0.2.3.1
  3. Release: 1%{?_dist_release}
  4. Summary: GObject based library for handling and rendering XPS documents.
  5. Group: System Environment/Libraries
  6. License: LGPLv2+
  7. URL: https://live.gnome.org/libgxps
  8. Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.2/%{name}-%{version}.tar.xz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildRequires: gtk3-devel
  11. BuildRequires: libarchive-devel
  12. BuildRequires: libjpeg-turbo-devel
  13. BuildRequires: libtiff-devel
  14. BuildRequires: lcms2-devel
  15. BuildRequires: gtk-doc
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. Packager: Takemikaduchi
  19. %description
  20. libgxps is a GObject based library for handling and rendering XPS
  21. documents.
  22. %package devel
  23. Summary: Development tools for %{name}
  24. Summary(ja): %{name} の開発環境
  25. Group: Development/Libraries
  26. Requires: %{name} = %{version}-%{release}
  27. Requires: pkgconfig
  28. %description devel
  29. Header files and libraries for building a extension library for the
  30. %{name}.
  31. %package doc
  32. Summary: Documentation for %{name}
  33. Summary(ja): %{name} 用のドキュメント
  34. Group: Documentation
  35. Requires: %{name} = %{version}-%{release}
  36. BuildArch: noarch
  37. %description doc
  38. This package contains documentation for %{name}.
  39. %prep
  40. %setup -q
  41. %build
  42. %configure --disable-static
  43. make %{?_smp_mflags}
  44. %install
  45. rm -rf $RPM_BUILD_ROOT
  46. make install DESTDIR=$RPM_BUILD_ROOT
  47. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  48. %clean
  49. rm -rf $RPM_BUILD_ROOT
  50. %post -p /sbin/ldconfig
  51. %postun -p /sbin/ldconfig
  52. %files
  53. %defattr(-,root,root,-)
  54. %doc ChangeLog AUTHORS COPYING NEWS README
  55. %{_bindir}/xpstojpeg
  56. %{_bindir}/xpstopdf
  57. %{_bindir}/xpstopng
  58. %{_bindir}/xpstops
  59. %{_bindir}/xpstosvg
  60. %{_libdir}/%{name}.so.*
  61. %{_libdir}/girepository-1.0/GXPS-0.1.typelib
  62. %files devel
  63. %defattr(-, root, root)
  64. %{_includedir}/%{name}
  65. %{_libdir}/%{name}.so
  66. %{_libdir}/pkgconfig/%{name}.pc
  67. %{_datadir}/gir-1.0/GXPS-0.1.gir
  68. %files doc
  69. %defattr(-, root, root)
  70. %{_datadir}/gtk-doc/html/%{name}
  71. %changelog
  72. * Sun Aug 30 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.3.1-1
  73. - new upstream release
  74. * Sun Jul 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.2-3
  75. - rebuild with libarchve-3.1.2
  76. * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.2-2
  77. - rebuild with VineSeed environment
  78. * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.2-1
  79. - initial build