]> git.pld-linux.org Git - packages/gchempaint.git/commitdiff
- up to 0.6.4. Subpackages devel and static separation.
authorpiti <piti@pld-linux.org>
Sun, 2 Apr 2006 08:56:11 +0000 (08:56 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gchempaint.spec -> 1.13

gchempaint.spec

index 6c2c82381acb5fd66aedc55747fe62b732357ca2..c9aabd556113ae3f69e339a88f25e4c750d026a8 100644 (file)
@@ -1,22 +1,22 @@
 Summary:       GNOME 2D chemical structure drawing tool
 Summary(pl):   Program GNOME do rysowania dwuwymiarowych wzorów chemicznych
 Name:          gchempaint
-Version:       0.4.2
+Version:       0.6.4
 Release:       1
 License:       GPL
 Group:         X11/Applications/Science
-Source0:       http://savannah.nongnu.org/download/%{name}/%{name}-%{version}.tar.bz2
-# Source0-md5: 6d02d5ec9b5371529b308b4ba7983a38
+Source0:       http://savannah.nongnu.org/download/gchempaint/%{name}-%{version}.tar.bz2
+# Source0-md5: 6dfe0ab484dbe997016bb0e823db8df0
 URL:           http://www.nongnu.org/gchempaint/
 BuildRequires: autoconf
 BuildRequires: automake
+BuildRequires: gnome-chemistry-utils-devel >= 0.4.7
 BuildRequires: libglade2-devel >= 2.0.0
 BuildRequires: libgnomeprintui-devel >= 2.1.3
 BuildRequires: libgnomeui-devel >= 2.0.0
 BuildRequires: libtool
-BuildRequires: gnome-chemistry-utils-devel >= 0.2.5
 BuildRequires: openbabel-devel >= 1.100.2
-Requires:      gnome-chemistry-utils >= 0.2.5
+Requires:      gnome-chemistry-utils >= 0.4.7
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _noautoreqdep   libGL.so.1 libGLU.so.1
@@ -34,6 +34,35 @@ jednocze
 chemicznych w innych aplikacjach GNOME, takich jak Gnumeric czy
 Abiword.
 
+%package devel
+Summary:       Header files for gchempaint
+Summary(pl):   Pliki nag³ówkowe dla programu gchempaint
+Group:         X11/Applications/Science
+Requires:      %{name} = %{version}-%{release}
+
+%description devel
+The gchempaint-devel package contains the header files necessary for
+developing programs using gchempaint, and especially for writing new
+plugins.
+
+%description devel -l pl
+Pakiet gchempaint-devel zawiera pliki nag³ówkowe niezbêdne do
+tworzenia oprogramowania wykorzystuj±cego gchempaint, a zw³aszcza do
+tworzenia wtyczek do niego.
+
+%package static
+Summary:       Static gchempaint libraries
+Summary(pl):   Statyczne biblioteki programu gchempaint
+Group:         X11/Applications/Science
+Requires:      %{name} = %{version}-%{release}
+
+%description static
+Static gchempaint libraries.
+
+%description static -l pl
+Statyczne biblioteki programu gchempaint
+
+
 %prep
 %setup -q
 
@@ -42,7 +71,8 @@ Abiword.
 %{__aclocal}
 %{__autoconf}
 %{__autoheader}
-%configure
+%configure \
+       --disable-update-databases
 %{__make}
 
 %install
@@ -51,7 +81,7 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-rm -r $RPM_BUILD_ROOT%{_datadir}/{application-registry,mime-info}
+#rm -r $RPM_BUILD_ROOT%{_datadir}/{application-registry,mime-info}
 
 %find_lang %{name} --with-gnome
 
@@ -60,17 +90,46 @@ rm -rf $RPM_BUILD_ROOT
 
 %post
 %scrollkeeper_update_post
+/sbin/ldconfig
+umask 022
+update-mime-database %{_datadir}/mime >/dev/null 2>&1 ||:
+[ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
 
 %postun
 %scrollkeeper_update_post
+/sbin/ldconfig
+if [ $1 = 0 ]; then
+    umask 022
+    update-mime-database %{_datadir}/mime >/dev/null 2>&1
+    [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1
+fi
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README TODO
 %attr(755,root,root) %{_bindir}/%{name}
+%attr(755,root,root) %{_bindir}/%{name}-viewer
+%{_sysconfdir}/gconf/schemas/*
 %{_datadir}/%{name}
-%{_datadir}/gnome-2.0/ui/*
-%{_omf_dest_dir}/%{name}
+%{_datadir}/mime/packages/*
 %{_desktopdir}/%{name}.desktop
-%{_pixmapsdir}/*.png
 %{_libdir}/bonobo/servers/%{name}.server
+%{_iconsdir}/hicolor/128x128/apps/*
+%{_iconsdir}/hicolor/128x128/mimetypes/*
+%{_iconsdir}/hicolor/32x32/apps/*
+%{_iconsdir}/hicolor/32x32/mimetypes/*
+%{_iconsdir}/hicolor/48x48/apps/*
+%{_iconsdir}/hicolor/48x48/mimetypes/*
+%{_iconsdir}/hicolor/72x72/apps/*
+%{_iconsdir}/hicolor/72x72/mimetypes/*
+%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
+%{_libdir}/%{name}
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/%{name}
+%{_libdir}/lib*.so
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.la
This page took 0.066997 seconds and 4 git commands to generate.