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