1 | Summary: A window manager for MATE |
---|
2 | Name: mate-window-manager |
---|
3 | Version: 1.1.0 |
---|
4 | Release: 2%{?_dist_release} |
---|
5 | Source0: %{name}-%{version}.tar.xz |
---|
6 | License: GPLv2 |
---|
7 | Group: User Interface/Desktops |
---|
8 | URL: https://matsusoft.com.ar/projects/mate/ |
---|
9 | |
---|
10 | BuildRequires: mate-common |
---|
11 | BuildRequires: mate-doc-utils |
---|
12 | BuildRequires: mate-conf-devel |
---|
13 | BuildRequires: mate-dialogs |
---|
14 | BuildRequires: gtk2-devel |
---|
15 | BuildRequires: libcanberra-devel |
---|
16 | BuildRequires: libSM-devel |
---|
17 | BuildRequires: startup-notification-devel |
---|
18 | BuildRequires: gtk-doc |
---|
19 | BuildRequires: autoconf |
---|
20 | BuildRequires: automake |
---|
21 | |
---|
22 | Requires(post,pre,preun): mate-conf |
---|
23 | Requires(post,postun): desktop-file-utils |
---|
24 | |
---|
25 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
26 | |
---|
27 | Vendor: Project Vine |
---|
28 | Distribution: Vine Linux |
---|
29 | Packager: Takemikaduchi |
---|
30 | |
---|
31 | |
---|
32 | %description |
---|
33 | Marco is not a meta-City as in an urban center, but rather |
---|
34 | Meta-ness as in the state of being meta. i.e. marco : meta as |
---|
35 | opacity : opaque. Also it may have something to do with the Meta key |
---|
36 | on UNIX keyboards. |
---|
37 | |
---|
38 | |
---|
39 | %package devel |
---|
40 | Summary: Development tools for mate-window-manager |
---|
41 | Summary(ja): mate-window-manager の開発環境 |
---|
42 | Group: Development/Libraries |
---|
43 | Requires: %{name} = %{version}-%{release} |
---|
44 | Requires: pkgconfig |
---|
45 | |
---|
46 | %description devel |
---|
47 | Header files and libraries for building a extension library for the |
---|
48 | mate-window-manager. |
---|
49 | |
---|
50 | |
---|
51 | %prep |
---|
52 | %setup -q |
---|
53 | |
---|
54 | |
---|
55 | %build |
---|
56 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
---|
57 | %configure \ |
---|
58 | --disable-static \ |
---|
59 | --disable-scrollkeeper |
---|
60 | |
---|
61 | %{__make} %{?_smp_mflags} |
---|
62 | |
---|
63 | |
---|
64 | %install |
---|
65 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
66 | |
---|
67 | export MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
---|
68 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
69 | unset MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
---|
70 | |
---|
71 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
72 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
73 | |
---|
74 | %find_lang marco |
---|
75 | |
---|
76 | |
---|
77 | %clean |
---|
78 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
79 | |
---|
80 | |
---|
81 | %post |
---|
82 | /sbin/ldconfig |
---|
83 | |
---|
84 | export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source` |
---|
85 | |
---|
86 | SCHEMAS=" \ |
---|
87 | marco.schemas" |
---|
88 | for S in $SCHEMAS; do |
---|
89 | echo %{_sysconfdir}/mateconf/schemas/$S; done \ |
---|
90 | | xargs mateconftool-2 --makefile-install-rule >& /dev/null ||: |
---|
91 | |
---|
92 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
93 | |
---|
94 | %pre |
---|
95 | if [ "$1" -gt 1 ]; then |
---|
96 | export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source` |
---|
97 | |
---|
98 | SCHEMAS=" \ |
---|
99 | marco.schemas" |
---|
100 | for S in $SCHEMAS; do |
---|
101 | echo %{_sysconfdir}/mateconf/schemas/$S; done \ |
---|
102 | | xargs mateconftool-2 --makefile-uninstall-rule >& /dev/null ||: |
---|
103 | fi |
---|
104 | |
---|
105 | %preun |
---|
106 | if [ "$1" -eq 0 ]; then |
---|
107 | export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source` |
---|
108 | |
---|
109 | SCHEMAS=" \ |
---|
110 | marco.schemas" |
---|
111 | for S in $SCHEMAS; do |
---|
112 | echo %{_sysconfdir}/mateconf/schemas/$S; done \ |
---|
113 | | xargs mateconftool-2 --makefile-uninstall-rule >& /dev/null ||: |
---|
114 | fi |
---|
115 | |
---|
116 | %postun |
---|
117 | /sbin/ldconfig |
---|
118 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
119 | |
---|
120 | |
---|
121 | %files -f marco.lang |
---|
122 | %defattr(-,root,root,-) |
---|
123 | %doc COPYING ChangeLog NEWS README |
---|
124 | %{_sysconfdir}/mateconf/schemas/marco.schemas |
---|
125 | %{_bindir}/marco |
---|
126 | %{_bindir}/marco-message |
---|
127 | %{_bindir}/marco-theme-viewer |
---|
128 | %{_bindir}/marco-window-demo |
---|
129 | %{_libdir}/libmarco-private.so.* |
---|
130 | %{_datadir}/applications/marco.desktop |
---|
131 | %{_datadir}/marco/icons/marco-window-demo.png |
---|
132 | %{_datadir}/mate/help |
---|
133 | %{_datadir}/mate/wm-properties/marco-wm.desktop |
---|
134 | %{_datadir}/mate-control-center/keybindings/*.xml |
---|
135 | %{_datadir}/themes |
---|
136 | %{_mandir}/man1/*.1.gz |
---|
137 | |
---|
138 | %files devel |
---|
139 | %defattr(-,root,root,-) |
---|
140 | %{_includedir}/marco-1 |
---|
141 | %{_libdir}/libmarco-private.so |
---|
142 | %{_libdir}/pkgconfig/libmarco-private.pc |
---|
143 | |
---|
144 | |
---|
145 | %changelog |
---|
146 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2 |
---|
147 | - change category |
---|
148 | |
---|
149 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
150 | - initial build for Vine Linux |
---|
151 | |
---|