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