rpms/lasi/F-8 .cvsignore,1.3,1.4 lasi.spec,1.2,1.3 sources,1.3,1.4

Orion Poplawski (orion) fedora-extras-commits at redhat.com
Sat Feb 9 16:37:33 UTC 2008


Author: orion

Update of /cvs/pkgs/rpms/lasi/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31255

Modified Files:
	.cvsignore lasi.spec sources 
Log Message:
* Sat Feb  9 2008 - Orion Poplawski <orion at cora.nwra.com> - 1.1.0-1
- Update to 1.1.0



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/lasi/F-8/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- .cvsignore	30 Aug 2006 03:19:40 -0000	1.3
+++ .cvsignore	9 Feb 2008 16:36:57 -0000	1.4
@@ -1 +1 @@
-lasi-1.0.6.tar.gz
+libLASi-1.1.0.tar.gz


Index: lasi.spec
===================================================================
RCS file: /cvs/pkgs/rpms/lasi/F-8/lasi.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- lasi.spec	30 Aug 2006 03:19:40 -0000	1.2
+++ lasi.spec	9 Feb 2008 16:36:57 -0000	1.3
@@ -1,15 +1,17 @@
 Name:           lasi
-Version:        1.0.6
+Version:        1.1.0
 Release:        1%{?dist}
 Summary:        C++ library for creating Postscript documents
 
 Group:          Development/Libraries
 License:        LGPL
 URL:            http://www.unifont.org/lasi/
-Source0:        http://www.unifont.org/lasi/download/lasi-%{version}.tar.gz
+Source0:        http://downloads.sourceforge.net/lasi/libLASi-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-BuildRequires:  pango-devel
+BuildRequires:  pango-devel, cmake
+# For testing
+BuildRequires:  dejavu-fonts
 
 
 %description
@@ -41,18 +43,29 @@
 
 
 %prep
-%setup -q
+%setup -q -n libLASi-%{version}
 
 
 %build
-%configure --disable-static
-make %{?_smp_mflags}
+mkdir fedora
+cd fedora
+export CFLAGS="$RPM_OPT_FLAGS"
+export CXXFLAGS="$RPM_OPT_FLAGS"
+export FFLAGS="$RPM_OPT_FLAGS"
+%cmake ..
+make VERBOSE=1 %{?_smp_mflags}
 
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
-rm $RPM_BUILD_ROOT%{_libdir}/libLASi.la
+cd fedora
+make install DESTDIR=$RPM_BUILD_ROOT VERBOSE=1
+
+
+%check
+cd fedora
+ctest --verbose
+
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -72,14 +85,16 @@
 
 %files devel
 %defattr(-,root,root,-)
-%doc doc examples/*
 %{_includedir}/LASi.h
 %{_libdir}/libLASi.so
 %{_libdir}/pkgconfig/lasi.pc
-
+%doc %{_datadir}/lasi1.1.0/
 
 
 %changelog
+* Sat Feb  9 2008 - Orion Poplawski <orion at cora.nwra.com> - 1.1.0-1
+- Update to 1.1.0
+
 * Tue Aug 29 2006 - Orion Poplawski <orion at cora.nwra.com> - 1.0.6-1
 - Update to 1.0.6
 - Remove pkg-config patch applied upstream


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/lasi/F-8/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sources	30 Aug 2006 03:19:40 -0000	1.3
+++ sources	9 Feb 2008 16:36:57 -0000	1.4
@@ -1 +1 @@
-2afd4359c2708949e8aa13ab9944ce7a  lasi-1.0.6.tar.gz
+f18091569ed4fface75453b097c67459  libLASi-1.1.0.tar.gz




More information about the fedora-extras-commits mailing list