1 |
blino |
18802 |
%define api_version 1 |
2 |
|
|
%define lib_major 22 |
3 |
|
|
%define startup_notification_version 0.4 |
4 |
|
|
%define libname %mklibname wnck- %{api_version} %{lib_major} |
5 |
|
|
%define libnamedev %mklibname -d wnck- %{api_version} |
6 |
|
|
|
7 |
|
|
Summary: Libwnck is Window Navigator Construction Kit |
8 |
|
|
Name: libwnck |
9 |
|
|
Version: 2.30.6 |
10 |
blino |
18804 |
Release: %mkrel 3 |
11 |
blino |
18802 |
Source0: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/%{name}-%{version}.tar.bz2 |
12 |
|
|
Patch: libwnck-2.27.4-linking.patch |
13 |
|
|
License: LGPLv2+ |
14 |
|
|
URL: http://www.gnome.org/ |
15 |
|
|
Group: System/Libraries |
16 |
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot |
17 |
|
|
BuildRequires: gtk+2-devel >= 2.19.7 |
18 |
|
|
BuildRequires: startup-notification-devel >= %{startup_notification_version} |
19 |
|
|
BuildRequires: gobject-introspection-devel |
20 |
|
|
BuildRequires: gtk-doc |
21 |
|
|
BuildRequires: intltool |
22 |
|
|
BuildRequires: gnome-common |
23 |
|
|
|
24 |
|
|
#ugly stuff to update old libwnck |
25 |
|
|
Obsoletes: %{name}-1_1 |
26 |
|
|
Provides: %{name}-1_1 |
27 |
|
|
|
28 |
|
|
%description |
29 |
|
|
libwnck is Window Navigator Construction Kit, i.e. a library to use |
30 |
|
|
for writing pagers and taskslists and stuff. |
31 |
|
|
|
32 |
|
|
%package -n %{libname} |
33 |
|
|
Summary: %{summary} |
34 |
|
|
Group: %{group} |
35 |
|
|
|
36 |
|
|
Provides: %{name}-%{api_version} = %{version}-%{release} |
37 |
|
|
Requires: %{name} >= %{version} |
38 |
|
|
Requires: libstartup-notification-1 >= %{startup_notification_version} |
39 |
|
|
Conflicts: gir-repository < 0.6.5-9 |
40 |
|
|
|
41 |
|
|
%description -n %{libname} |
42 |
|
|
libwnck is Window Navigator Construction Kit, i.e. a library to use |
43 |
|
|
for writing pagers and taskslists and stuff. |
44 |
|
|
|
45 |
|
|
%package -n %{libnamedev} |
46 |
|
|
Summary: Static libraries, include files for libwnck |
47 |
|
|
Group: Development/GNOME and GTK+ |
48 |
|
|
Provides: %{name}-devel = %{version}-%{release} |
49 |
|
|
Provides: %{name}-%{api_version}-devel = %{version}-%{release} |
50 |
|
|
Requires: %{libname} = %{version} |
51 |
|
|
Requires: gtk+2-devel >= 2.1 |
52 |
|
|
Requires: startup-notification-devel >= %{startup_notification_version} |
53 |
|
|
Conflicts: %mklibname -d wnck-1_ 4 |
54 |
|
|
Conflicts: %mklibname -d wnck-1_ 16 |
55 |
|
|
Conflicts: %mklibname -d wnck-1_ 18 |
56 |
|
|
Obsoletes: %mklibname -d wnck-1_ 22 |
57 |
|
|
Conflicts: gir-repository < 0.6.5-9 |
58 |
|
|
|
59 |
|
|
%description -n %{libnamedev} |
60 |
|
|
libwnck is Window Navigator Construction Kit, i.e. a library to use |
61 |
|
|
for writing pagers and taskslists and stuff. |
62 |
|
|
|
63 |
|
|
%prep |
64 |
|
|
%setup -q |
65 |
|
|
#%patch -p1 |
66 |
|
|
#autoconf |
67 |
|
|
|
68 |
|
|
%build |
69 |
|
|
|
70 |
|
|
%configure2_5x |
71 |
|
|
|
72 |
|
|
%make |
73 |
|
|
|
74 |
|
|
%install |
75 |
|
|
rm -rf $RPM_BUILD_ROOT |
76 |
|
|
|
77 |
|
|
%makeinstall_std |
78 |
|
|
rm -rf %buildroot%_datadir/locale/{io,be@latin,bn_IN,si,uz@cyrillic} |
79 |
|
|
%{find_lang} %{name} |
80 |
|
|
|
81 |
|
|
%clean |
82 |
|
|
rm -rf $RPM_BUILD_ROOT |
83 |
|
|
|
84 |
|
|
%files -f %{name}.lang |
85 |
|
|
%defattr(-,root,root) |
86 |
|
|
%doc README AUTHORS |
87 |
|
|
%_bindir/wnckprop |
88 |
|
|
%_bindir/wnck-urgency-monitor |
89 |
|
|
|
90 |
|
|
%files -n %{libname} |
91 |
|
|
%defattr(-,root,root) |
92 |
|
|
%{_libdir}/libwnck-%{api_version}.so.%{lib_major}* |
93 |
|
|
%_libdir/girepository-1.0/Wnck-1.0.typelib |
94 |
|
|
|
95 |
|
|
%files -n %{libnamedev} |
96 |
|
|
%defattr(-,root,root) |
97 |
|
|
%doc ChangeLog |
98 |
|
|
%doc %_datadir/gtk-doc/html/libwnck |
99 |
|
|
%{_includedir}/* |
100 |
|
|
%{_libdir}/*.so |
101 |
|
|
%attr(644,root,root) %{_libdir}/*.la |
102 |
|
|
%{_libdir}/*.a |
103 |
|
|
%{_libdir}/pkgconfig/* |
104 |
|
|
%_datadir/gir-1.0/Wnck-1.0.gir |
105 |
|
|
|
106 |
|
|
|
107 |
|
|
|