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