]> git.pld-linux.org Git - packages/exo.git/blame - exo.spec
- 0.3.107, XFCE 4.6.2
[packages/exo.git] / exo.spec
CommitLineData
22fe3d17 1#
3edba695 2# Conditional build:
1c066059 3%bcond_without apidocs # disable gtk-doc
3eb704f5 4%bcond_without static_libs # don't build static library
3edba695 5#
66d42e42 6%define xfce_version 4.6.2
1f492905 7#
c4ca9554 8Summary: Extension library to Xfce developed by os-cillation
3800417d 9Summary(pl.UTF-8): Biblioteka rozszerzeń do Xfce opracowana przez os-cillation
5b5c113b 10Name: exo
66d42e42
JR
11Version: 0.3.107
12Release: 1
c4ca9554 13License: GPL v2
849ed81e 14Group: X11/Libraries
5b5c113b 15Source0: http://www.xfce.org/archive/xfce-%{xfce_version}/src/%{name}-%{version}.tar.bz2
66d42e42 16# Source0-md5: 3a92cca0c99ee940db4410891c9e8498
c4ca9554 17URL: http://www.os-cillation.com/
1f492905 18BuildRequires: autoconf >= 2.50
19BuildRequires: automake
20687b30 20BuildRequires: docbook-dtd412-xml
8607d679 21BuildRequires: gettext-devel
aa64eb26 22BuildRequires: gtk+2-devel >= 2:2.10.6
1c066059
KK
23%{?with_apidocs:BuildRequires: gtk-doc >= 1.7}
24BuildRequires: gtk-doc-automake
849ed81e 25BuildRequires: hal-devel >= 0.5.7
737f4d4f 26BuildRequires: intltool >= 0.35.0
0ab17a4e 27BuildRequires: libnotify-devel >= 0.4.0
849ed81e 28BuildRequires: libtool
1f492905 29BuildRequires: libxfce4util-devel >= %{xfce_version}
d31d715c 30BuildRequires: perl-URI
8b122451 31BuildRequires: pkgconfig
aa64eb26 32BuildRequires: python-pygtk-devel >= 2:2.10.3
1f492905 33BuildRequires: rpm-pythonprov
0ab17a4e 34BuildRequires: rpmbuild(macros) >= 1.311
849ed81e 35BuildRequires: xfce4-dev-tools >= 4.6.0
fd08d4f4 36Requires: xfce4-dirs >= 4.6
5b5c113b
MB
37Provides: libexo
38Obsoletes: libexo
c4ca9554
AG
39BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40
41%description
42Extension library to Xfce developed by os-cillation.
43
8d7f3270
JR
44%description -l pl.UTF-8
45Biblioteka rozszerzeń do Xfce opracowana przez os-cillation.
c4ca9554 46
1f492905 47%package -n xfce-preferred-applications
48Summary: The Xfce Preferred Applications framework
3800417d 49Summary(pl.UTF-8): Struktura Preferowanych Aplikacji Xfce
849ed81e 50Group: X11/Applications
0ab17a4e 51Requires(post,postun): gtk+2
737f4d4f 52Requires(post,postun): hicolor-icon-theme
849ed81e 53Requires: %{name} = %{version}-%{release}
1f492905 54
55%description -n xfce-preferred-applications
56The Xfce Preferred Applications framework.
57
8d7f3270 58%description -n xfce-preferred-applications -l pl.UTF-8
1f492905 59Struktura Preferowanych Aplikacji Xfce.
60
0ab17a4e
MB
61%package apidocs
62Summary: libexo API documentation
3800417d 63Summary(pl.UTF-8): Dokumentacja API libexo
0ab17a4e
MB
64Group: Documentation
65Requires: gtk-doc-common
5b5c113b
MB
66Provides: libexo-apidocs
67Obsoletes: libexo-apidocs
0ab17a4e
MB
68
69%description apidocs
70libexo API documentation.
71
8d7f3270 72%description apidocs -l pl.UTF-8
0ab17a4e
MB
73Dokumentacja API libexo.
74
c4ca9554
AG
75%package devel
76Summary: Header files for libexo library
3800417d 77Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libexo
849ed81e 78Group: X11/Development/Libraries
c4ca9554 79Requires: %{name} = %{version}-%{release}
849ed81e
MB
80Requires: gtk+2-devel >= 2:2.10.6
81Requires: hal-devel >= 0.5.7
1f492905 82Requires: libxfce4util-devel >= %{xfce_version}
5b5c113b
MB
83Provides: libexo-devel
84Obsoletes: libexo-devel
c4ca9554
AG
85
86%description devel
87Header files for libexo library.
88
8d7f3270
JR
89%description devel -l pl.UTF-8
90Pliki nagłówkowe biblioteki libexo.
c4ca9554
AG
91
92%package static
93Summary: Static libexo library
3800417d 94Summary(pl.UTF-8): Statyczna biblioteka libexo
849ed81e 95Group: X11/Development/Libraries
c4ca9554 96Requires: %{name}-devel = %{version}-%{release}
5b5c113b
MB
97Provides: libexo-static
98Obsoletes: libexo-static
c4ca9554
AG
99
100%description static
101Static libexo library.
102
8d7f3270 103%description static -l pl.UTF-8
c4ca9554
AG
104Statyczna biblioteka libexo.
105
8b122451
JB
106%package -n python-exo
107Summary: Python binding for libexo library
3800417d 108Summary(pl.UTF-8): Wiązania Pythona do biblioteki libexo
8b122451
JB
109Group: Libraries/Python
110Requires: %{name} = %{version}-%{release}
111%pyrequires_eq python-libs
112
113%description -n python-exo
114Python binding for libexo library.
115
8d7f3270
JR
116%description -n python-exo -l pl.UTF-8
117Wiązania Pythona do biblioteki libexo.
8b122451
JB
118
119%package -n python-exo-devel
120Summary: Development files for libexo Python bindings
3800417d 121Summary(pl.UTF-8): Pliki programistyczne wiązań Pythona do libexo
8b122451
JB
122Group: Libraries/Python
123Requires: python-exo = %{version}-%{release}
124
125%description -n python-exo-devel
126Development files for libexo Python bindings.
127
8d7f3270
JR
128%description -n python-exo-devel -l pl.UTF-8
129Pliki programistyczne wiązań Pythona do libexo.
8b122451 130
c4ca9554 131%prep
5b5c113b 132%setup -q
c4ca9554
AG
133
134%build
90f8ebc9 135%{?with_apidocs:%{__gtkdocize}}
737f4d4f 136%{__intltoolize}
1f492905 137%{__libtoolize}
138%{__aclocal}
139%{__autoheader}
140%{__automake}
141%{__autoconf}
c4ca9554 142%configure \
1c066059 143 --%{?with_apidocs:en}%{!?with_apidocs:dis}able-gtk-doc \
0ab17a4e 144 --enable-hal \
0ab17a4e 145 --enable-notifications \
1c066059 146 --enable-python \
3eb704f5 147 --with-html-dir=%{_gtkdocdir} \
1c066059
KK
148 %{!?with_static_libs:--disable-static}
149
c4ca9554
AG
150%{__make}
151
152%install
153rm -rf $RPM_BUILD_ROOT
154
155%{__make} install \
156 DESTDIR=$RPM_BUILD_ROOT
157
8b122451
JB
158rm -f $RPM_BUILD_ROOT%{py_sitedir}/exo-0.3/*.{la,a}
159
1c066059
KK
160%{!?with_apidocs:rm -rf $RPM_BUILD_ROOT%{_gtkdocdir}/exo}
161
22fe3d17
MB
162%py_postclean
163
5b5c113b 164%find_lang libexo-0.3
2bc3c417 165
c4ca9554
AG
166%clean
167rm -rf $RPM_BUILD_ROOT
168
169%post -p /sbin/ldconfig
170%postun -p /sbin/ldconfig
171
1f492905 172%post -n xfce-preferred-applications
737f4d4f 173%update_icon_cache hicolor
1f492905 174
175%postun -n xfce-preferred-applications
737f4d4f 176%update_icon_cache hicolor
1f492905 177
5b5c113b 178%files -f libexo-0.3.lang
c4ca9554
AG
179%defattr(644,root,root,755)
180%doc AUTHORS ChangeLog HACKING NEWS README TODO
849ed81e
MB
181%attr(755,root,root) %{_libdir}/libexo-0.3.so.*.*.*
182%attr(755,root,root) %ghost %{_libdir}/libexo-0.3.so.0
183%attr(755,root,root) %{_libdir}/libexo-hal-0.3.so.*.*.*
184%attr(755,root,root) %ghost %{_libdir}/libexo-hal-0.3.so.0
185%{_pixmapsdir}/exo-0.3
c4ca9554 186
1f492905 187%files -n xfce-preferred-applications
188%defattr(644,root,root,755)
189%attr(755,root,root) %{_bindir}/*
190%attr(755,root,root) %{_libdir}/exo-compose-mail-0.3
191%attr(755,root,root) %{_libdir}/exo-helper-0.3
0ab17a4e 192%attr(755,root,root) %{_libdir}/exo-mount-notify-0.3
1f492905 193%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/xfce4/*.rc
fd08d4f4
JR
194%{_datadir}/xfce4/doc/C/*.html
195%{_datadir}/xfce4/doc/C/images/*.png
196%lang(da) %{_datadir}/xfce4/doc/da/*.html
197%lang(es) %{_datadir}/xfce4/doc/es/*.html
198%lang(es) %{_datadir}/xfce4/doc/es/images/*.png
199%lang(fr) %{_datadir}/xfce4/doc/fr/*.html
200%lang(fr) %{_datadir}/xfce4/doc/fr/images/*.png
201%lang(gl) %{_datadir}/xfce4/doc/gl/*.html
202%lang(id) %{_datadir}/xfce4/doc/id/*.html
203%lang(id) %{_datadir}/xfce4/doc/id/images/*.png
204%lang(it) %{_datadir}/xfce4/doc/it/*.html
205%lang(it) %{_datadir}/xfce4/doc/it/images/*.png
206%lang(ja) %{_datadir}/xfce4/doc/ja/*.html
207%lang(ja) %{_datadir}/xfce4/doc/ja/images/*.png
208%lang(pt_BR) %{_datadir}/xfce4/doc/pt_BR/*.html
209%lang(pt_BR) %{_datadir}/xfce4/doc/pt_BR/images/*.png
210%lang(tr) %{_datadir}/xfce4/doc/tr/*.html
211%lang(tr) %{_datadir}/xfce4/doc/tr/images/*.png
1f492905 212%dir %{_datadir}/xfce4/helpers
213%{_datadir}/xfce4/helpers/*.desktop
214%{_desktopdir}/*.desktop
215%{_iconsdir}/hicolor/*/apps/preferences-desktop-default-applications.png
216%{_iconsdir}/hicolor/*/apps/applications-internet.png
217%{_iconsdir}/hicolor/*/apps/applications-other.png
218%{_mandir}/man1/*.1*
219
1c066059 220%if %{with apidocs}
0ab17a4e
MB
221%files apidocs
222%defattr(644,root,root,755)
223%{_gtkdocdir}/exo
1c066059 224%endif
0ab17a4e 225
c4ca9554
AG
226%files devel
227%defattr(644,root,root,755)
849ed81e
MB
228%attr(755,root,root) %{_libdir}/libexo-0.3.so
229%attr(755,root,root) %{_libdir}/libexo-hal-0.3.so
230%{_libdir}/libexo-0.3.la
231%{_libdir}/libexo-hal-0.3.la
6dac1ab9 232%{_includedir}/exo-0.3
849ed81e
MB
233%{_pkgconfigdir}/exo-0.3.pc
234%{_pkgconfigdir}/exo-hal-0.3.pc
c4ca9554 235
3eb704f5 236%if %{with static_libs}
c4ca9554
AG
237%files static
238%defattr(644,root,root,755)
849ed81e
MB
239%{_libdir}/libexo-0.3.a
240%{_libdir}/libexo-hal-0.3.a
3eb704f5 241%endif
8b122451
JB
242
243%files -n python-exo
244%defattr(644,root,root,755)
245%dir %{py_sitedir}/exo-0.3
246%attr(755,root,root) %{py_sitedir}/exo-0.3/_exo.so
247%dir %{py_sitedir}/exo-0.3/exo
248%{py_sitedir}/exo-0.3/exo/*.py[co]
249%{py_sitescriptdir}/*.py[co]
250
251%files -n python-exo-devel
252%defattr(644,root,root,755)
253%{_datadir}/pygtk/2.0/defs/exo-0.3
This page took 0.061714 seconds and 4 git commands to generate.