]> git.pld-linux.org Git - SPECS.git/blob - libgtkpp.spec
SPECS updated Mon 29 Apr 22:05:02 CEST 2024
[SPECS.git] / libgtkpp.spec
1 Summary:        Wraps GTK+ with an object oriented look
2 Summary(pl.UTF-8):      Obudowanie GTK+ w sposób zorientowany obiektowo
3 Name:           libgtkpp
4 Version:        0.2.4
5 Release:        1
6 License:        GPL v2
7 Group:          X11/Libraries
8 Source0:        ftp://ftp.defora.org/pub/projects/Gtkpp/%{name}-%{version}.tar.gz
9 # Source0-md5:  53b13501401693e268fb834188b5bd0f
10 Patch0:         %{name}-includes.patch
11 URL:            http://www.defora.org/foreign/projects/libgtkpp/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  gdk-pixbuf-devel
15 BuildRequires:  gnome-libs-devel
16 BuildRequires:  libstdc++-devel
17 BuildRequires:  libtool
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 C++ library which wraps GTK+ with an object oriented look.
22
23 %description -l pl.UTF-8
24 Biblioteka C++ obudowująca GTK+ w sposób bardziej zorientowany
25 obiektowo.
26
27 %package devel
28 Summary:        Header files for gtkpp
29 Summary(pl.UTF-8):      Pliki nagłówkowe gtkpp
30 Group:          X11/Development/Libraries
31 Requires:       %{name} = %{version}-%{release}
32 Requires:       gdk-pixbuf-devel
33 Requires:       gnome-libs-devel
34 Requires:       libstdc++-devel
35
36 %description devel
37 Header files for gtkpp library.
38
39 %description devel -l pl.UTF-8
40 Pliki nagłówkowe biblioteki gtkpp.
41
42 %package static
43 Summary:        Static gtkpp library
44 Summary(pl.UTF-8):      Statyczna biblioteka gtkpp
45 Group:          X11/Development/Libraries
46 Requires:       %{name}-devel = %{version}-%{release}
47
48 %description static
49 Static gtkpp library.
50
51 %description static -l pl.UTF-8
52 Statyczna biblioteka gtkpp.
53
54 %prep
55 %setup -q
56 %patch0 -p1
57
58 %build
59 %{__libtoolize}
60 %{__aclocal} -I %{_aclocaldir}/gnome
61 %{__autoconf}
62 %{__automake}
63 %configure
64
65 %{__make}
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69
70 %{__make} install \
71         DESTDIR=$RPM_BUILD_ROOT
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %post   -p /sbin/ldconfig
77 %postun -p /sbin/ldconfig
78
79 %files
80 %defattr(644,root,root,755)
81 %doc AUTHORS ChangeLog README NEWS
82 %attr(755,root,root) %{_libdir}/*.so
83
84 %files devel
85 %defattr(644,root,root,755)
86 %dir %{_includedir}/gtkpp
87 %{_includedir}/gtkpp/*.h
88 %{_libdir}/*.la
89
90 %files static
91 %defattr(644,root,root,755)
92 %{_libdir}/*.a
This page took 0.513355 seconds and 3 git commands to generate.