114 lines
3.6 KiB
RPMSpec
114 lines
3.6 KiB
RPMSpec
|
#
|
||
|
# spec file for package libwrc
|
||
|
#
|
||
|
# Copyright (c) 2013 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/
|
||
|
#
|
||
|
|
||
|
|
||
|
Name: libwrc
|
||
|
%define lname libwrc1
|
||
|
%define timestamp 20130319
|
||
|
Version: 0~%timestamp
|
||
|
Release: 0
|
||
|
License: LGPL-3.0+
|
||
|
Summary: Library to support the Windows Resource Compiler format
|
||
|
Group: Productivity/File utilities
|
||
|
Url: http://code.google.com/p/libexe/
|
||
|
|
||
|
#DL-URL: http://libexe.googlecode.com/files/libwrc-experimental-20130319.tar.gz
|
||
|
Source: %name-experimental-%timestamp.tar.xz
|
||
|
BuildRequires: pkg-config
|
||
|
BuildRequires: xz
|
||
|
#BuildRequires: pkgconfig(libbfio) >= 20120426
|
||
|
#BuildRequires: pkgconfig(libcdata) >= 20120425
|
||
|
#BuildRequires: pkgconfig(libcerror) >= 20120425
|
||
|
#BuildRequires: pkgconfig(libcfile) >= 20120526
|
||
|
#BuildRequires: pkgconfig(libclocale) >= 20120425
|
||
|
#BuildRequires: pkgconfig(libcnotify) >= 20120425
|
||
|
#BuildRequires: pkgconfig(libcpath) >= 20120701
|
||
|
BuildRequires: pkgconfig(libcsplit) >= 20120701
|
||
|
#BuildRequires: pkgconfig(libcstring) >= 20120425
|
||
|
#BuildRequires: pkgconfig(libexe) >= 20120405
|
||
|
#BuildRequires: pkgconfig(libfcache) >= 20120405
|
||
|
#BuildRequires: pkgconfig(libfdata) >= 20120405
|
||
|
BuildRequires: pkgconfig(libfdatetime) >= 20120522
|
||
|
BuildRequires: pkgconfig(libfguid) >= 20120426
|
||
|
#BuildRequires: pkgconfig(libfvalue) >= 20120428
|
||
|
#BuildRequires: pkgconfig(libfwevt) >= 20120426
|
||
|
#BuildRequires: pkgconfig(libfwnt) >= 20120426
|
||
|
#BuildRequires: pkgconfig(libuna) >= 20120425
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
|
||
|
%description
|
||
|
libwrc is a library to support the Windows Resource Compiler format.
|
||
|
|
||
|
%package -n %lname
|
||
|
Summary: Library to support the Windows Resource Compiler format
|
||
|
Group: System/Libraries
|
||
|
|
||
|
%description -n %lname
|
||
|
libwrc is a library to support the Windows Resource Compiler format.
|
||
|
|
||
|
%package devel
|
||
|
Summary: Development files for libwrc, a Windows Resouce Compiler format support library
|
||
|
Group: Development/Libraries/C and C++
|
||
|
Requires: %lname = %version
|
||
|
|
||
|
%description devel
|
||
|
libwrc is a library to support the Windows Resource Compiler format.
|
||
|
|
||
|
This subpackage contains libraries and header files for developing
|
||
|
applications that want to make use of libwrc.
|
||
|
|
||
|
%package tools
|
||
|
Summary: Utilities to inspect Windows Resource Compiler files
|
||
|
Group: Productivity/File utilities
|
||
|
|
||
|
%description tools
|
||
|
This subpackage provides the utilities from libwrc, which allows for
|
||
|
reading Windows Resource Compiler files.
|
||
|
|
||
|
%prep
|
||
|
%setup -qn libwrc-%timestamp
|
||
|
|
||
|
%build
|
||
|
%configure --disable-static --enable-wide-character-type
|
||
|
make %{?_smp_mflags}
|
||
|
|
||
|
%install
|
||
|
make install DESTDIR="%buildroot"
|
||
|
rm -f "%buildroot/%_libdir"/*.la
|
||
|
|
||
|
%post -n %lname -p /sbin/ldconfig
|
||
|
%postun -n %lname -p /sbin/ldconfig
|
||
|
|
||
|
%files -n %lname
|
||
|
%defattr(-,root,root)
|
||
|
%doc AUTHORS COPYING ChangeLog
|
||
|
%_libdir/libwrc.so.1*
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
%_includedir/libwrc*
|
||
|
%_libdir/libwrc.so
|
||
|
%_libdir/pkgconfig/libwrc.pc
|
||
|
%_mandir/man3/libwrc.3*
|
||
|
|
||
|
%files tools
|
||
|
%defattr(-,root,root)
|
||
|
%_bindir/wrcinfo
|
||
|
%_mandir/man1/wrcinfo.1*
|
||
|
|
||
|
%changelog
|