]> git.pld-linux.org Git - SPECS.git/blob - libgnomeprintmm.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / libgnomeprintmm.spec
1 Summary:        C++ wrappers for libgnomeprint
2 Summary(pl.UTF-8):      Interfejsy C++ dla libgnomeprint
3 Name:           libgnomeprintmm
4 Version:        2.5.1
5 Release:        4
6 License:        LGPL v2+
7 Group:          X11/Libraries
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/libgnomeprintmm/2.5/%{name}-%{version}.tar.bz2
9 # Source0-md5:  cac1729ff8708bec30be4291b73530bc
10 URL:            http://www.gnome.org/
11 BuildRequires:  libgnomeprint-devel >= 2.6.1
12 BuildRequires:  pangomm-devel
13 BuildRequires:  perl-base
14 BuildRequires:  pkgconfig
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 C++ wrappers for libgnomeprint.
19
20 %description -l pl.UTF-8
21 Interfejsy C++ dla libgnomeprint.
22
23 %package devel
24 Summary:        Devel files for libgnomeprintmm
25 Summary(pl.UTF-8):      Pliki nagłówkowe dla libgnomeprintmm
26 Group:          X11/Development/Libraries
27 Requires:       %{name} = %{version}-%{release}
28 Requires:       libgnomeprint-devel >= 2.6.1
29 Requires:       pangomm-devel
30
31 %description devel
32 Devel files for libgnomeprintmm.
33
34 %description devel -l pl.UTF-8
35 Pliki nagłówkowe dla libgnomeprintmm.
36
37 %package static
38 Summary:        libgnomeprintmm static library
39 Summary(pl.UTF-8):      Biblioteka statyczna libgnomeprintmm
40 Group:          X11/Development/Libraries
41 Requires:       %{name}-devel = %{version}-%{release}
42
43 %description static
44 libgnomeprintmm static library.
45
46 %description static -l pl.UTF-8
47 Biblioteka statyczna libgnomeprintmm.
48
49 %prep
50 %setup -q
51
52 %build
53 %configure \
54         --enable-static=yes
55
56 %{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60
61 %{__make} install \
62         DESTDIR=$RPM_BUILD_ROOT
63
64 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %post   -p /sbin/ldconfig
70 %postun -p /sbin/ldconfig
71
72 %files
73 %defattr(644,root,root,755)
74 %doc AUTHORS ChangeLog NEWS README
75 %attr(755,root,root) %{_libdir}/libgnomeprintmm-2.5.so.*.*.*
76 %attr(755,root,root) %ghost %{_libdir}/libgnomeprintmm-2.5.so.2
77
78 %files devel
79 %defattr(644,root,root,755)
80 %attr(755,root,root) %{_libdir}/libgnomeprintmm-2.5.so
81 %{_includedir}/%{name}-2.6
82 %{_libdir}/%{name}-2.6
83 %{_pkgconfigdir}/%{name}-2.6.pc
84
85 %files static
86 %defattr(644,root,root,755)
87 %{_libdir}/libgnomeprintmm-2.5.a
This page took 0.112779 seconds and 3 git commands to generate.