unique3-vl.spec 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. Name: unique3
  2. Version: 3.0.2
  3. Release: 2%{?_dist_release}
  4. Summary: Single instance support for applications
  5. Summary(ja): アプリケーションのシングルインスタンス支援
  6. Group: System Environment/Libraries
  7. License: LGPLv2+
  8. URL: http://www.gnome.org/~ebassi/source/
  9. Source0: http://www.gnome.org/~ebassi/source/libunique-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: dbus-glib-devel
  12. BuildRequires: gnome-doc-utils >= 0.3.2
  13. BuildRequires: libtool
  14. BuildRequires: glib2-devel >= 2.12.0
  15. BuildRequires: gtk3-devel >= 2.90.0
  16. BuildRequires: gtk-doc >= 1.11
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. Packager: Takemikaduchi
  20. %description
  21. Unique is a library for writing single instance applications, that is
  22. applications that are run once and every further call to the same binary
  23. either exits immediately or sends a command to the running instance.
  24. %package devel
  25. Summary: Libraries and headers for Unique
  26. Summary(ja): Unique のライブラリとヘッダ
  27. Group: Development/Libraries
  28. Requires: %{name} = %{version}-%{release}
  29. Requires: pkgconfig
  30. Requires: gtk-doc >= 1.11
  31. Requires: dbus-glib-devel
  32. Requires: gtk3-devel
  33. %description devel
  34. Headers and libraries for Unique.
  35. %prep
  36. %setup -q -n libunique-%{version}
  37. %build
  38. %configure --enable-gtk-doc --disable-static
  39. make %{?_smp_mflags}
  40. %install
  41. rm -rf $RPM_BUILD_ROOT
  42. make install DESTDIR=$RPM_BUILD_ROOT
  43. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  44. %clean
  45. rm -rf $RPM_BUILD_ROOT
  46. %post -p /sbin/ldconfig
  47. %postun -p /sbin/ldconfig
  48. %files
  49. %defattr(-,root,root,-)
  50. %doc AUTHORS ChangeLog COPYING README
  51. %{_libdir}/lib*.so.*
  52. %{_libdir}/girepository-1.0/Unique-3.0.typelib
  53. %files devel
  54. %defattr(-,root,root,-)
  55. %doc %{_datadir}/gtk-doc/html/unique-3.0
  56. %{_includedir}/unique-3.0/
  57. %{_libdir}/pkgconfig/unique-3.0.pc
  58. %{_libdir}/lib*.so
  59. %{_datadir}/gir-1.0/Unique-3.0.gir
  60. %changelog
  61. * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.2-2
  62. - rebuild with VineSeed environment
  63. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.2-1
  64. - initial build for Vine Linux