]>
Commit | Line | Data |
---|---|---|
654dc484 | 1 | Summary: EasyGTK - GTK+ wrapper library |
e3076a42 | 2 | Summary(pl.UTF-8): EasyGTK - nadzbiór funkcji GTK+ |
9c0bb8ea | 3 | Name: easygtk |
76c2bdc3 | 4 | Version: 1.2 |
d644319c | 5 | Release: 1 |
44cf05c1 | 6 | License: GPL |
9c0bb8ea | 7 | Group: Libraries |
c482c64b | 8 | Source0: %{name}-%{version}.tar |
76c2bdc3 | 9 | # Source0-md5: 04bf9844bed30d34c6e6cb6416cadced |
a4aafd6b | 10 | Patch0: %{name}-Makefile.patch |
9c0bb8ea | 11 | BuildRequires: ImageMagick-devel |
12 | BuildRequires: XFree86-devel | |
9ac69073 | 13 | BuildRequires: giflib-devel |
9c0bb8ea | 14 | BuildRequires: glib-devel |
9ac69073 | 15 | BuildRequires: gtk+-devel |
f06226c3 PG |
16 | BuildRequires: imlib-devel |
17 | BuildRequires: libjpeg-devel | |
9c0bb8ea | 18 | BuildRequires: libtiff-devel |
9c0bb8ea | 19 | BuildRequires: zlib-devel |
97a2bb94 | 20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
9c0bb8ea | 21 | |
9c0bb8ea | 22 | %description |
be31ed67 | 23 | EasyGTK is a wrapper library around GTK+ library to provide a much |
44cf05c1 | 24 | easier and simplier Application Programming Interface to the |
25 | developer. | |
be31ed67 | 26 | |
e3076a42 JR |
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. | |
9c0bb8ea | 31 | |
9c0bb8ea | 32 | %prep |
33 | %setup -q -n %{name} | |
d644319c | 34 | %patch |
35 | ||
9c0bb8ea | 36 | %build |
37 | ./configure | |
a4aafd6b | 38 | %{__make} RPM_OPT_FLAGS="%{rpmcflags}" |
9c0bb8ea | 39 | |
d644319c | 40 | # make shared library |
5ed9f7da | 41 | %{__make} easygtk.so |
d644319c | 42 | |
9c0bb8ea | 43 | %install |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}} | |
46 | ||
a4aafd6b JB |
47 | install libeasygtk.a $RPM_BUILD_ROOT%{_libdir} |
48 | install easygtk.so $RPM_BUILD_ROOT%{_libdir}/libeasygtk.so.%{version} | |
9c0bb8ea | 49 | install easygtk.h $RPM_BUILD_ROOT%{_includedir} |
50 | ||
51 | %clean | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
f06226c3 PG |
54 | %post -p /sbin/ldconfig |
55 | %postun -p /sbin/ldconfig | |
d644319c | 56 | |
9c0bb8ea | 57 | %files |
58 | %defattr(644,root,root,755) | |
3fa78cee | 59 | %doc manual.html README example.c testtree.c |
d644319c | 60 | %attr(755,root,root) %{_libdir}/libeasygtk.so.%{version} |
9ac69073 JB |
61 | %{_libdir}/libeasygtk.a |
62 | %{_includedir}/easygtk.h |