Search
j0ke.net Open Build Service
>
Projects
>
NASlinux
>
serdisplib
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 3
[-]
[+]
Changed
serdisplib.spec
@@ -8,8 +8,10 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - -Name: serdisplib +%define pkgname serdisplib +%define libname libserdisp +%define soname %{libname}1 +Name: %{soname\ BuildRequires: gd-devel %if 0%{?suse_version} > 1020 BuildRequires: libusb-devel @@ -20,7 +22,7 @@ Group: System/Libraries Version: 1.97.8 Release: 1 -Source0: %{name}-%{version}.tar.bz2 +Source0: %{name}-%{pkgversion}.tar.bz2 URL: http://serdisplib.sourceforge.net BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: Library for Certain Serial and Parallel LC Displays @@ -36,12 +38,17 @@ -------- Wolfgang Astleitner <mrwastl@users.sourceforge.net> -%package devel -Summary: development environment for serdisplib +%package %{libname}-devel +Summary: Development environment for serdisplib Group: System/Libraries -Requires: serdisplib +Requires: %{libname} = %{version} +%if 0%{?suse_version} > 1020 +Requires: libusb-devel +%else +Requires: libusb +%endif -%description devel +%description %{libname}-devel This package contains the include-files and static libraries for serdisplib @@ -51,13 +58,13 @@ -------- Wolfgang Astleitner <mrwastl@users.sourceforge.net> -%package tools -Summary: serdisplib Tools (testserdisp, multidisplay) +%package %{pkgname}-tools +Summary: Serdisplib Tools (testserdisp, multidisplay) Group: Productivity/Multimedia/Other -Requires: serdisplib +Requires: %{libname} = %{version} Requires: gd -%description tools +%description %{pkgname}-tools This package contains the tools for serdisplib @@ -75,7 +82,7 @@ make %install -make install +%__make install %clean [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT @@ -89,14 +96,14 @@ %doc doc COPYING HISTORY README TODO %{_libdir}/*.so.* -%files devel +%files %{libname}-devel %defattr(-,root,root) %{_libdir}/*.a %{_includedir}/serdisplib %{_includedir}/serdisplib/* %{_libdir}/*.so -%files tools +%files %{pkgname}-tools %defattr(-,root,root) %{_bindir}/*