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