]> git.pld-linux.org Git - SPECS.git/blob - libgdgeda.spec
SPECS updated Tue 30 Apr 15:13:02 CEST 2024
[SPECS.git] / libgdgeda.spec
1 Summary:        Hack of libgd library for gEDA project
2 Summary(pl.UTF-8):      Zmodyfikowana wersja libgd dla projektu gEDA
3 Name:           libgdgeda
4 Version:        2.0.15
5 Release:        1
6 License:        BSD-like
7 Group:          Libraries
8 Source0:        ftp://ftp.geda.seul.org/pub/geda/devel/support/%{name}-%{version}.tar.gz
9 # Source0-md5:  1580beb2bd224f38ce8637c67a5512f8
10 URL:            http://www.geda.seul.org/
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  gettext-tools
14 BuildRequires:  libpng-devel
15 BuildRequires:  libtool
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Libgdgeda is a hack on libgd, which is a graphics library. It allows
20 your code to quickly draw images complete with lines, arcs, text,
21 multiple colors, cut and paste from other images, and flood fills, and
22 write out the result as a .PNG file.
23
24 %description -l pl.UTF-8
25 libgdgeda jest zmodyfikowaną biblioteką libgd pozwalającą na szybkie
26 rysowanie obrazków z liniami, łukami, tekstem, wieloma kolorami oraz
27 kopiowanie i wklejanie z innych obrazków, wypełnianie wzorcami, a w
28 rezultacie zapisywanie ich do pliku .PNG.
29
30 %package devel
31 Summary:        Header files and develpment documentation for libgdgeda
32 Summary(pl.UTF-8):      Pliki nagłówkowe i dokumentacja do libgdgeda
33 Group:          Development/Libraries
34 Requires:       %{name} = %{version}-%{release}
35 Requires:       libpng-devel
36
37 %description devel
38 Header files and develpment documentation for libgdgeda.
39
40 %description devel -l pl.UTF-8
41 Pliki nagłówkowe i dokumentacja do libgdgeda.
42
43 %package static
44 Summary:        Static libgdgeda library
45 Summary(pl.UTF-8):      Biblioteka statyczna libgdgeda
46 Group:          Development/Libraries
47 Requires:       %{name}-devel = %{version}-%{release}
48
49 %description static
50 Static libgdgeda library.
51
52 %description static -l pl.UTF-8
53 Biblioteka statyczna libgdgeda.
54
55 %prep
56 %setup -q
57
58 %build
59 %{__libtoolize}
60 %{__aclocal}
61 %{__autoconf}
62 %{__autoheader}
63 %{__automake}
64 %configure
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 README.1ST COPYING
82 %attr(755,root,root) %{_libdir}/lib*.so.*.*
83
84 %files devel
85 %defattr(644,root,root,755)
86 %attr(755,root,root) %{_bindir}/*-config
87 %attr(755,root,root) %{_libdir}/lib*.so
88 %{_libdir}/lib*.la
89 %{_includedir}/gdgeda
90 %{_pkgconfigdir}/libgdgeda.pc
91
92 %files static
93 %defattr(644,root,root,755)
94 %{_libdir}/lib*.a
This page took 0.644453 seconds and 3 git commands to generate.