]> git.pld-linux.org Git - packages/marco.git/blob - marco.spec
up to 1.26.1
[packages/marco.git] / marco.spec
1 # TODO
2 # - subpackages for themes (see metacity.spec)
3 # - find proper packages for %files
4 #
5 Summary:        MATE Desktop window manager
6 Summary(pl.UTF-8):      Zarządca okien środowiska MATE Desktop
7 Name:           marco
8 Version:        1.26.1
9 Release:        1
10 License:        LGPL v2+ and GPL v2+
11 Group:          X11/Window Managers
12 Source0:        https://pub.mate-desktop.org/releases/1.26/%{name}-%{version}.tar.xz
13 # Source0-md5:  1fbdf7f0d27a03c209cdd7255afa2078
14 URL:            https://wiki.mate-desktop.org/mate-desktop/components/marco/
15 BuildRequires:  autoconf >= 2.50
16 BuildRequires:  automake
17 BuildRequires:  desktop-file-utils
18 BuildRequires:  gdk-pixbuf2-devel >= 2.0
19 BuildRequires:  gettext-tools >= 0.19.8
20 BuildRequires:  glib2-devel >= 1:2.68.0
21 BuildRequires:  gtk+3-devel >= 3.22.0
22 BuildRequires:  libcanberra-gtk3-devel
23 BuildRequires:  libgtop-devel >= 2.0
24 BuildRequires:  mate-common
25 BuildRequires:  mate-desktop-devel >= 1.9.3
26 BuildRequires:  pango-devel >= 1:1.2.0
27 BuildRequires:  pkgconfig
28 BuildRequires:  rpmbuild(find_lang) >= 1.36
29 BuildRequires:  rpmbuild(macros) >= 1.592
30 BuildRequires:  startup-notification-devel >= 0.7
31 BuildRequires:  tar >= 1:1.22
32 BuildRequires:  xorg-lib-libICE-devel
33 BuildRequires:  xorg-lib-libSM-devel
34 BuildRequires:  xorg-lib-libX11-devel
35 BuildRequires:  xorg-lib-libXcomposite-devel >= 0.3
36 BuildRequires:  xorg-lib-libXcursor-devel
37 BuildRequires:  xorg-lib-libXdamage-devel
38 BuildRequires:  xorg-lib-libXext-devel
39 BuildRequires:  xorg-lib-libXfixes-devel
40 BuildRequires:  xorg-lib-libXinerama-devel
41 BuildRequires:  xorg-lib-libXpresent-devel
42 BuildRequires:  xorg-lib-libXrandr-devel
43 BuildRequires:  xorg-lib-libXrender-devel
44 BuildRequires:  xorg-lib-libXres-devel
45 BuildRequires:  xz
46 BuildRequires:  yelp-tools
47 Requires:       %{name}-libs = %{version}-%{release}
48 Requires:       glib2 >= 1:2.68.0
49 Requires:       gsettings-desktop-schemas
50 Requires:       gtk+3 >= 3.22.0
51 Requires:       mate-icon-theme
52 Requires:       mate-settings-daemon
53 Requires:       zenity
54 Suggests:       mate-control-center
55 # can use any gtk+2 themes nicely, Adwaita specially
56 Suggests:       %{name}-themes
57 Obsoletes:      mate-window-manager < 1.8.0
58 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
59
60 %description
61 MATE Desktop window manager. MATE Marco is a fork of GNOME Metacity.
62
63 %description -l pl.UTF-8
64 Zarządca okien środowiska MATE Desktop. MATE Marco to odgałęzienie
65 pakietu GNOME Metacity.
66
67 %package libs
68 Summary:        Marco (MATE window manager) library
69 Summary(pl.UTF-8):      Biblioteka Macro (zarządcy okien MATE)
70 Group:          X11/Libraries
71 Requires:       glib2 >= 1:2.68.0
72 Requires:       gtk+3 >= 3.22.0
73 Requires:       mate-desktop-libs >= 1.9.3
74 Requires:       pango >= 1:1.2.0
75 Requires:       startup-notification >= 0.7
76 Requires:       xorg-lib-libXcomposite >= 0.3
77 Obsoletes:      mate-window-manager-libs < 1.8.0
78
79 %description libs
80 This package contains the shared library for Marco, the MATE window
81 manager.
82
83 %description libs -l pl.UTF-8
84 Pakiet zawierający bibliotekę współdzieloną Marco (zarządcy okien
85 MATE).
86
87 %package devel
88 Summary:        Development files for Marco (Mate window manager)
89 Summary(pl.UTF-8):      Pliki programistyczne Marco (zarządcy okien MATE)
90 Group:          Development/Libraries
91 Requires:       %{name}-libs = %{version}-%{release}
92 Requires:       glib2-devel >= 1:2.68.0
93 Requires:       gtk+3-devel >= 3.22.0
94 Requires:       mate-desktop-devel >= 1.9.3
95 Obsoletes:      mate-window-manager-devel < 1.8.0
96
97 %description devel
98 Development files for Marco (Mate window manager).
99
100 %description devel -l pl.UTF-8
101 Pliki programistyczne Marco (zarządcy okien MATE).
102
103 %package themes
104 Summary:        Themes for MATE Window Manager
105 Summary(pl.UTF-8):      Motywy dla zarządcy okien MATE
106 Group:          Themes/GTK+
107 Requires:       %{name} = %{version}-%{release}
108 Obsoletes:      mate-window-manager-themes < 1.8.0
109
110 %description themes
111 Themes for MATE Window Manager.
112
113 %description themes -l pl.UTF-8
114 Motywy dla zarządcy okien MATE
115
116 %prep
117 %setup -q
118
119 %build
120 %{__libtoolize}
121 %{__aclocal} -I m4
122 %{__autoconf}
123 %{__autoheader}
124 %{__automake}
125 %configure \
126         ZENITY=%{_bindir}/zenity \
127         --disable-scrollkeeper \
128         --disable-silent-rules \
129         --disable-static \
130         --with-gnu-ld \
131         --with-x
132
133 %{__make}
134
135 %install
136 rm -rf $RPM_BUILD_ROOT
137
138 %{__make} install \
139         DESTDIR=$RPM_BUILD_ROOT
140
141 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libmarco-private.la
142
143 # ku_IQ is outdated version of ku; the rest not supported by glibc
144 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{frp,ie,jv,ku_IQ}
145
146 desktop-file-install \
147         --remove-category="MATE" \
148         --delete-original \
149         --dir=$RPM_BUILD_ROOT%{_desktopdir} \
150         $RPM_BUILD_ROOT%{_desktopdir}/marco.desktop
151
152 %find_lang %{name} --all-name --with-mate
153
154 %clean
155 rm -rf $RPM_BUILD_ROOT
156
157 %post
158 %glib_compile_schemas
159
160 %postun
161 %glib_compile_schemas
162
163 %post   libs -p /sbin/ldconfig
164 %postun libs -p /sbin/ldconfig
165
166 %files -f %{name}.lang
167 %defattr(644,root,root,755)
168 %doc AUTHORS ChangeLog NEWS README
169 %attr(755,root,root) %{_bindir}/marco
170 %attr(755,root,root) %{_bindir}/marco-message
171 %{_datadir}/marco
172 %{_datadir}/mate-control-center/keybindings/50-marco*.xml
173 %dir %{_datadir}/mate/wm-properties
174 %{_datadir}/mate/wm-properties/marco-wm.desktop
175 %{_datadir}/glib-2.0/schemas/org.mate.marco.gschema.xml
176 %{_desktopdir}/marco.desktop
177 %{_mandir}/man1/marco.1*
178 %{_mandir}/man1/marco-message.1*
179
180 # TODO: find better packages
181 %dir %{_datadir}/mate-control-center
182 %dir %{_datadir}/mate-control-center/keybindings
183
184 %files libs
185 %defattr(644,root,root,755)
186 %attr(755,root,root) %{_libdir}/libmarco-private.so.*.*.*
187 %attr(755,root,root) %ghost %{_libdir}/libmarco-private.so.2
188
189 %files devel
190 %defattr(644,root,root,755)
191 %attr(755,root,root) %{_bindir}/marco-theme-viewer
192 %attr(755,root,root) %{_bindir}/marco-window-demo
193 %attr(755,root,root) %{_libdir}/libmarco-private.so
194 %{_includedir}/marco-1
195 %{_pkgconfigdir}/libmarco-private.pc
196 %{_mandir}/man1/marco-theme-viewer.1*
197 %{_mandir}/man1/marco-window-demo.1*
198
199 %files themes
200 %defattr(644,root,root,755)
201 %{_datadir}/themes/Atlanta
202 %{_datadir}/themes/ClearlooksRe
203 %{_datadir}/themes/Dopple-Left
204 %{_datadir}/themes/Dopple
205 %{_datadir}/themes/DustBlue
206 %{_datadir}/themes/Esco
207 %{_datadir}/themes/Gorilla
208 %{_datadir}/themes/Motif
209 %{_datadir}/themes/Raleigh
210 %{_datadir}/themes/Spidey-Left
211 %{_datadir}/themes/Spidey
212 %{_datadir}/themes/Splint-Left
213 %{_datadir}/themes/Splint
214 %{_datadir}/themes/WinMe
215 %{_datadir}/themes/eOS
This page took 0.066838 seconds and 3 git commands to generate.