rpms/xvattr/devel xvattr.spec,1.11,1.12

Matthias Saou (thias) fedora-extras-commits at redhat.com
Tue Jun 19 18:27:23 UTC 2007


Author: thias

Update of /cvs/extras/rpms/xvattr/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14304

Modified Files:
	xvattr.spec 
Log Message:
Minor cleanups.



Index: xvattr.spec
===================================================================
RCS file: /cvs/extras/rpms/xvattr/devel/xvattr.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- xvattr.spec	28 Aug 2006 16:40:24 -0000	1.11
+++ xvattr.spec	19 Jun 2007 18:26:47 -0000	1.12
@@ -1,19 +1,14 @@
 Summary: Utility for getting and setting Xv attributes
 Name: xvattr
 Version: 1.3
-Release: 11%{?dist}
+Release: 12%{?dist}
 License: GPL
 Group: User Interface/X
 URL: http://www.dtek.chalmers.se/groups/dvd/
 Source: http://www.dtek.chalmers.se/groups/dvd/dist/xvattr-%{version}.tar.gz
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires: gtk+-devel
-# Use monolithic X up to FC4, and modular X for FC5+ and non-Fedora
-%if %{!?fedora:6}%{?fedora} >= 5
 BuildRequires: libXt-devel, libXv-devel
-%else
-BuildRequires: xorg-x11-devel
-%endif
 
 %description
 This program is used for getting and setting Xv attributes such as
@@ -21,9 +16,12 @@
 
 
 %prep
-%setup
+%setup -q
 # Append GTK CFLAGS to CFLAGS instead of overwriting CFLAGS (optflags get used)
 %{__perl} -pi -e 's|^CFLAGS = (.*)|CFLAGS += $1|g' Makefile*
+# Convert man page to UTF-8
+iconv -f iso8859-1 -t utf-8 -o tmp xvattr.1
+%{__mv} -f tmp xvattr.1
 
 
 %build
@@ -33,7 +31,7 @@
 
 %install
 %{__rm} -rf %{buildroot}
-%makeinstall
+%{__make} install DESTDIR=%{buildroot}
 
 
 %clean
@@ -41,13 +39,17 @@
 
 
 %files
-%defattr(-, root, root, 0755)
+%defattr(-,root,root,-)
 %doc AUTHORS COPYING ChangeLog NEWS README
 %{_bindir}/*
-%{_mandir}/man?/*
+%{_mandir}/man1/*
 
 
 %changelog
+* Tue Jun 19 2007 Matthias Saou <http://freshrpms.net/> 1.3-12
+- Switch to using DESTDIR install method.
+- Convert man page to UTF-8... not?
+
 * Mon Aug 28 2006 Matthias Saou <http://freshrpms.net/> 1.3-11
 - FC6 rebuild.
 




More information about the fedora-extras-commits mailing list