[6679] | 1 | Summary: Window Navigator Construction Kit library for Mate |
---|
| 2 | Name: libmatewnck |
---|
| 3 | Version: 1.4.0 |
---|
| 4 | Release: 1%{?_dist_release} |
---|
| 5 | Source0: http://pub.mate-desktop.org/releases/1.4/%{name}-%{version}.tar.xz |
---|
| 6 | License: GPLv2 |
---|
| 7 | Group: System Environment/Libraries |
---|
| 8 | URL: http://mate-desktop.org/ |
---|
| 9 | |
---|
| 10 | BuildRequires: mate-common |
---|
| 11 | BuildRequires: gtk2-devel |
---|
| 12 | BuildRequires: libX11-devel |
---|
| 13 | BuildRequires: startup-notification-devel |
---|
| 14 | BuildRequires: gtk-doc |
---|
| 15 | BuildRequires: autoconf |
---|
| 16 | BuildRequires: automake |
---|
| 17 | |
---|
| 18 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 19 | |
---|
| 20 | Vendor: Project Vine |
---|
| 21 | Distribution: Vine Linux |
---|
| 22 | Packager: Takemikaduchi |
---|
| 23 | |
---|
| 24 | |
---|
| 25 | %description |
---|
| 26 | libmatewnck is Window Navigator Construction Kit, i.e. a library to use |
---|
| 27 | for writing pagers and taskslists and stuff. |
---|
| 28 | |
---|
| 29 | |
---|
| 30 | %package devel |
---|
| 31 | Summary: Development tools for libmatewnck |
---|
| 32 | Summary(ja): libmate の開発環境 |
---|
| 33 | Group: Development/Libraries |
---|
| 34 | Requires: %{name} = %{version}-%{release} |
---|
| 35 | Requires: pkgconfig |
---|
| 36 | Requires: gtk2-devel |
---|
| 37 | |
---|
| 38 | %description devel |
---|
| 39 | Header files and libraries for building a extension library for the |
---|
| 40 | libmatewnck. |
---|
| 41 | |
---|
| 42 | |
---|
| 43 | %package doc |
---|
| 44 | Summary: Documentation for libmatewnck |
---|
| 45 | Summary(ja): libmate 用のドキュメント |
---|
| 46 | Group: Documentation |
---|
| 47 | Requires: %{name} = %{version}-%{release} |
---|
| 48 | BuildArch: noarch |
---|
| 49 | |
---|
| 50 | %description doc |
---|
| 51 | This package contains documentation for libmatewnck. |
---|
| 52 | |
---|
| 53 | |
---|
| 54 | %prep |
---|
| 55 | %setup -q |
---|
| 56 | |
---|
| 57 | |
---|
| 58 | %build |
---|
| 59 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
---|
| 60 | %configure \ |
---|
| 61 | --disable-static \ |
---|
| 62 | |
---|
| 63 | %{__make} %{?_smp_mflags} |
---|
| 64 | |
---|
| 65 | |
---|
| 66 | %install |
---|
| 67 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 68 | |
---|
| 69 | export MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
---|
| 70 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
| 71 | unset MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
---|
| 72 | |
---|
| 73 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
| 74 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 75 | |
---|
| 76 | %find_lang %{name} |
---|
| 77 | |
---|
| 78 | %clean |
---|
| 79 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 80 | |
---|
| 81 | |
---|
| 82 | %files -f %{name}.lang |
---|
| 83 | %defattr(-,root,root,-) |
---|
| 84 | %doc COPYING.LIB ChangeLog NEWS README |
---|
| 85 | %{_bindir}/matewnck-urgency-monitor |
---|
| 86 | %{_bindir}/matewnckprop |
---|
| 87 | %{_libdir}/girepository-1.0/Matewnck-1.0.typelib |
---|
| 88 | %{_libdir}/libmatewnck.so.* |
---|
| 89 | |
---|
| 90 | %files devel |
---|
| 91 | %defattr(-,root,root,-) |
---|
| 92 | %{_includedir}/libmatewnck |
---|
| 93 | %{_libdir}/libmatewnck.so |
---|
| 94 | %{_libdir}/pkgconfig/libmatewnck.pc |
---|
| 95 | %{_datadir}/gir-1.0/Matewnck-1.0.gir |
---|
| 96 | |
---|
| 97 | |
---|
| 98 | %files doc |
---|
| 99 | %defattr(-,root,root,-) |
---|
| 100 | %{_datadir}/gtk-doc/html/libmatewnck |
---|
| 101 | |
---|
| 102 | |
---|
| 103 | %changelog |
---|
| 104 | * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
| 105 | - initial build |
---|
| 106 | |
---|