]> git.pld-linux.org Git - packages/easygtk.git/blob - easygtk.spec
- spec adapterized.
[packages/easygtk.git] / easygtk.spec
1 Summary:        EasyGTK - GTK+ wrapper library 
2 Summary(pl):    EasyGTK - nadzbiór funkcji GTK+
3 Name:           easygtk
4 Version:        1.1.6
5 Release:        1
6 License:        GPL
7 Group:          Libraries
8 Group(fr):      Librairies
9 Group(pl):      Biblioteki
10 Source0:        http://www.linsupport.com/sw/%{name}-%{version}.tar
11 Patch0:         easygtk-Makefile.patch
12 BuildRequires:  gtk+
13 BuildRequires:  imlib-devel
14 BuildRequires:  ImageMagick-devel
15 BuildRequires:  XFree86-devel
16 BuildRequires:  glib-devel
17 BuildRequires:  libtiff-devel
18 BuildRequires:  libungif-devel
19 BuildRequires:  libjpeg-devel
20 BuildRequires:  zlib-devel
21 URL:            http://www.linsupport.com/sw/easygtk.html
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %define _prefix /usr/X11R6
25
26 %description
27 EasyGTK is a wrapper library around GTK+ library to provide a much
28 easier and simplier Application Programming Interface to the
29 developer.
30
31 %description -l pl
32 EasyGTK jest nadzbiorem funkcji GTK+ pozwalaj±cym na szybsze i
33 ³atwiejsze tworzenie aplikacji u¿ywaj±cych Graficznego Interfejsu
34 U¿ytkownika.
35
36 %prep
37 %setup -q -n %{name}
38
39 %patch
40
41 %build
42 ./configure
43 make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
44
45 # make shared library
46 make easygtk.so
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
51
52 install -s libeasygtk.a $RPM_BUILD_ROOT%{_libdir}
53 install -s easygtk.so $RPM_BUILD_ROOT%{_libdir}/libeasygtk.so.%{version}
54 install easygtk.h $RPM_BUILD_ROOT%{_includedir}
55
56 gzip -9nf README
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %post -p /sbin/ldconfig
62 %postun -p /sbin/ldconfig
63
64 %files
65 %defattr(644,root,root,755)
66 %doc manual.html README.gz example.c testtree.c
67 %attr(644,root,root) %{_includedir}/easygtk.h
68 %attr(755,root,root) %{_libdir}/libeasygtk.a
69 %attr(755,root,root) %{_libdir}/libeasygtk.so.%{version}
This page took 0.069766 seconds and 3 git commands to generate.