SPECS: k9copy.spec - unify %configure - don't pass cflags to make ...

shadzik shadzik at pld-linux.org
Sun Mar 25 22:57:26 CEST 2007


Author: shadzik                      Date: Sun Mar 25 20:57:26 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- unify %configure
- don't pass cflags to make
- remove -devel subpackage
- fix files

---- Files affected:
SPECS:
   k9copy.spec (1.13 -> 1.14) 

---- Diffs:

================================================================
Index: SPECS/k9copy.spec
diff -u SPECS/k9copy.spec:1.13 SPECS/k9copy.spec:1.14
--- SPECS/k9copy.spec:1.13	Sun Mar 25 22:49:33 2007
+++ SPECS/k9copy.spec	Sun Mar 25 22:57:20 2007
@@ -26,30 +26,18 @@
 umożliwiający zmniejszanie obrazów płyt DVD z DVD 9 do DVD 5 w
 środowisku KDE pod Linuksem.
 
-%package devel
-Summary:	Header files for k9copy library
-Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki k9copy
-Group:		Development/Libraries
-Requires:	%{name} = %{version}-%{release}
-Requires:	kdelibs-devel >= 9:3.0
-
-%description devel
-Header files for libk3bcore library.
-
-%description devel -l pl.UTF-8
-Pliki nagłówkowe biblioteki k9copy.
-
 %prep
 %setup -q
 %patch0 -p0
 
 %build
-%configure
-%{__make} \
-	CC="%{__cc}" \
-	CXX="%{__cxx}" \
-	CFLAGS="%{rpmcflags}" \
-	CXXFLAGS="%{rpmcflags} -fno-exceptions"
+%configure \
+%if "%{_lib}" == "lib64"
+	--enable-libsuffix=64 \
+%endif
+	--%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \
+	--with-qt-libraries=%{_libdir}
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -73,24 +61,23 @@
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/*
-%attr(755,root,root) %{_libdir}/libk9copy.so.*.*.*
 %{_datadir}/apps/k9copy
 %{_datadir}/apps/konqueror/servicemenus/k9copy_open.desktop
 %{_desktopdir}/kde/k9copy.desktop
 %{_iconsdir}/*/*x*/*/k9copy.png
 
-%files devel
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libk9copy.so
-%{_libdir}/libk9copy.la
-%{_includedir}/*.h
-
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.14  2007/03/25 20:57:20  shadzik
+- unify %configure
+- don't pass cflags to make
+- remove -devel subpackage
+- fix files
+
 Revision 1.13  2007/03/25 20:49:33  shadzik
 - up to 1.1.1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/k9copy.spec?r1=1.13&r2=1.14&f=u



More information about the pld-cvs-commit mailing list