]> git.pld-linux.org Git - packages/libwnck.git/blob - libwnck.spec
- updated to 3.24.0
[packages/libwnck.git] / libwnck.spec
1 #
2 # Conditional build:
3 %bcond_without  apidocs         # disable gtk-doc
4 %bcond_without  static_libs     # don't build static library
5
6 Summary:        General Window Manager interfacing for GNOME utilities
7 Summary(pl.UTF-8):      Interfejs General Window Manager dla narzędzi GNOME
8 Name:           libwnck
9 Version:        3.24.0
10 Release:        1
11 License:        LGPL v2+
12 Group:          X11/Libraries
13 Source0:        http://ftp.gnome.org/pub/GNOME/sources/libwnck/3.24/%{name}-%{version}.tar.xz
14 # Source0-md5:  3567fde4d1934b0f48b9966153d14b6d
15 URL:            https://developer.gnome.org/libwnck/
16 BuildRequires:  autoconf >= 2.62
17 BuildRequires:  automake >= 1:1.11
18 # cairo-xlib-xrender
19 BuildRequires:  cairo-devel
20 BuildRequires:  docbook-dtd412-xml
21 BuildRequires:  gdk-pixbuf2-devel
22 BuildRequires:  gettext-tools >= 0.19.4
23 BuildRequires:  glib2-devel >= 1:2.32.0
24 BuildRequires:  gobject-introspection-devel >= 0.6.14
25 BuildRequires:  gtk+3-devel >= 3.22.0
26 %{?with_apidocs:BuildRequires:  gtk-doc >= 1.9}
27 BuildRequires:  gtk-doc-automake >= 1.9
28 BuildRequires:  libtool >= 2:2.2.6
29 BuildRequires:  pkgconfig
30 BuildRequires:  startup-notification-devel >= 0.8
31 BuildRequires:  tar >= 1:1.22
32 BuildRequires:  xorg-lib-libX11-devel
33 BuildRequires:  xorg-lib-libXres-devel
34 BuildRequires:  xz
35 Requires:       glib2 >= 1:2.32.0
36 Requires:       gtk+3 >= 3.22.0
37 Requires:       startup-notification >= 0.8
38 # sr@Latn vs. sr@latin
39 Conflicts:      glibc-misc < 6:2.7
40 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41
42 %description
43 General Window Manager interfacing for GNOME utilities. This library
44 is a part of the GNOME 2 platform.
45
46 %description -l pl.UTF-8
47 Ogólny interfejs zarządcy okien dla narzędzi GNOME. Ta biblioteka jest
48 częścią platformy GNOME 2.
49
50 %package tools
51 Summary:        Small tools to manage windows
52 Summary(pl.UTF-8):      Małe narzędzia do zarządzania oknami
53 Group:          X11/Window Managers/Tools
54 Requires:       %{name} = %{version}-%{release}
55
56 %description tools
57 Small tools to manage windows.
58
59 %description tools -l pl.UTF-8
60 Małe narzędzia do zarządzania oknami.
61
62 %package devel
63 Summary:        Header files and documentation for libwnck
64 Summary(pl.UTF-8):      Pliki nagłówkowe i dokumentacja dla libwnck
65 Group:          X11/Development/Libraries
66 Requires:       %{name} = %{version}-%{release}
67 Requires:       cairo-devel
68 Requires:       glib2-devel >= 1:2.32.0
69 Requires:       gtk+3-devel >= 3.22.0
70 Requires:       startup-notification-devel >= 0.8
71 Requires:       xorg-lib-libX11-devel
72 Requires:       xorg-lib-libXres-devel
73
74 %description devel
75 Header, docs and development libraries for libwnck.
76
77 %description devel -l pl.UTF-8
78 Pliki nagłówkowe i dokumentacja do libwnck.
79
80 %package static
81 Summary:        Static libwnck libraries
82 Summary(pl.UTF-8):      Statyczne biblioteki libwnck
83 Group:          X11/Development/Libraries
84 Requires:       %{name}-devel = %{version}-%{release}
85
86 %description static
87 Static version of libwnck libraries.
88
89 %description static -l pl.UTF-8
90 Statyczna wersja bibliotek libwnck.
91
92 %package apidocs
93 Summary:        libwnck API documentation
94 Summary(pl.UTF-8):      Dokumentacja API libwnck
95 Group:          Documentation
96 Requires:       gtk-doc-common
97 %if "%{_rpmversion}" >= "5"
98 BuildArch:      noarch
99 %endif
100
101 %description apidocs
102 libwnck API documentation.
103
104 %description apidocs -l pl.UTF-8
105 Dokumentacja API libwnck.
106
107 %prep
108 %setup -q
109
110 %build
111 %{__gtkdocize}
112 %{__libtoolize}
113 %{__aclocal} -I m4
114 %{__autoconf}
115 %{__autoheader}
116 %{__automake}
117 %configure \
118         %{__enable_disable apidocs gtk-doc} \
119         --with-html-dir=%{_gtkdocdir} \
120         %{__enable_disable static_libs static} \
121         --disable-silent-rules
122
123 %{__make}
124
125 %install
126 rm -rf $RPM_BUILD_ROOT
127
128 %{__make} install \
129         DESTDIR=$RPM_BUILD_ROOT
130
131 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libwnck-3.la
132
133 %find_lang %{name}-3.0
134
135 %clean
136 rm -rf $RPM_BUILD_ROOT
137
138 %post   -p /sbin/ldconfig
139 %postun -p /sbin/ldconfig
140
141 %files -f %{name}-3.0.lang
142 %defattr(644,root,root,755)
143 %doc AUTHORS ChangeLog MAINTAINERS NEWS README
144 %attr(755,root,root) %{_libdir}/libwnck-3.so.*.*.*
145 %attr(755,root,root) %ghost %{_libdir}/libwnck-3.so.0
146 %{_libdir}/girepository-1.0/Wnck-3.0.typelib
147
148 %files tools
149 %defattr(644,root,root,755)
150 %attr(755,root,root) %{_bindir}/wnck-urgency-monitor
151 %attr(755,root,root) %{_bindir}/wnckprop
152
153 %files devel
154 %defattr(644,root,root,755)
155 %attr(755,root,root) %{_libdir}/libwnck-3.so
156 %{_includedir}/libwnck-3.0
157 %{_pkgconfigdir}/libwnck-3.0.pc
158 %{_datadir}/gir-1.0/Wnck-3.0.gir
159
160 %if %{with static_libs}
161 %files static
162 %defattr(644,root,root,755)
163 %{_libdir}/libwnck-3.a
164 %endif
165
166 %if %{with apidocs}
167 %files apidocs
168 %defattr(644,root,root,755)
169 %{_gtkdocdir}/libwnck-3.0
170 %endif
This page took 0.099787 seconds and 3 git commands to generate.