]>
Commit | Line | Data |
---|---|---|
529c5961 JB |
1 | Summary: Shared functions for Ayatana Indicator Display Objects (GTK+ 3.x version) |
2 | Summary(pl.UTF-8): Funkcje współdzielone dla obiektów wyświetlania wskaźników Ayatana (wersja dla GTK+ 3.x) | |
3 | Name: ido-gtk3 | |
4 | Version: 12.10.2 | |
5 | Release: 1 | |
6 | License: LGPL v2.1 or LGPL v3 | |
7 | Group: Libraries | |
8 | #Source0Download: https://launchpad.net/ido/+download | |
9 | Source0: https://launchpad.net/ido/12.10/%{version}/+download/ido-%{version}.tar.gz | |
10 | # Source0-md5: 9910f4e9a3bf07a88dff08b32d048a8f | |
11 | URL: https://launchpad.net/ido | |
12 | BuildRequires: autoconf >= 2.64 | |
13 | BuildRequires: automake >= 1:1.11 | |
14 | BuildRequires: glib2-devel >= 1:2.32.0 | |
15 | BuildRequires: gtk+3-devel >= 3.4.0 | |
16 | BuildRequires: gtk-doc >= 1.8 | |
17 | BuildRequires: libtool >= 2:2.2 | |
18 | BuildRequires: pkgconfig | |
19 | BuildRequires: sed >= 4.0 | |
20 | BuildRequires: which | |
21 | Requires: glib2 >= 1:2.32.0 | |
22 | Requires: gtk+3 >= 3.4.0 | |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | %description | |
26 | Shared functions for Ayatana Indicator Display Objects (GTK+ 3.x | |
27 | version). | |
28 | ||
29 | %description -l pl.UTF-8 | |
30 | Funkcje współdzielone dla obiektów wyświetlania wskaźników Ayatana | |
31 | (wersja dla GTK+ 3.x). | |
32 | ||
33 | %package devel | |
34 | Summary: Development files for ido library (GTK+ 3.x version) | |
35 | Summary(pl.UTF-8): Pliki programistyczne biblioteki ido (wersja dla GTK+ 3.x) | |
36 | Group: Development/Libraries | |
37 | Requires: %{name} = %{version}-%{release} | |
38 | Requires: glib2-devel >= 1:2.32.0 | |
39 | Requires: gtk+3-devel >= 3.4.0 | |
40 | ||
41 | %description devel | |
42 | This package contains the header files for developing applications | |
43 | that use ido library (GTK+ 3.x version). | |
44 | ||
45 | %description devel -l pl.UTF-8 | |
46 | Ten pakiet zawiera pliki nagłówkowe do tworzenia aplikacji | |
47 | wykorzystujących bibliotekę ido (w wersji dla GTK+ 3.x). | |
48 | ||
49 | %prep | |
50 | %setup -q -n ido-%{version} | |
51 | ||
52 | # gtk+ deprecations | |
53 | %{__sed} -i -e 's|-Werror||g' src/Makefile.am | |
54 | ||
55 | %build | |
56 | %{__libtoolize} | |
57 | %{__aclocal} -I m4 | |
58 | %{__autoconf} | |
59 | %{__autoheader} | |
60 | %{__automake} | |
61 | %configure \ | |
62 | --disable-silent-rules | |
63 | %{__make} | |
64 | ||
65 | %install | |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | ||
68 | %{__make} install \ | |
69 | DESTDIR=$RPM_BUILD_ROOT | |
70 | ||
71 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la | |
72 | ||
73 | %clean | |
74 | rm -rf $RPM_BUILD_ROOT | |
75 | ||
76 | %post -p /sbin/ldconfig | |
77 | %postun -p /sbin/ldconfig | |
78 | ||
79 | %files | |
80 | %defattr(644,root,root,755) | |
81 | %doc AUTHORS NEWS | |
82 | %attr(755,root,root) %{_libdir}/libido3-0.1.so.*.*.* | |
83 | %attr(755,root,root) %ghost %{_libdir}/libido3-0.1.so.0 | |
84 | ||
85 | %files devel | |
86 | %defattr(644,root,root,755) | |
87 | %attr(755,root,root) %{_libdir}/libido3-0.1.so | |
88 | %{_includedir}/libido3-0.1 | |
89 | %{_pkgconfigdir}/libido3-0.1.pc |