rpms/poster/FC-6 poster.spec,1.2,1.3

Lubomir Kundrak (lkundrak) fedora-extras-commits at redhat.com
Mon Aug 27 10:27:08 UTC 2007


Author: lkundrak

Update of /cvs/extras/rpms/poster/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7856

Modified Files:
	poster.spec 
Log Message:
Pulling changes from devel.
These mostly tidy up the SPEC, fix use of build flags and change the
License tag to conform the new guidelines.



Index: poster.spec
===================================================================
RCS file: /cvs/extras/rpms/poster/FC-6/poster.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- poster.spec	7 Sep 2006 21:39:19 -0000	1.2
+++ poster.spec	27 Aug 2007 10:26:35 -0000	1.3
@@ -1,46 +1,50 @@
-Summary: Scales PostScript images to span multiple pages
-Name: poster
-Version: 20060221
-Release: 3
-License: GPL
-Group: Applications/Publishing
-Source: ftp://ftp.kde.org/pub/kde/printing/poster.tar.bz2
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-URL: http://printing.kde.org/downloads/
+Summary:        Scales PostScript images to span multiple pages
+Name:           poster
+Version:        20060221
+Release:        4%{?dist}
+License:        GPLv2
+Group:          Applications/Publishing
+Source:         ftp://ftp.kde.org/pub/kde/printing/%{name}.tar.bz2
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+URL:            http://printing.kde.org/downloads/
 
 %description
 Poster scales PostScript images to a larger size, and prints them on
 larger media and/or tiles them to print on multiple sheets.
 
 %prep
-
-%setup
+%setup -q
 
 %build
-make %{?_smp_mflags}
+# The included Makefile is badly written
+%{__cc} %{optflags} -lm -o poster poster.c
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -D poster ${RPM_BUILD_ROOT}%{_bindir}/poster
-gzip poster.1
-install -D poster.1.gz ${RPM_BUILD_ROOT}%{_mandir}/man1/poster.1.gz
+%{__mkdir} -p $RPM_BUILD_ROOT/%{_bindir}
+%{__install} poster $RPM_BUILD_ROOT/%{_bindir}
+%{__mkdir} -p $RPM_BUILD_ROOT/%{_mandir}/man1
+%{__install} -m644 poster.1 $RPM_BUILD_ROOT/%{_mandir}/man1
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
-%defattr(-, root, root)
-%{_mandir}/man1/*
+%defattr(-,root,root,-)
+%{_mandir}/man1/poster.1*
 %{_bindir}/poster
-
-%doc	COPYING ChangeLog README manual.ps
+%doc COPYING ChangeLog README manual.ps
 
 %changelog
-* Thu Sep 07 2006 W. Michael Petullo <mike[@]flyn.org> - 20060221-3
-   - Rebuild for FC6.
+* Mon Aug 27 2007 Lubomir Kundrak <lkundrak at redhat.com> 20060221-4
+- Multiple minor changes to clean up the SPEC to conform guidelines
+- Fix the License tag
+
+* Thu Sep 07 2006 W. Michael Petullo <mike[@]flyn.org> 20060221-3
+- Rebuild for FC6.
 
-* Sat Jul 08 2006 W. Michael Petullo <mike[@]flyn.org> - 20060221-2
-   - Fixed installation of man page.
+* Sat Jul 08 2006 W. Michael Petullo <mike[@]flyn.org> 20060221-2
+- Fixed installation of man page.
 
-* Tue Jul 04 2006 W. Michael Petullo <mike[@]flyn.org> - 20060221-1
-   - Initial RPM.
+* Tue Jul 04 2006 W. Michael Petullo <mike[@]flyn.org> 20060221-1
+- Initial RPM.




More information about the fedora-extras-commits mailing list