]> git.pld-linux.org Git - packages/easygtk.git/commitdiff
- update to version 1.1.6,
authorcieciwa <cieciwa@pld-linux.org>
Wed, 22 Mar 2000 11:19:45 +0000 (11:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added shared library,
- added README to %doc.

Changed files:
    easygtk.spec -> 1.6

easygtk.spec

index d534844bc6a66ec62bdad72665618ad6a4da9c67..65e377f41234031c57fe9c48480f2478c52ae44f 100644 (file)
@@ -1,12 +1,13 @@
 Summary:       EasyGTK - GTK+ wrapper library 
 Summary(pl):   EasyGTK - nadzbiĆ³r funkcji GTK+
 Name:          easygtk
-Version:       1.1.5
-Release:       2
+Version:       1.1.6
+Release:       1
 Copyright:     GPL
 Group:         Libraries
 Group(pl):     Biblioteki
 Source:                http://www.linsupport.com/sw/%{name}-%{version}.tar
+Patch0:                easygtk-Makefile.patch
 BuildRequires: gtk+
 BuildRequires: imlib-devel
 BuildRequires: ImageMagick-devel
@@ -32,22 +33,34 @@ tworzenie aplikacju u
 %prep
 %setup -q -n %{name}
 
+%patch
+
 %build
 ./configure
 make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
 
+# make shared library
+make easygtk.so
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
 
 install -s libeasygtk.a $RPM_BUILD_ROOT%{_libdir}
+install -s easygtk.so $RPM_BUILD_ROOT%{_libdir}/libeasygtk.so.%{version}
 install easygtk.h $RPM_BUILD_ROOT%{_includedir}
 
+gzip -9nf README
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
-%doc manual.html example.c testtree.c
+%doc manual.html README.gz example.c testtree.c
 %attr(644,root,root) %{_includedir}/easygtk.h
 %attr(755,root,root) %{_libdir}/libeasygtk.a
+%attr(755,root,root) %{_libdir}/libeasygtk.so.%{version}
This page took 0.049845 seconds and 4 git commands to generate.