]>
Commit | Line | Data |
---|---|---|
c999e69c | 1 | Summary: C++ wrappers for libglade |
4e10105a | 2 | Summary(pl.UTF-8): Interfejsy C++ dla libglade |
c999e69c | 3 | Name: libglademm |
8c8ab509 | 4 | Version: 2.6.3 |
9b686a5d | 5 | Release: 2 |
c999e69c | 6 | License: GPL |
7 | Group: Libraries | |
f1f94c33 | 8 | Source0: http://ftp.gnome.org/pub/gnome/sources/libglademm/2.6/%{name}-%{version}.tar.bz2 |
8c8ab509 | 9 | # Source0-md5: 3dd3c3777c4407b8a330bd79089ddbfc |
c999e69c | 10 | URL: http://www.gnome.org/ |
82bd2ed9 JB |
11 | BuildRequires: autoconf |
12 | BuildRequires: automake | |
8c8ab509 | 13 | BuildRequires: gtkmm-devel >= 2.10.0 |
b04774cb | 14 | BuildRequires: libglade2-devel >= 1:2.6.0 |
82bd2ed9 | 15 | BuildRequires: libtool >= 2:1.4d |
03273c00 | 16 | BuildRequires: perl-base |
3cb5acf6 | 17 | BuildRequires: pkgconfig |
c999e69c | 18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
19 | ||
20 | %description | |
21 | C++ wrappers for libglade. | |
22 | ||
4e10105a | 23 | %description -l pl.UTF-8 |
c999e69c | 24 | Interfejsy C++ dla libglade. |
25 | ||
26 | %package devel | |
27 | Summary: Devel files for libglademm | |
4e10105a | 28 | Summary(pl.UTF-8): Pliki nagłówkowe dla libglademm |
c999e69c | 29 | Group: Development/Libraries |
03273c00 | 30 | Requires: %{name} = %{version}-%{release} |
8c8ab509 | 31 | Requires: gtkmm-devel >= 2.10.0 |
b04774cb | 32 | Requires: libglade2-devel >= 1:2.6.0 |
c999e69c | 33 | |
34 | %description devel | |
35 | Devel files for libglademm. | |
36 | ||
4e10105a JR |
37 | %description devel -l pl.UTF-8 |
38 | Pliki nagłówkowe dla libglademm. | |
c999e69c | 39 | |
40 | %package static | |
41 | Summary: libglademm static library | |
4e10105a | 42 | Summary(pl.UTF-8): Biblioteka statyczna libglademm |
c999e69c | 43 | Group: Development/Libraries |
03273c00 | 44 | Requires: %{name}-devel = %{version}-%{release} |
c999e69c | 45 | |
46 | %description static | |
47 | libglademm static library. | |
48 | ||
4e10105a | 49 | %description static -l pl.UTF-8 |
c999e69c | 50 | Biblioteka statyczna libglademm. |
51 | ||
03273c00 | 52 | %package doc |
53 | Summary: Documentation for libglademm | |
4e10105a | 54 | Summary(pl.UTF-8): Dokumentacja dla libglademm |
03273c00 | 55 | Group: Documentation |
56 | Requires: devhelp | |
57 | ||
58 | %description doc | |
59 | Documentation for libglademm. | |
60 | ||
4e10105a | 61 | %description devel -l pl.UTF-8 |
03273c00 | 62 | Dokumentacja dla libglademm. |
63 | ||
c999e69c | 64 | %prep |
65 | %setup -q | |
66 | ||
67 | %build | |
82bd2ed9 JB |
68 | %{__libtoolize} |
69 | %{__aclocal} -I scripts | |
70 | %{__autoconf} | |
71 | %{__automake} | |
c999e69c | 72 | %configure \ |
8ed60529 | 73 | --enable-static |
c999e69c | 74 | %{__make} |
75 | ||
76 | %install | |
77 | rm -rf $RPM_BUILD_ROOT | |
78 | ||
79 | %{__make} install \ | |
80 | DESTDIR=$RPM_BUILD_ROOT | |
81 | ||
03273c00 | 82 | mv -f $RPM_BUILD_ROOT%{_docdir}/gnomemm-2.6/%{name}-2.4/docs installed-docs |
83 | ||
c999e69c | 84 | %clean |
85 | rm -rf $RPM_BUILD_ROOT | |
86 | ||
87 | %post -p /sbin/ldconfig | |
88 | %postun -p /sbin/ldconfig | |
89 | ||
90 | %files | |
91 | %defattr(644,root,root,755) | |
3f6187a9 | 92 | %doc AUTHORS ChangeLog NEWS |
c999e69c | 93 | %attr(755,root,root) %{_libdir}/libglademm*.so.*.*.* |
94 | ||
95 | %files devel | |
96 | %defattr(644,root,root,755) | |
03273c00 | 97 | %attr(755,root,root) %{_libdir}/libglademm*.so |
c999e69c | 98 | %{_libdir}/libglademm*.la |
03273c00 | 99 | %{_includedir}/%{name}-2.4 |
100 | %{_libdir}/%{name}-2.4 | |
101 | %{_pkgconfigdir}/%{name}-2.4.pc | |
c999e69c | 102 | |
103 | %files static | |
104 | %defattr(644,root,root,755) | |
105 | %{_libdir}/libglademm*.a | |
03273c00 | 106 | |
107 | %files doc | |
108 | %defattr(644,root,root,755) | |
109 | %doc installed-docs/* | |
110 | %doc %{_datadir}/devhelp/books/%{name}-2.4 |