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