]> git.pld-linux.org Git - packages/atkmm.git/blob - atkmm.spec
- updated to 2.22.2
[packages/atkmm.git] / atkmm.spec
1 #
2 # Conditional build:
3 %bcond_without  static_libs     # don't build static libraries
4 #
5 Summary:        A C++ interface for atk library
6 Summary(pl.UTF-8):      Interfejs C++ dla biblioteki atk
7 Name:           atkmm
8 Version:        2.22.2
9 Release:        1
10 License:        LGPL v2.1+
11 Group:          Libraries
12 Source0:        http://ftp.gnome.org/pub/GNOME/sources/atkmm/2.22/%{name}-%{version}.tar.bz2
13 # Source0-md5:  7541d8c3fc80c1ac2bb1887e1642eb5f
14 URL:            http://www.gtkmm.org/
15 BuildRequires:  atk-devel >= 1:1.22.0
16 BuildRequires:  autoconf >= 2.59
17 BuildRequires:  automake >= 1:1.9
18 BuildRequires:  glibmm-devel >= 2.24.0
19 BuildRequires:  libtool >= 2:1.5
20 BuildRequires:  mm-common >= 0.9
21 BuildRequires:  pkgconfig
22 Requires:       glibmm >= 2.24.0
23 Provides:       gtkmm-atk
24 Obsoletes:      gtkmm-atk
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 A C++ interface for atk library.
29
30 %description -l pl.UTF-8
31 Interfejs C++ dla biblioteki atk.
32
33 %package devel
34 Summary:        Header files for atkmm library
35 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki atkmm
36 Group:          Development/Libraries
37 Requires:       %{name} = %{version}-%{release}
38 Requires:       atk-devel >= 1:1.22.0
39 Requires:       glibmm-devel >= 2.24.0
40 Provides:       gtkmm-atk-devel
41 Obsoletes:      gtkmm-atk-devel
42
43 %description devel
44 Header files for atkmm library.
45
46 %description devel -l pl.UTF-8
47 Pliki nagłówkowe biblioteki atkmm.
48
49 %package apidocs
50 Summary:        atkmm API documentation
51 Summary(pl.UTF-8):      Dokumentacja API biblioteki atkmm
52 Group:          Documentation
53 Requires:       gtk-doc-common
54
55 %description apidocs
56 API documentation for atkmm library.
57
58 %description apidocs -l pl.UTF-8
59 Dokumentacja API biblioteki atkmm.
60
61 %package static
62 Summary:        atkmm static library
63 Summary(pl.UTF-8):      Biblioteka statyczna atkmm
64 Group:          Development/Libraries
65 Requires:       %{name}-devel = %{version}-%{release}
66 Provides:       gtkmm-atk-static
67 Obsoletes:      gtkmm-atk-static
68
69 %description static
70 Static atkmm library.
71
72 %description static -l pl.UTF-8
73 Statyczna biblioteka atkmm.
74
75 %prep
76 %setup -q
77
78 %build
79 %{__libtoolize}
80 %{__aclocal} -I build
81 %{__autoconf}
82 %{__autoheader}
83 %{__automake}
84 %configure \
85         %{?with_static_libs:--enable-static}
86 %{__make}
87
88 %install
89 rm -rf $RPM_BUILD_ROOT
90
91 %{__make} install \
92         DESTDIR=$RPM_BUILD_ROOT \
93         libdocdir=%{_gtkdocdir}/atkmm-1.6 \
94         devhelpdir=%{_gtkdocdir}/atkmm-1.6
95
96 %clean
97 rm -rf $RPM_BUILD_ROOT
98
99 %post   -p /sbin/ldconfig
100 %postun -p /sbin/ldconfig
101
102 %files
103 %defattr(644,root,root,755)
104 %doc AUTHORS ChangeLog NEWS README
105 %attr(755,root,root) %{_libdir}/libatkmm-1.6.so.*.*.*
106 %attr(755,root,root) %ghost %{_libdir}/libatkmm-1.6.so.1
107
108 %files devel
109 %defattr(644,root,root,755)
110 %attr(755,root,root) %{_libdir}/libatkmm-1.6.so
111 %{_libdir}/atkmm-1.6
112 %{_libdir}/libatkmm-1.6.la
113 %{_includedir}/atkmm-1.6
114 %{_pkgconfigdir}/atkmm-1.6.pc
115
116 %files apidocs
117 %defattr(644,root,root,755)
118 %{_gtkdocdir}/atkmm-1.6
119
120 %if %{with static_libs}
121 %files static
122 %defattr(644,root,root,755)
123 %{_libdir}/libatkmm-1.6.a
124 %endif
This page took 0.093218 seconds and 3 git commands to generate.