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