File sublib.spec of Package sublib

#   
# spec file for package sublib
#   
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An “Open Source License” is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/

# norootforbuild

Name:           sublib
Version:        0.9
Release:        3
Summary:        A subtitle library
Group:          System Environment/Libraries
License:        GPLv2+
URL:            http://sublib.sourceforge.net/
Source:         %{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-build
BuildRequires:  mono-devel pkg-config

%description
SubLib is a library that eases the development of subtitling applications. It supports the most common text-based subtitle formats and allows for subtitle editing, conversion and synchronization. SubLib is written in C# and can be used in platforms like Mono or .NET Framework.

%package        devel
Summary:        Development files for %{name}
Group:          Development/Libraries
Requires:       %{name} = %{version}-%{release}
Requires:       pkg-config

%description    devel
The %{name}-devel package contains libraries and header files for developing applications that use %{name}.

%prep
%setup

%build
%configure
%{__make} %{?_smp_mflags}

%install
%{__make} install DESTDIR=%{buildroot}

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

%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING CREDITS NEWS README
%{_libdir}/%{name}

%files devel
%defattr(-,root,root,-)
%{_libdir}/pkgconfig/%{name}.pc

%changelog
* Fri Feb 27 2009 Radomir Cernoch <radomir.cernoch@gmail.com>  0.9-3
- specfile cleanup for Contrib
* Tue Jan 06 2009 Malcolm J Lewis <coyoteuser@gmail.com> 0.9-2.1
- modified for openSUSE build
* Sun May 18 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.9-2
- Replaced sed invocation with macro
- Added ExcludeArch: ppc64
* Tue May 13 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.9-1
- Updated to 0.9
- Switched to use make install
- Added -devel subpackage
- Skip GAC registration for now
* Sat Mar 29 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.8-1
- Initial RPM release
openSUSE Build Service is sponsored by