- new based on libglademm.spec
[packages/crossmingw32-libglademm.git] / crossmingw32-libglademm.spec
1 Summary:        C++ wrappers for libglade
2 Summary(pl.UTF-8):Interfejsy C++ dla libglade
3 %define         _realname   libglademm
4 Name:           crossmingw32-%{_realname}
5 Version:        2.6.3
6 Release:        1
7 License:        GPL
8 Group:          Libraries
9 Source0:        http://ftp.gnome.org/pub/gnome/sources/libglademm/2.6/%{_realname}-%{version}.tar.bz2
10 # Source0-md5:  3dd3c3777c4407b8a330bd79089ddbfc
11 URL:            http://www.gnome.org/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  crossmingw32-gtkmm >= 2.10.0
15 BuildRequires:  crossmingw32-libglade2 >= 2.6.0
16 BuildRequires:  crossmingw32-pkgconfig
17 BuildRequires:  libtool >= 2:1.4d
18 BuildRequires:  perl-base
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %define         no_install_post_strip   1
22
23 %define         target                  i386-mingw32
24 %define         target_platform         i386-pc-mingw32
25 %define         arch                    %{_prefix}/%{target}
26 %define         gccarch                 %{_prefix}/lib/gcc-lib/%{target}
27 %define         gcclib                  %{_prefix}/lib/gcc-lib/%{target}/%{version}
28
29 %define         _sysprefix              /usr
30 %define         _prefix                 %{_sysprefix}/%{target}
31 %define         _pkgconfigdir           %{_prefix}/lib/pkgconfig
32 %define         __cc                    %{target}-gcc
33 %define         __cxx                   %{target}-g++
34
35 %description
36 C++ wrappers for libglade.
37
38 %description -l pl.UTF-8
39 Interfejsy C++ dla libglade.
40
41 %prep
42 %setup -q -n %{_realname}-%{version}
43
44 %build
45 export PKG_CONFIG_PATH=%{_prefix}/lib/pkgconfig
46 %{__libtoolize}
47 %{__aclocal} -I scripts
48 %{__autoconf}
49 %{__automake}
50 %configure \
51         --target=%{target} \
52         --host=%{target} \
53         --enable-static
54
55 %{__make}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %files
67 %defattr(644,root,root,755)
68 %doc AUTHORS ChangeLog NEWS
69 %{_libdir}/libglademm*.la
70 %{_libdir}/libglademm*.a
71 %{_bindir}/libglademm*.dll
72 %{_includedir}/%{_realname}-2.4
73 %{_libdir}/%{_realname}-2.4
74 %{_pkgconfigdir}/%{_realname}-2.4.pc
This page took 0.071058 seconds and 3 git commands to generate.