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