File kde3-comix.spec of Package kde3-comix

# norootforbuild

%define _prefix		/opt/kde3
%define _sysconfdir	/etc%{_prefix}

Name:				kde3-comix
Version:			1.3.8
Release:			1.guru.suse%(echo "%{suse_version}" | %__sed -e 's/.$//')
Summary:			Comix Flat Style for KDE3
Source:			http://www.kde-look.org/content/files/16028-comix-%{version}.tar.bz2
URL:				http://www.kde-look.org/content/show.php?content=16028
Group:			System/GUI/KDE
License:			GPL-2.0
BuildRoot:		%{_tmppath}/build-%{name}-%{version}
BuildRequires:	kdelibs3 kdelibs3-devel kdebase3-devel
BuildRequires:	autoconf automake libtool make gcc-c++
Provides:		kde3-windeco-comix = %{version}
Provides:		kde3-style-comix = %{version}

%description
This package contains the Comix style and window decoration for KDE 3.2 and
later.

%prep
%setup -q -n "comix-%{version}"

%build
. /etc/opt/kde3/common_options
update_admin
./configure $configkde

make %{?jobs:-j%{jobs}}

%install
. /etc/opt/kde3/common_options
%makeinstall

%if %suse_version < 930
%__strip "%{buildroot}%{_libdir}/kde3"/*.so \
	"%{buildroot}%{_libdir}/lde3/plugins/styles"/*.so
%endif

%clean
%__rm -rf "%{buildroot}"

%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING README TODO
%{_libdir}/kde3/kstyle_comix_config.so
%{_libdir}/kde3/kstyle_comix_config.la
%{_libdir}/kde3/kwin3_comix.so
%{_libdir}/kde3/kwin3_comix.la
%{_libdir}/kde3/kwin_comix_config.so
%{_libdir}/kde3/kwin_comix_config.la
%{_libdir}/kde3/plugins/styles/comix.so
%{_libdir}/kde3/plugins/styles/comix.la
%{_datadir}/apps/kdisplay/color-schemes/Comix.kcsrc
%{_datadir}/apps/kstyle/themes/Comix.themerc
%{_datadir}/apps/kwin/comix.desktop

%changelog
* Fri Apr 28 2006 Pascal Bleser <guru@unixtech.be> 1.3.8-1
- removed explicit Requires
- added binary stripping on SUSE < 9.3
- new upstream version
- correctly use unsermake
- removed Packager and Distribution, injected by rpmmacros

* Thu Feb  9 2006 Pascal Bleser <guru@unixtech.be> 1.3.7-1
- rewrote spec file

* Mon Dec  5 2005 Pascal Bleser <guru@unixtech.be> 1.3.6-1
- new package

# Local Variables:
# mode: rpm-spec
# tab-width: 3
# End:
openSUSE Build Service is sponsored by