]> git.pld-linux.org Git - packages/QtCurve.git/commitdiff
- don't install *.la for gtk+ modules
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 9 Apr 2004 13:15:36 +0000 (13:15 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    QtCurve.spec -> 1.24

QtCurve.spec

index 30bd9a8ced2673422733340d81bc0ebba4376866..262e8fca82163f49d0c30448e5ff6f51b0ec9430 100644 (file)
@@ -1,6 +1,7 @@
-
+#
+# Conditional build:
 %bcond_without gtk     # do not build gtk+(2) styles
-
+#
 Summary:       A free and corrected port of Redhats gtk/qt theme
 Summary(pl):   Darmowa i poprawiona wersja tematu gtk/qt zrobionego przez Redhata
 Name:          QtCurve
@@ -12,6 +13,7 @@ Group:                Themes
 Source0:       %{name}-%{version}.tar.gz
 # Source0-md5: b42974ade8866c1b00808af9f0e47d61
 URL:           http://www.kde-look.org/content/show.php?content=5065
+BuildRequires: automake
 BuildRequires: kdelibs-devel >= 3.1
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -39,8 +41,7 @@ Summary:      A free and corrected port of Redhat's gtk/qt theme
 Summary(pl):   Darmowa i poprawiona wersja motywu gtk/qt zrobionego przez Redhata
 Group:         Themes
 Requires:      gtk+
-Requires:      theme-QtCurve-common
-
+Requires:      theme-QtCurve-common = %{version}-%{release}
 
 %description -n gtk-theme-QtCurve
 A free and corrected port of Redhat's gtk/qt theme. gtk version.
@@ -54,8 +55,7 @@ Summary:      A free and corrected port of Redhat's gtk/qt theme
 Summary(pl):   Darmowa i poprawiona wersja motywu gtk/qt zrobionego przez Redhata
 Group:         Themes
 Requires:      gtk+
-Requires:      theme-QtCurve-common
-
+Requires:      theme-QtCurve-common = %{version}-%{release}
 
 %description -n gtk2-theme-QtCurve
 A free and corrected port of Redhat's gtk/qt theme. gtk2 version.
@@ -74,7 +74,6 @@ Obsoletes:    gtk-theme-bluecurve
 Obsoletes:     kde-style-bluecurve
 Obsoletes:     kde-theme-bluecurve
 
-
 %description -n theme-QtCurve-common
 A free and corrected port of Redhats gtk/qt theme.
 Documentation and common files package.
@@ -101,6 +100,8 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+rm -f $RPM_BUILD_ROOT{%{_libdir}/gtk/themes/engines,%{_libdir}/gtk-2.0/*/*}/*.la
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -115,13 +116,11 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with gtk}
 %files -n gtk-theme-QtCurve
 %defattr(644,root,root,755)
-%{_libdir}/gtk/themes/engines/*.la
 %attr(755,root,root) %{_libdir}/gtk/themes/engines/*.so
 %{_datadir}/themes/QtCurve*/gtk
 
 %files -n gtk2-theme-QtCurve
 %defattr(644,root,root,755)
-%{_libdir}/gtk-2.0/*/*/*.la
 %attr(755,root,root) %{_libdir}/gtk-2.0/*/*/*.so
 %{_datadir}/themes/QtCurve*/gtk-2.0
 
This page took 0.063933 seconds and 4 git commands to generate.