]>
Commit | Line | Data |
---|---|---|
ec17d8ed JB |
1 | # NOTE: this package is deprecated, meant for MATE <= 1.4 compatibility only |
2 | # | |
3 | # Conditional build: | |
4 | %bcond_with static_libs # static library | |
5 | # | |
6 | Summary: MateComponent user interface components | |
7 | Summary(pl.UTF-8): Komponenty interfejsu użytkownika do MateComponent | |
8 | Name: libmatecomponentui | |
9 | Version: 1.4.0 | |
10 | Release: 1 | |
11 | License: LGPL v2+ | |
12 | Group: X11/Libraries | |
13 | Source0: http://pub.mate-desktop.org/releases/1.4/%{name}-%{version}.tar.xz | |
14 | # Source0-md5: b4d97af4b7cbc15e51b0577d9e2aa327 | |
15 | URL: http://mate-desktop.org/ | |
16 | BuildRequires: autoconf >= 2.53 | |
17 | BuildRequires: automake >= 1:1.9 | |
18 | BuildRequires: docbook-dtd412-xml | |
8f91e359 | 19 | BuildRequires: gettext-tools |
ec17d8ed JB |
20 | BuildRequires: glib2-devel >= 1:2.6.0 |
21 | BuildRequires: gtk+2-devel >= 2:2.6.0 | |
22 | BuildRequires: gtk-doc >= 1.0 | |
23 | BuildRequires: intltool >= 0.40.0 | |
24 | BuildRequires: libglade2-devel >= 2.0 | |
25 | BuildRequires: libmatecanvas-devel | |
26 | BuildRequires: libmatecomponent-devel | |
27 | BuildRequires: libmate-devel | |
28 | BuildRequires: libtool >= 1:1.4.3 | |
29 | BuildRequires: libxml2-devel >= 1:2.4.20 | |
30 | BuildRequires: mate-common | |
31 | BuildRequires: mate-conf-devel | |
32 | BuildRequires: pango-devel | |
33 | BuildRequires: pangox-compat-devel | |
34 | BuildRequires: pkgconfig | |
35 | BuildRequires: popt-devel >= 1.5 | |
36 | BuildRequires: rpmbuild(macros) >= 1.197 | |
37 | BuildRequires: tar >= 1:1.22 | |
38 | BuildRequires: xorg-lib-libX11-devel | |
39 | BuildRequires: xz | |
40 | BuildConflicts: gdk-pixbuf-devel < 0.12 | |
41 | Requires: glib2 >= 1:2.6.0 | |
42 | Requires: gtk+2 >= 2:2.6.0 | |
ec17d8ed JB |
43 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
44 | ||
45 | %description | |
46 | MateComponent is a component system based on CORBA, used by the MATE | |
47 | desktop. libmatecomponentui contains the user interface related | |
48 | components that come with MateComponent. | |
49 | ||
50 | %description -l pl.UTF-8 | |
51 | MateComponent jest systemem komponentów bazującym na CORB-ie, używanym | |
52 | przez środowisko MATE. libmatecomponentui zawiera komponenty związane | |
53 | z interfejsem użytkownika, które przychodzą z MateComponent. | |
54 | ||
55 | %package devel | |
56 | Summary: Headers for libmatecomponentui | |
57 | Summary(pl.UTF-8): Pliki nagłówkowe libmatecomponentui | |
58 | Group: X11/Development/Libraries | |
59 | Requires: %{name} = %{version}-%{release} | |
60 | Requires: glib2-devel >= 1:2.6.0 | |
61 | Requires: gtk+2-devel >= 2:2.6.0 | |
62 | Requires: libglade2-devel >= 2.0 | |
63 | Requires: libmate-devel | |
64 | Requires: libmatecomponent-devel | |
65 | Requires: libmatecanvas-devel | |
66 | Requires: libxml2-devel >= 1:2.4.20 | |
67 | Requires: mate-conf-devel | |
68 | ||
69 | %description devel | |
70 | This package contains header files used to compile programs that use | |
71 | libmatecomponentui. | |
72 | ||
73 | %description devel -l pl.UTF-8 | |
74 | Ten pakiet zawiera pliki nagłówkowe potrzebne do kompilacji programów | |
75 | używających libmatecomponentui. | |
76 | ||
77 | %package static | |
78 | Summary: Static libmatecomponentui library | |
79 | Summary(pl.UTF-8): Statyczna biblioteka libmatecomponentui | |
80 | Group: X11/Development/Libraries | |
81 | Requires: %{name}-devel = %{version}-%{release} | |
82 | ||
83 | %description static | |
84 | This package contains static version of libmatecomponentui. | |
85 | ||
86 | %description static -l pl.UTF-8 | |
87 | Ten pakiet zawiera statyczną wersję biblioteki libmatecomponentui. | |
88 | ||
89 | %package apidocs | |
90 | Summary: libmatecomponentui API documentation | |
91 | Summary(pl.UTF-8): Dokumentacja API libmatecomponentui | |
92 | Group: Documentation | |
93 | Requires: gtk-doc-common | |
94 | ||
95 | %description apidocs | |
96 | libmatecomponentui API documentation. | |
97 | ||
98 | %description apidocs -l pl.UTF-8 | |
99 | Dokumentacja API libmatecomponentui. | |
100 | ||
101 | %package -n mate-matecomponent-browser | |
102 | Summary: MateComponent component viewer | |
103 | Summary(pl.UTF-8): Przeglądarka komponentów matecomponent | |
104 | Group: Applications/System | |
105 | Requires: %{name} = %{version}-%{release} | |
106 | ||
107 | %description -n mate-matecomponent-browser | |
108 | Shows available MateComponent components. | |
109 | ||
110 | %description -n mate-matecomponent-browser -l pl.UTF-8 | |
111 | Wyświetla dostępne komponenty matecomponent. | |
112 | ||
113 | %prep | |
114 | %setup -q | |
115 | ||
116 | %build | |
117 | %{__gtkdocize} | |
118 | %{__glib_gettextize} | |
119 | %{__intltoolize} | |
120 | %{__libtoolize} | |
121 | %{__aclocal} | |
122 | %{__autoconf} | |
123 | %{__autoheader} | |
124 | %{__automake} | |
125 | %configure \ | |
126 | PATH_TO_XRDB=/usr/bin/xrdb \ | |
127 | --enable-gtk-doc \ | |
128 | %{!?with_static_libs:--disable-static} \ | |
129 | --with-html-dir=%{_gtkdocdir} | |
130 | ||
131 | %{__make} | |
132 | ||
133 | %install | |
134 | rm -rf $RPM_BUILD_ROOT | |
135 | ||
136 | %{__make} install \ | |
137 | DESTDIR=$RPM_BUILD_ROOT | |
138 | ||
139 | # no static modules and *.la for glade modules | |
140 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libglade/2.0/*.la | |
141 | %if %{with static_libs} | |
142 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libglade/2.0/*.a | |
143 | %endif | |
144 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la | |
145 | ||
146 | %{__mv} $RPM_BUILD_ROOT%{_datadir}/locale/{sr@ije,sr@ijekavian} | |
147 | ||
148 | %find_lang %{name} | |
149 | # --with-gnome --all-name | |
150 | ||
151 | %clean | |
152 | rm -rf $RPM_BUILD_ROOT | |
153 | ||
154 | %post -p /sbin/ldconfig | |
155 | %postun -p /sbin/ldconfig | |
156 | ||
157 | %files -f %{name}.lang | |
158 | %defattr(644,root,root,755) | |
159 | %doc AUTHORS ChangeLog NEWS README | |
160 | %attr(755,root,root) %{_bindir}/mate-test-moniker | |
161 | %attr(755,root,root) %{_libdir}/libmatecomponentui-2.so.*.*.* | |
162 | %attr(755,root,root) %ghost %{_libdir}/libmatecomponentui-2.so.0 | |
163 | %attr(755,root,root) %{_libdir}/libglade/2.0/libmatecomponent.so | |
164 | %{_libdir}/matecomponent/servers/CanvDemo.server | |
165 | %{_libdir}/matecomponent/servers/MateComponent_Sample_Controls.server | |
166 | %attr(755,root,root) %{_libdir}/matecomponent-2.0/samples/matecomponent-sample-controls-2 | |
167 | %dir %{_datadir}/mate-2.0 | |
168 | %dir %{_datadir}/mate-2.0/ui | |
169 | %{_datadir}/mate-2.0/ui/MateComponent_Sample_Container-ui.xml | |
170 | %{_datadir}/mate-2.0/ui/MateComponent_Sample_Hello.xml | |
171 | ||
172 | %files devel | |
173 | %defattr(644,root,root,755) | |
174 | %doc doc/*.xml doc/*.txt doc/*.html doc/*.dtd | |
175 | %attr(755,root,root) %{_libdir}/libmatecomponentui-2.so | |
176 | %{_pkgconfigdir}/libmatecomponentui-2.0.pc | |
177 | %{_includedir}/libmatecomponentui-2.0 | |
178 | ||
179 | %if %{with static_libs} | |
180 | %files static | |
181 | %defattr(644,root,root,755) | |
182 | %{_libdir}/libmatecomponentui-2.a | |
183 | %endif | |
184 | ||
185 | %files apidocs | |
186 | %defattr(644,root,root,755) | |
187 | %{_gtkdocdir}/libmatecomponentui | |
188 | ||
189 | %files -n mate-matecomponent-browser | |
190 | %defattr(644,root,root,755) | |
191 | %attr(755,root,root) %{_bindir}/matecomponent-browser | |
192 | %{_datadir}/mate-2.0/ui/matecomponent-browser.xml | |
193 | %{_desktopdir}/matecomponent-browser.desktop |