rpms/liblqr-1/devel liblqr-1-0.1.0-pkgconfig.patch, NONE, 1.1 liblqr-1.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Alexandru Ciobanu (ics) fedora-extras-commits at redhat.com
Sun Mar 2 15:54:35 UTC 2008


Author: ics

Update of /cvs/pkgs/rpms/liblqr-1/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27887/devel

Modified Files:
	.cvsignore sources 
Added Files:
	liblqr-1-0.1.0-pkgconfig.patch liblqr-1.spec 
Log Message:
initial import


liblqr-1-0.1.0-pkgconfig.patch:

--- NEW FILE liblqr-1-0.1.0-pkgconfig.patch ---
--- liblqr-1-0.1.0/lqr-1.pc.in.debug	2007-11-28 07:40:01.000000000 +0900
+++ liblqr-1-0.1.0/lqr-1.pc.in	2008-02-26 03:26:13.000000000 +0900
@@ -7,5 +7,5 @@
 Description: LiquidRescale seam-carving library
 Requires: glib-2.0
 Version: @PACKAGE_VERSION@
-Libs: -L${libdir}/@LIBRARY_SNAME@ -l at LIBRARY_SNAME@
+Libs: -l at LIBRARY_SNAME@
 Cflags: -I${includedir}/@LIBRARY_SNAME@


--- NEW FILE liblqr-1.spec ---
%define tarversion 1

Name:           liblqr-1
Version:        0.1.0
Release:        5%{?dist}
Summary:        LiquidRescale library
Group:          System Environment/Libraries
License:        GPLv3
URL:            http://liquidrescale.wikidot.com/
Source0:        http://liblqr.wikidot.com/local--files/en:download-page/%{name}-%{version}-%{tarversion}.tar.gz
Patch0:		liblqr-1-0.1.0-pkgconfig.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)
BuildRequires:  glib2-devel

%description
The LiquidRescale (lqr) library provides a C/C++ API for
performing non-uniform resizing of images by the seam-carving
technique.

%package devel
Summary:        LiquidRescale library  development kit
Group:          Development/Libraries
License:        GPLv3
Requires:       %{name} = %{version}-%{release}
Requires:       glib2-devel, pkgconfig

%description devel
The libqr-devel package contains the header files
needed to develop applications with liblqr


%prep
%setup -q

# Patches

%patch -p1 -b .pkgconfig

%build
export LDFLAGS="`pkg-config --libs glib-2.0` -lm"
%configure
%{__make} %{?_smp_mflags}


%install
%{__rm} -rf $RPM_BUILD_ROOT
%{__make} install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"

# remove .la files
find $RPM_BUILD_ROOT -name \*.la -exec %{__rm} -f {} \;

# Fedora MUST
%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%clean
%{__rm} -rf $RPM_BUILD_ROOT



%files 
%defattr(-,root,root,-)
%doc README ChangeLog COPYING
%{_libdir}/liblqr-1.so.0.0.0
%{_libdir}/liblqr-1.so.0

%files devel
%defattr (-, root, root,-)
%doc docs/liblqr_manual.docbook
%{_libdir}/liblqr-1.so
%{_includedir}/lqr-1/
%{_libdir}/pkgconfig/lqr-1.pc



%changelog

* Fri Feb 29 2008 Alexandru Ciobanu <alex at tvtransilvania.ro> - 0.1.0-5

- Applied pkgconfig patch to remove unneeded directories.
- Changed permissions of files to 0644.
- Fixed minor typos.

* Mon Feb 25 2008 Alexandru Ciobanu <alex at tvtransilvania.ro> - 0.1.0-4

- Cleaned SPEC file, again.

* Wed Feb 20 2008 Alexandru Ciobanu <alex at tvtransilvania.ro> - 0.1.0-3

- Cleaned SPEC file.

* Tue Feb 19 2008 Alexandru Ciobanu <alex at tvtransilvania.ro> - 0.1.0-2

- Fixed licensing issue.

* Thu Jan 17 2008 Alexandru Ciobanu <alex at tvtransilvania.ro> - 0.1.0-1

- Update to latest upstream release.
- Added glib BuildRequires.

* Mon Dec 10 2007 Alexandru Ciobanu <alex at tvtransilvania.ro> - 0.1.0-0

- Initial RPM release.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/liblqr-1/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	1 Mar 2008 18:34:24 -0000	1.1
+++ .cvsignore	2 Mar 2008 15:54:02 -0000	1.2
@@ -0,0 +1 @@
+liblqr-1-0.1.0-1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/liblqr-1/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	1 Mar 2008 18:34:24 -0000	1.1
+++ sources	2 Mar 2008 15:54:02 -0000	1.2
@@ -0,0 +1 @@
+6c8be281b11b9782e45fa7f401e05087  liblqr-1-0.1.0-1.tar.gz




More information about the fedora-extras-commits mailing list